public static enum SoBBox.Modes extends java.lang.Enum<SoBBox.Modes> implements IntegerValuedEnum
Enum Constant and Description |
---|
DISABLE
The node doesn't do anything.
|
NO_BOUNDING_BOX
SoGetBoundingBoxAction will ignore subsequent nodes in this portion of the scene graph (as if the nodes don't exist). |
USER_DEFINED
SoGetBoundingBoxAction will ignore subsequent nodes in this portion of the scene graph and use the box specified in the boundingBox field as the bounding box of those nodes. |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoBBox.Modes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoBBox.Modes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoBBox.Modes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoBBox.Modes DISABLE
public static final SoBBox.Modes NO_BOUNDING_BOX
SoGetBoundingBoxAction
will ignore subsequent nodes in this portion of the scene graph (as if the nodes don't exist).public static final SoBBox.Modes USER_DEFINED
SoGetBoundingBoxAction
will ignore subsequent nodes in this portion of the scene graph and use the box specified in the boundingBox field as the bounding box of those nodes.
When the complexity type is BOUNDING_BOX (see SoComplexity
), SoGLRenderAction
will ignore subsequent nodes in this portion of the scene graph and render the box specified in the boundingBox field.public static SoBBox.Modes[] values()
for (SoBBox.Modes c : SoBBox.Modes.values()) System.out.println(c);
public static SoBBox.Modes 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 nullpublic static SoBBox.Modes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com