Package com.openinventor.volumeviz.nodes
Enum SoVolumeRender.AbortCodes
- java.lang.Object
-
- java.lang.Enum<SoVolumeRender.AbortCodes>
-
- com.openinventor.volumeviz.nodes.SoVolumeRender.AbortCodes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoVolumeRender.AbortCodes>
- Enclosing class:
- SoVolumeRender
public static enum SoVolumeRender.AbortCodes extends java.lang.Enum<SoVolumeRender.AbortCodes> implements IntegerValuedEnum
Abort code for callback.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORT
The render action of theSoVolumeRender
node is aborted.CONTINUE
Continue rendering as usual.SKIP
The current slice is not drawn.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoVolumeRender.AbortCodes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoVolumeRender.AbortCodes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoVolumeRender.AbortCodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final SoVolumeRender.AbortCodes CONTINUE
Continue rendering as usual.
-
ABORT
public static final SoVolumeRender.AbortCodes ABORT
The render action of theSoVolumeRender
node is aborted. The render action continues for the remaining part of the scene graph.
-
SKIP
public static final SoVolumeRender.AbortCodes SKIP
The current slice is not drawn. Rendering continues with the next slice.
-
-
Method Detail
-
values
public static SoVolumeRender.AbortCodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoVolumeRender.AbortCodes c : SoVolumeRender.AbortCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoVolumeRender.AbortCodes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoVolumeRender.AbortCodes valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-