Package com.openinventor.volumeviz.nodes
Enum SoVolumeRender.LowResModes
- java.lang.Object
-
- java.lang.Enum<SoVolumeRender.LowResModes>
-
- com.openinventor.volumeviz.nodes.SoVolumeRender.LowResModes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoVolumeRender.LowResModes>
- Enclosing class:
- SoVolumeRender
public static enum SoVolumeRender.LowResModes extends java.lang.Enum<SoVolumeRender.LowResModes> implements IntegerValuedEnum
Method to use when moving in low resolution. Used withlowResMode
field.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECREASE_NONE
No low resolution mode when moving.DECREASE_SCREEN_RESOLUTION
Downscale the screen resolution of the volume when moving by the factor defined inlowScreenResolutionScale
.DECREASE_SLICES
Decrease the number of samples according toSoComplexity.value
when moving.
-
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.LowResModes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoVolumeRender.LowResModes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoVolumeRender.LowResModes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECREASE_NONE
public static final SoVolumeRender.LowResModes DECREASE_NONE
No low resolution mode when moving.
-
DECREASE_SLICES
public static final SoVolumeRender.LowResModes DECREASE_SLICES
Decrease the number of samples according toSoComplexity.value
when moving. It has no effect ifnumSlicesControl
is set to AUTOMATIC because this mode always uses theSoComplexity
node to compute the number of samples to draw.
-
DECREASE_SCREEN_RESOLUTION
public static final SoVolumeRender.LowResModes DECREASE_SCREEN_RESOLUTION
Downscale the screen resolution of the volume when moving by the factor defined inlowScreenResolutionScale
.
-
-
Method Detail
-
values
public static SoVolumeRender.LowResModes[] 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.LowResModes c : SoVolumeRender.LowResModes.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.LowResModes 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.LowResModes 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.
-
-