public class SoIntersectionDetectionAction extends SoAction
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 callbacks when there is an intersection between two objects.
See also:
SoCollisionManager
, SoWinCollisionViewer
Modifier and Type | Class and Description |
---|---|
static class |
SoIntersectionDetectionAction.Axis
Axis.
|
static class |
SoIntersectionDetectionAction.Positions
Position.
|
static class |
SoIntersectionDetectionAction.Resps
Types definitions.
|
SoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndices
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoIntersectionDetectionAction()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
enableElement(java.lang.Class<? extends Inventor> t,
int stkIndex) |
static float |
getIntersectEpsilon()
Queries epsilon (small value) to be used in the collision computation.
|
static void |
setIntersectEpsilon(float epsilon)
Sets epsilon (small value) to be used in the collision computation.
|
apply, apply, clearApplyResult, forwardTraversal, getContinueActionInBranchFlag, getCurPath, getDistribMode, getNodeAppliedTo, getOriginalPathListAppliedTo, getPathAppliedTo, getPathCode, getPathListAppliedTo, getPipeId, getSceneManager, getState, getWhatAppliedTo, hasTerminated, invalidateState, isBeingApplied, isLastPathListAppliedTo, isUsingAlternateRep, nullAction, postDelayedTraversal, preDelayedTraversal, resetContinueActionInBranchFlag, setPipeId, setSceneManager, setUpState, stopActionInBranch, traverse, useAlternateRep
dispose, getNativeResourceHandle
public SoIntersectionDetectionAction()
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
public static void setIntersectEpsilon(float epsilon)
public static float getIntersectEpsilon()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com