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.ActiveListItem |
static class |
SoIntersectionDetectionAction.Axis
Axis.
|
static class |
SoIntersectionDetectionAction.CoupleTableItem |
static class |
SoIntersectionDetectionAction.Positions
Position.
|
static class |
SoIntersectionDetectionAction.Resps
Types definitions.
|
static class |
SoIntersectionDetectionAction.ShapeInformationItem |
SoAction.AppliedCodes, SoAction.DistribModes, SoAction.PathCodes, SoAction.PathIndices
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
ABORT
Deprecated.
Use
SoIntersectionDetectionAction.Resps.ABORT instead. |
static int |
BEGIN
Deprecated.
Use
SoIntersectionDetectionAction.Positions.BEGIN instead. |
static int |
END
Deprecated.
Use
SoIntersectionDetectionAction.Positions.END instead. |
static int |
NEXT_PRIMITIVE
Deprecated.
Use
SoIntersectionDetectionAction.Resps.NEXT_PRIMITIVE instead. |
static int |
NEXT_SHAPE
Deprecated.
Use
SoIntersectionDetectionAction.Resps.NEXT_SHAPE instead. |
static int |
X_AXIS
Deprecated.
Use
SoIntersectionDetectionAction.Axis.X_AXIS instead. |
static int |
Y_AXIS
Deprecated.
Use
SoIntersectionDetectionAction.Axis.Y_AXIS instead. |
static int |
Z_AXIS
Deprecated.
Use
SoIntersectionDetectionAction.Axis.Z_AXIS instead. |
ALL, BELOW_PATH, CLUSTER_ONLY, IN_PATH, LOCAL_ONLY, NO_PATH, NODE, OFF_PATH, PATH, PATH_LIST
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) |
apply, apply, clearApplyResult, forwardTraversal, getContinueActionInBranchFlag, getCurPath, 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, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int NEXT_PRIMITIVE
SoIntersectionDetectionAction.Resps.NEXT_PRIMITIVE
instead.@Deprecated public static final int NEXT_SHAPE
SoIntersectionDetectionAction.Resps.NEXT_SHAPE
instead.@Deprecated public static final int ABORT
SoIntersectionDetectionAction.Resps.ABORT
instead.@Deprecated public static final int X_AXIS
SoIntersectionDetectionAction.Axis.X_AXIS
instead.@Deprecated public static final int Y_AXIS
SoIntersectionDetectionAction.Axis.Y_AXIS
instead.@Deprecated public static final int Z_AXIS
SoIntersectionDetectionAction.Axis.Z_AXIS
instead.@Deprecated public static final int BEGIN
SoIntersectionDetectionAction.Positions.BEGIN
instead.@Deprecated public static final int END
SoIntersectionDetectionAction.Positions.END
instead.public SoIntersectionDetectionAction()
public static void enableElement(java.lang.Class<? extends Inventor> t, int stkIndex)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com