Package com.openinventor.volumeviz.nodes
Enum Class SoVolumeRender.LowResModes
java.lang.Object
java.lang.Enum<SoVolumeRender.LowResModes>
com.openinventor.volumeviz.nodes.SoVolumeRender.LowResModes
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<SoVolumeRender.LowResModes>
,Constable
- Enclosing class:
SoVolumeRender
public static enum SoVolumeRender.LowResModes
extends Enum<SoVolumeRender.LowResModes>
implements IntegerValuedEnum
Method to use when moving in low resolution.
Used with
lowResMode
field.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo low resolution mode when moving.Downscale the screen resolution of the volume when moving by the factor defined inlowScreenResolutionScale
.Decrease the number of samples according toSoComplexity.value
when moving. -
Method Summary
Modifier and TypeMethodDescriptionint
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
Returns the enum constant of this class with the specified name.static SoVolumeRender.LowResModes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
DECREASE_NONE
No low resolution mode when moving. -
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
Downscale the screen resolution of the volume when moving by the factor defined inlowScreenResolutionScale
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
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.
-