WSM.InferenceEngine namespace.
Functions | |
json | FindInputPoint (pickRay, previousInputPoint) |
FindInputPoint Parameters: In: pickRay, previousInputPoint Out: InputPoint | |
json | Reset () |
Reset Parameters: In: Out: JSON | |
json | InputPointsAreEqual (inputPoint1, inputPoint2) |
InputPointsEqual Parameters: In: inputPoint1, inputPoint2 Out: bool | |
json | DisableHoveredInferences (disable) |
DisableHoveredInferences is a way to permanently disable line inferences. | |
json | PushHoveredLineInference (inference) |
PushHoveredLineInference pushes the given lineInf onto the stack of hovered line inferences. | |
json | PushHoveredPointInference (inference) |
PushHoveredPointInference pushes the given ptInf onto the stack of hovered point inferences. | |
json | AddInference (arg1, arg2, arg3, arg4) |
json | AddPointInference (inference) |
AddPointInference adds a custom point inference. | |
json | AddLineInference (inference) |
AddLineInference adds a custom line inference. | |
json | AddPlaneInference (inference) |
AddPlaneInference adds a custom plane inference. | |
json | LockInference (inference) |
LockInference will cause the InputPointFinder to constrain the resulting InputPoint that it finds to the given Inference. | |
json | ReleaseLockedInference () |
ReleaseLockedInference clears the locked Inference. | |
json | HaveLockedInference () |
HaveLockedInference checkes whether there is a locked inference. | |
json | SetVertexSnappingOnSplines (snap) |
SetVertexSnappingOnSplines- Set the flag to control turning on / off Vertex snapping on curves. | |
json | SetUseExternalInputPointFinder (use) |
SetUseExternalInputPointFinder- Set the flag to control using the external input point finder. | |
json | SetUseExternalInputPointFinderForTesting (use) |
SetUseExternalInputPointFinderForTesting- Set the flag to control using the external input point finder. | |
json | IgnoreObject (nObjectID, ignore) |
IgnoreObject- Add given object to the ignored objects set. | |
json | ClearIgnoreObjects () |
ClearIgnoreObjects- Clear the ignored objects set. | |
json | 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 | LineInference (line3d, lineInferenceType) |
LineInference- Constructor for a line inference object Parameters: In: line3d In: LineInferenceType Out: line inference | |
json | PointInference (point3d) |
PointInference- Constructor for a point inference object Parameters: In: point3d Out: point inference | |
json | InputPoint (point3d) |
InputPoint- Constructor for an InputPoint object Parameters: In: point3d Out: InputPoint | |
json | AddLineInferencesForObject (groupInstancePath, noLimit, alwaysShowInference) |
AddLineInferencesForObject- Add line inferences for every Edge associated with the given GroupInstancePath. | |
json | SetHoveredInferencesEnabled (enabled) |
SetHoveredInferencesEnabled disables hovered inferences until Reset is called. | |
json | ClearCustomPointInferences () |
ClearCustomPointInferences clears all custom point inferences Parameters: In: Out: JSON_UNDEFINED | |
json | ClearCustomLineInferences () |
ClearCustomLineInferences clears all custom line inferences Parameters: In: Out: JSON_UNDEFINED | |
json | ClearCustomPlaneInference () |
ClearCustomPlaneInference clears the custom plane inference Parameters: In: Out: JSON_UNDEFINED | |
json | OnTimerTick () |
OnTimerTick updates things like hovered inferences and tooltips Parameters: In: Out: JSON_UNDEFINED | |
json | 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 | SetTopLevelHistory (nHistoryID) |
SetTopLevelHistory sets the History that FindInputPoint operates on. | |
json | GetTopLevelHistory () |
GetTopLevelHistory gets the top-level History that FindInputPoint operates on. | |
json | SetEditHistory (nHistoryID) |
SetEditHistory sets the History that is being edited. | |
json | GetEditHistory () |
GetEditHistory gets the History that is being edited. | |
json | DebugInferencingAppHelper (bAlsoCallOriginalAppHelper, bAlsoCallOriginalCamera, bReturnOriginal) |
DebugInferencingAppHelper allows control whether to call the delegate IAppHelper. | |
json | SetCameraData (cameraData) |