SoIntersectionDetectionAction Class |
Class to detect intersections.
Namespace: OIV.Inventor.Collision
The SoIntersectionDetectionAction type exposes the following members.
Name | Description | |
---|---|---|
![]() | SoIntersectionDetectionAction | Constructor. |
Name | Description | |
---|---|---|
![]() | AddIntersectionCallback(SoIntersectionDetectionActionIntersectionCB) | Obsolete.
Use Intersection event instead.
Adds a delegate to be invoked when there is an intersection.
|
![]() | AddIntersectionCallback(SoIntersectionDetectionActionIntersectionUserDataCB, Object) | Obsolete. |
![]() | Apply(SoNode) | Initiates an action on the graph defined by a node. |
![]() | Apply(SoPath) | Initiates an action on the graph defined by a path. |
![]() | Apply(SoPathList) | Calls Apply(pathList, false). |
![]() | Apply(SoPathList, Boolean) | Initiates an action on the graph defined by a list of paths. |
![]() | ClearApplyResult | When applied, an action may reference nodes or create objects (e.g. |
![]() ![]() | EnableElement | |
![]() | EnableElements | (Overrides SoActionEnableElements.) |
![]() | Equals | (Inherited from Object.) |
![]() | ForwardTraversal | Traverse a node that is not part of the current scenegraph. |
![]() | GetContinueActionInBranchFlag | This function indicates if the action must stop in the current branch. |
![]() | GetCurPath | (Inherited from SoAction.) |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() ![]() | GetIntersectEpsilon | Obsolete. Queries epsilon (small value) to be used in the collision computation. |
![]() | GetNodeAppliedTo | (Inherited from SoAction.) |
![]() | GetOriginalPathListAppliedTo | (Inherited from SoAction.) |
![]() | GetPathAppliedTo | (Inherited from SoAction.) |
![]() | GetPathCode(SbNativeArrayInt32) | Returns path code based on where current node (the node at the end of the current path) lies with respect to the path(s) the action is being applied to. |
![]() | GetPathCode(SbNativeInt32Array) | Obsolete. Returns path code based on where current node (the node at the end of the current path) lies with respect to the path(s) the action is being applied to. |
![]() | GetPathListAppliedTo | (Inherited from SoAction.) |
![]() | GetPipeId | Gets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. |
![]() | GetSceneManager | Return the SoSceneManager associated with this action. |
![]() | GetState | (Inherited from SoAction.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetWhatAppliedTo | (Inherited from SoAction.) |
![]() | HasTerminated | (Inherited from SoAction.) |
![]() | InvalidateState | Invalidates the current traversal state in the action, forcing it to be recreated when the action is next applied. |
![]() | IsBeingApplied | Returns true if this action is currently being applied. |
![]() | IsLastPathListAppliedTo | (Inherited from SoAction.) |
![]() | IsUsingAlternateRep | Returns true if current action is using alternate representations. |
![]() | PostDelayedTraversal | Method called by SoMultiPassManager after delayed pass traversals. |
![]() | PreDelayedTraversal | Method called by SoMultiPassManager before delayed pass traversals. |
![]() | RemoveIntersectionCallback(SoIntersectionDetectionActionIntersectionCB) | Obsolete.
Use Intersection event instead.
Remove delegate from the invocation list
|
![]() | RemoveIntersectionCallback(SoIntersectionDetectionActionIntersectionUserDataCB) | Obsolete. |
![]() | ResetContinueActionInBranchFlag | This function resets the continue action flag. |
![]() | SetFilterCallback(SoIntersectionDetectionActionFilterCB) | Obsolete.
Use FilterCallback property instead.
Sets a filter which allow the user to continue or not the intersection finding
for a pair of shapes. If the delegate returns true, the action search for real
intersections, else it goes to the next shape pair.
|
![]() | SetFilterCallback(SoIntersectionDetectionActionFilterUserDataCB, Object) | Obsolete.
Use FilterCallback property instead.
|
![]() ![]() | SetIntersectEpsilon | Obsolete. Sets epsilon (small value) to be used in the collision computation. |
![]() | SetPipeId | Sets pipe identifier in the range [1..N] associated to this render action while running a ScaleViz Multipipe configuration. |
![]() | SetSceneManager | Set the scene manager associated with this action (if any ). |
![]() | SetUpState | (Inherited from SoAction.) |
![]() | StopActionInBranch | This function stops the action in the current Scene Graph branch. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Traverse | (Inherited from SoAction.) |
![]() | UseAlternateRep | Tell the action to use alternate representations during traversal when available. |
Name | Description | |
---|---|---|
![]() | FilterCallback | Sets a filter which allow the user to continue or not the intersection finding for a pair of shapes. |
![]() ![]() | M_fIntersectEpsilon |
Name | Description | |
---|---|---|
![]() | Intersection |
This action allows the programmer to analyze a scene graph to know which pairs of objects within the scene intersect.
The action first detects intersections between pairs of bounding boxes. If such an intersection occurs, the programmer can abort the action or allow it to determine if the primitives of the objects actually collide.
The algorithm can call programmer-supplied delegates when there is an intersection between two objects.