Functions | |
json | WSM.InferenceEngine.FindInputPoint (pickRay, previousInputPoint) |
FindInputPoint Parameters: In: pickRay, previousInputPoint Out: InputPoint | |
json | WSM.InferenceEngine.Reset () |
Reset Parameters: In: Out: JSON | |
json | WSM.InferenceEngine.InputPointsAreEqual (inputPoint1, inputPoint2) |
InputPointsEqual Parameters: In: inputPoint1, inputPoint2 Out: bool | |
json | WSM.InferenceEngine.DisableHoveredInferences (disable) |
DisableHoveredInferences is a way to permanently disable line inferences. | |
json | WSM.InferenceEngine.PushHoveredLineInference (inference) |
PushHoveredLineInference pushes the given lineInf onto the stack of hovered line inferences. | |
json | WSM.InferenceEngine.PushHoveredPointInference (inference) |
PushHoveredPointInference pushes the given ptInf onto the stack of hovered point inferences. | |
json | WSM.InferenceEngine.AddInference (arg1, arg2, arg3, arg4) |
json | WSM.InferenceEngine.AddPointInference (inference) |
AddPointInference adds a custom point inference. | |
json | WSM.InferenceEngine.AddLineInference (inference) |
AddLineInference adds a custom line inference. | |
json | WSM.InferenceEngine.AddPlaneInference (inference) |
AddPlaneInference adds a custom plane inference. | |
json | WSM.InferenceEngine.LockInference (inference) |
LockInference will cause the InputPointFinder to constrain the resulting InputPoint that it finds to the given Inference. | |
json | WSM.InferenceEngine.ReleaseLockedInference () |
ReleaseLockedInference clears the locked Inference. | |
json | WSM.InferenceEngine.HaveLockedInference () |
HaveLockedInference checkes whether there is a locked inference. | |
json | WSM.InferenceEngine.SetVertexSnappingOnSplines (snap) |
SetVertexSnappingOnSplines- Set the flag to control turning on / off Vertex snapping on curves. | |
json | WSM.InferenceEngine.SetUseExternalInputPointFinder (use) |
SetUseExternalInputPointFinder- Set the flag to control using the external input point finder. | |
json | WSM.InferenceEngine.SetUseExternalInputPointFinderForTesting (use) |
SetUseExternalInputPointFinderForTesting- Set the flag to control using the external input point finder. | |
json | WSM.InferenceEngine.IgnoreObject (nObjectID, ignore) |
IgnoreObject- Add given object to the ignored objects set. | |
json | WSM.InferenceEngine.ClearIgnoreObjects () |
ClearIgnoreObjects- Clear the ignored objects set. | |
json | WSM.InferenceEngine.UseAsObscuringObject (nObjectID, andChildren) |
UseAsObscuringObject- This, unlike ignoreObject, will not use picks against this object, but it will also not try to pick farther into the scene, defaulting to the ground plane after a hit Parameters: In: nObjectID (size_t) In: andChildren (bool) Out: JSON_UNDEFINED | |
json | WSM.InferenceEngine.LineInference (line3d, lineInferenceType) |
LineInference- Constructor for a line inference object Parameters: In: line3d In: LineInferenceType Out: line inference | |
json | WSM.InferenceEngine.PointInference (point3d) |
PointInference- Constructor for a point inference object Parameters: In: point3d Out: point inference | |
json | WSM.InferenceEngine.InputPoint (point3d) |
InputPoint- Constructor for an InputPoint object Parameters: In: point3d Out: InputPoint | |
json | WSM.InferenceEngine.AddLineInferencesForObject (groupInstancePath, noLimit, alwaysShowInference) |
AddLineInferencesForObject- Add line inferences for every Edge associated with the given GroupInstancePath. | |
json | WSM.InferenceEngine.SetHoveredInferencesEnabled (enabled) |
SetHoveredInferencesEnabled disables hovered inferences until Reset is called. | |
json | WSM.InferenceEngine.ClearCustomPointInferences () |
ClearCustomPointInferences clears all custom point inferences Parameters: In: Out: JSON_UNDEFINED | |
json | WSM.InferenceEngine.ClearCustomLineInferences () |
ClearCustomLineInferences clears all custom line inferences Parameters: In: Out: JSON_UNDEFINED | |
json | WSM.InferenceEngine.ClearCustomPlaneInference () |
ClearCustomPlaneInference clears the custom plane inference Parameters: In: Out: JSON_UNDEFINED | |
json | WSM.InferenceEngine.OnTimerTick () |
OnTimerTick updates things like hovered inferences and tooltips Parameters: In: Out: JSON_UNDEFINED | |
json | WSM.InferenceEngine.UseWSMIAppHelper (bUseFormItIAppHelper, bUseFormItICamera) |
Replace the current IAppHelper with InferencingAppHelper If bUseFormItIAppHelper is false, the InferenceEngine will not delegate to the default IAppHelper Parameters: In: bUseFormItIAppHelper (bool) In: bUseFormItICamera (bool) | |
json | WSM.InferenceEngine.SetTopLevelHistory (nHistoryID) |
SetTopLevelHistory sets the History that FindInputPoint operates on. | |
json | WSM.InferenceEngine.GetTopLevelHistory () |
GetTopLevelHistory gets the top-level History that FindInputPoint operates on. | |
json | WSM.InferenceEngine.SetEditHistory (nHistoryID) |
SetEditHistory sets the History that is being edited. | |
json | WSM.InferenceEngine.GetEditHistory () |
GetEditHistory gets the History that is being edited. | |
json | WSM.InferenceEngine.DebugInferencingAppHelper (bAlsoCallOriginalAppHelper, bAlsoCallOriginalCamera, bReturnOriginal) |
DebugInferencingAppHelper allows control whether to call the delegate IAppHelper. | |
json | WSM.InferenceEngine.SetCameraData (cameraData) |
json WSM.InferenceEngine.AddInference | ( | arg1 | , |
arg2 | , | ||
arg3 | , | ||
arg4 | |||
) |
json WSM.InferenceEngine.AddLineInference | ( | inference | ) |
AddLineInference adds a custom line inference.
Parameters: In: "inference" Out: JSON_UNDEFINED
[in] | inference | WSM.IInferencePtr |
json WSM.InferenceEngine.AddLineInferencesForObject | ( | groupInstancePath | , |
noLimit | , | ||
alwaysShowInference | |||
) |
AddLineInferencesForObject- Add line inferences for every Edge associated with the given GroupInstancePath.
Parameters: In: groupInstancePath, noLimit (Optional), alwaysShowInference (Optional) Out: JSON_UNDEFINED
[in] | groupInstancePath | WSM.GroupInstancePath |
[in] | noLimit | (OPTIONAL, default = false) bool |
[in] | alwaysShowInference | (OPTIONAL, default = false) bool |
json WSM.InferenceEngine.AddPlaneInference | ( | inference | ) |
AddPlaneInference adds a custom plane inference.
Parameters: In: "inference" Out: JSON_UNDEFINED
[in] | inference | WSM.IInferencePtr |
json WSM.InferenceEngine.AddPointInference | ( | inference | ) |
AddPointInference adds a custom point inference.
Parameters: In: "inference" Out: JSON_UNDEFINED
[in] | inference | WSM.IInferencePtr |
json WSM.InferenceEngine.ClearCustomLineInferences | ( | ) |
ClearCustomLineInferences clears all custom line inferences Parameters: In: Out: JSON_UNDEFINED
json WSM.InferenceEngine.ClearCustomPlaneInference | ( | ) |
ClearCustomPlaneInference clears the custom plane inference Parameters: In: Out: JSON_UNDEFINED
json WSM.InferenceEngine.ClearCustomPointInferences | ( | ) |
ClearCustomPointInferences clears all custom point inferences Parameters: In: Out: JSON_UNDEFINED
json WSM.InferenceEngine.ClearIgnoreObjects | ( | ) |
ClearIgnoreObjects- Clear the ignored objects set.
Parameters: Out: JSON_UNDEFINED
json WSM.InferenceEngine.DebugInferencingAppHelper | ( | bAlsoCallOriginalAppHelper | , |
bAlsoCallOriginalCamera | , | ||
bReturnOriginal | |||
) |
DebugInferencingAppHelper allows control whether to call the delegate IAppHelper.
This is for debugging so you can compare results to make sure we're getting the same results. If bAlsoCallOriginalICamera is true, InferencingAppHelper will also call the original IAppHelper (FormIt), so you can tell if you're getting the right result. If bReturnOriginal is true, it will return the original IAppHelper result to make sure the results are working, for like running a test. Parameters: In: bAlsoCallOriginalAppHelper (bool) Also call the original IAppHelper to compare at runtime In: bAlsoCallOriginalICamera (bool) Also call the original ICamera to compare at runtime In: bReturnOriginal (bool) Returns the result from the original IAppHelper Out: JSON_UNDEFINED
[in] | bAlsoCallOriginalAppHelper | bool |
[in] | bAlsoCallOriginalCamera | bool |
[in] | bReturnOriginal | bool |
json WSM.InferenceEngine.DisableHoveredInferences | ( | disable | ) |
DisableHoveredInferences is a way to permanently disable line inferences.
Reset won't turn them back on. Only calling DisableHoveredInferences again will turn them back on. This is mainly for testing. Parameters: In: disable Out: bool
[in] | disable | bool |
json WSM.InferenceEngine.FindInputPoint | ( | pickRay | , |
previousInputPoint | |||
) |
FindInputPoint Parameters: In: pickRay, previousInputPoint Out: InputPoint
FindInputPoint Parameters: In: pickRay, previousInputPoint Out: InputPoint
[in] | pickRay | WSM.Utils.PickRay |
[in] | previousInputPoint | (OPTIONAL) WSM.IInputPointPtr |
[in] | pickRay | WSM.Utils.PickRay |
[in] | previousInputPoint | (OPTIONAL) WSM.IInputPointPtr |
json WSM.InferenceEngine.GetEditHistory | ( | ) |
GetEditHistory gets the History that is being edited.
The inference engine does no History management, so Get/SetGetEditHistory only returns what the application says to inference. Parameters: Out: History id
json WSM.InferenceEngine.GetTopLevelHistory | ( | ) |
GetTopLevelHistory gets the top-level History that FindInputPoint operates on.
The inference engine does no History management, so Get/SetTopLevelHistory only returns what the application says to inference. Parameters: Out: History id
json WSM.InferenceEngine.HaveLockedInference | ( | ) |
HaveLockedInference checkes whether there is a locked inference.
Parameters: In: Out: true if there is a locked inference
json WSM.InferenceEngine.IgnoreObject | ( | nObjectID | , |
ignore | |||
) |
IgnoreObject- Add given object to the ignored objects set.
Parameters: In: nObjectID (size_t) In: andChildren (bool) Out: JSON_UNDEFINED
[in] | nObjectID | int |
[in] | ignore | WSM.InputPointFinder.IgnoreType |
json WSM.InferenceEngine.InputPoint | ( | point3d | ) |
InputPoint- Constructor for an InputPoint object Parameters: In: point3d Out: InputPoint
[in] | point3d | WSM.Point3d |
json WSM.InferenceEngine.InputPointsAreEqual | ( | inputPoint1 | , |
inputPoint2 | |||
) |
InputPointsEqual Parameters: In: inputPoint1, inputPoint2 Out: bool
[in] | inputPoint1 | WSM.IInputPointPtr |
[in] | inputPoint2 | WSM.IInputPointPtr |
json WSM.InferenceEngine.LineInference | ( | line3d | , |
lineInferenceType | |||
) |
LineInference- Constructor for a line inference object Parameters: In: line3d In: LineInferenceType Out: line inference
[in] | line3d | WSM.Line3d |
[in] | lineInferenceType | WSM.LineInferenceType |
json WSM.InferenceEngine.LockInference | ( | inference | ) |
LockInference will cause the InputPointFinder to constrain the resulting InputPoint that it finds to the given Inference.
Parameters: In: "inference" Out: JSON_UNDEFINED
[in] | inference | WSM.IInferencePtr |
json WSM.InferenceEngine.OnTimerTick | ( | ) |
OnTimerTick updates things like hovered inferences and tooltips Parameters: In: Out: JSON_UNDEFINED
json WSM.InferenceEngine.PointInference | ( | point3d | ) |
PointInference- Constructor for a point inference object Parameters: In: point3d Out: point inference
[in] | point3d | WSM.Point3d |
json WSM.InferenceEngine.PushHoveredLineInference | ( | inference | ) |
PushHoveredLineInference pushes the given lineInf onto the stack of hovered line inferences.
This method is mainly for scripting the InputPointFinder. Parameters: In: "inference" Out: bool
[in] | inference | WSM.IInferencePtr |
json WSM.InferenceEngine.PushHoveredPointInference | ( | inference | ) |
PushHoveredPointInference pushes the given ptInf onto the stack of hovered point inferences.
This method is mainly for scripting the InputPointFinder. Parameters: In: "inference" Out: JSON_UNDEFINED
[in] | inference | WSM.IInferencePtr |
json WSM.InferenceEngine.ReleaseLockedInference | ( | ) |
ReleaseLockedInference clears the locked Inference.
Parameters: In: Out: JSON_UNDEFINED
json WSM.InferenceEngine.Reset | ( | ) |
Reset Parameters: In: Out: JSON
Reset
Parameters: In: Out: JSON.
json WSM.InferenceEngine.SetCameraData | ( | cameraData | ) |
json WSM.InferenceEngine.SetEditHistory | ( | nHistoryID | ) |
SetEditHistory sets the History that is being edited.
The inference engine does no History management, so Get/SetEditHistory only returns what the application says to inference. Parameters: In: nHistoryID Out: JSON_UNDEFINED
[in] | nHistoryID | int |
json WSM.InferenceEngine.SetHoveredInferencesEnabled | ( | enabled | ) |
SetHoveredInferencesEnabled disables hovered inferences until Reset is called.
Parameters: In: enabled Out: JSON_UNDEFINED
[in] | enabled | bool |
json WSM.InferenceEngine.SetTopLevelHistory | ( | nHistoryID | ) |
SetTopLevelHistory sets the History that FindInputPoint operates on.
The inference engine does no History management, so Get/SetTopLevelHistory only returns what the application says to inference. Parameters: In: nHistoryID Out: JSON_UNDEFINED
[in] | nHistoryID | int |
json WSM.InferenceEngine.SetUseExternalInputPointFinder | ( | use | ) |
SetUseExternalInputPointFinder- Set the flag to control using the external input point finder.
(Used for testing). Parameters: In: use (bool) Out: JSON_UNDEFINED
[in] | use | bool |
json WSM.InferenceEngine.SetUseExternalInputPointFinderForTesting | ( | use | ) |
SetUseExternalInputPointFinderForTesting- Set the flag to control using the external input point finder.
(Used for testing). Parameters: In: use (bool) Out: JSON_UNDEFINED
[in] | use | bool |
json WSM.InferenceEngine.SetVertexSnappingOnSplines | ( | snap | ) |
SetVertexSnappingOnSplines- Set the flag to control turning on / off Vertex snapping on curves.
Parameters: In: snap (bool) Out: JSON_UNDEFINED
[in] | snap | bool |
json WSM.InferenceEngine.UseAsObscuringObject | ( | nObjectID | , |
andChildren | |||
) |
UseAsObscuringObject- This, unlike ignoreObject, will not use picks against this object, but it will also not try to pick farther into the scene, defaulting to the ground plane after a hit Parameters: In: nObjectID (size_t) In: andChildren (bool) Out: JSON_UNDEFINED
[in] | nObjectID | int |
[in] | andChildren | bool |
json WSM.InferenceEngine.UseWSMIAppHelper | ( | bUseFormItIAppHelper | , |
bUseFormItICamera | |||
) |
Replace the current IAppHelper with InferencingAppHelper If bUseFormItIAppHelper is false, the InferenceEngine will not delegate to the default IAppHelper Parameters: In: bUseFormItIAppHelper (bool) In: bUseFormItICamera (bool)
[in] | bUseFormItIAppHelper | (OPTIONAL, default = false) bool |
[in] | bUseFormItICamera | (OPTIONAL, default = false) bool |