public static enum SoRayPickAction.PickingModes extends java.lang.Enum<SoRayPickAction.PickingModes> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
DEFAULT
In the default mode, Inventor computes the intersection of the pick ray with geometry nodes (face, line, point, volume, mesh, etc).
|
POINT_PICKING
In this mode, Inventor finds all the vertices inside the pick radius.
|
| Modifier and Type | Method and Description |
|---|---|
static SoRayPickAction.PickingModes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoRayPickAction.PickingModes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoRayPickAction.PickingModes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoRayPickAction.PickingModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoRayPickAction.PickingModes DEFAULT
SoPickedPoint.getPoint() returns the coordinate of the intersection and SoPickedPoint.getDetail() returns (usually) an SoDetail class specific to the picked geometry.public static final SoRayPickAction.PickingModes POINT_PICKING
SoBufferedShape and classes derived from SoIndexedShape. This mode can be much faster because, for example, it does not need to check for intersection with the triangles of an SoIndexedFaceSet. For pick radius see setRadius(). Specific different behaviors include:
getPoint() returns the coordinate of the vertex, not the intersection with the geometry.
SoPointDetail instead of an SoFaceDetail (or whatever would normally be returned for that geometry).
public static SoRayPickAction.PickingModes[] values()
for (SoRayPickAction.PickingModes c : SoRayPickAction.PickingModes.values()) System.out.println(c);
public static SoRayPickAction.PickingModes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static SoRayPickAction.PickingModes fromValue(int val)
valueOf(int) instead.public static SoRayPickAction.PickingModes valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com