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 withlowResModefield.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECREASE_NONENo low resolution mode when moving.DECREASE_SCREEN_RESOLUTIONDownscale the screen resolution of the volume when moving by the factor defined inlowScreenResolutionScale.DECREASE_SLICESDecrease the number of samples according toSoComplexity.valuewhen moving.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the integer value of the enum constant.static SoVolumeRender.LowResModesvalueOf(int val)Returns the enum constant of this type with the specified integer valuestatic SoVolumeRender.LowResModesvalueOf(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.valuewhen moving. It has no effect ifnumSlicesControlis set to AUTOMATIC because this mode always uses theSoComplexitynode 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:IntegerValuedEnumReturns the integer value of the enum constant.- Specified by:
getValuein interfaceIntegerValuedEnum- Returns:
- the integer value of the enum constant.
-
-