Package com.openinventor.ldm.nodes
Enum Class SoTransferFunction.PredefColorMaps
java.lang.Object
java.lang.Enum<SoTransferFunction.PredefColorMaps>
com.openinventor.ldm.nodes.SoTransferFunction.PredefColorMaps
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<SoTransferFunction.PredefColorMaps>
,Constable
- Enclosing class:
SoTransferFunction
public static enum SoTransferFunction.PredefColorMaps
extends Enum<SoTransferFunction.PredefColorMaps>
implements IntegerValuedEnum
Predefined color maps.
See the
predefColorMap
field for images.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAirway.Airway surfaces.Blue red (opaque).Blue white red (opaque).Glow (opaque).Gray (Synonym of grey)Grey (Default).Intensity (opaque).Intensity reversed (opaque).256 labels (opaque).No color map.Physics (opaque).Seismic.Standard (opaque).Temperature (opaque).VolRenGreen (opacity ramp).VolRenRed (opacity ramp). -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the integer value of the enum constant.valueOf
(int val) Returns the enum constant of this type with the specified integer valueReturns the enum constant of this class with the specified name.static SoTransferFunction.PredefColorMaps[]
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
-
NONE
No color map. -
GREY
Grey (Default). This is constant intensity (white) with a 0..1 alpha ramp. A good initial color map for volume rendering. -
GRAY
Gray (Synonym of grey) -
TEMPERATURE
Temperature (opaque). -
PHYSICS
Physics (opaque). -
STANDARD
Standard (opaque). -
GLOW
Glow (opaque). This is similar to "hot iron" type color maps. -
BLUE_RED
Blue red (opaque). -
SEISMIC
Seismic. -
BLUE_WHITE_RED
Blue white red (opaque). -
INTENSITY
Intensity (opaque). This is an intensity ramp (gray scale) with constant alpha (1). A good initial color map for slice rendering. Appropriate for DICOM Photometric Interpretation mode 'MONOCHROME2' -
LABEL_256
256 labels (opaque). A good color map for rendering label volumes. -
VOLREN_RED
VolRenRed (opacity ramp). Suitable for volume rendering. -
VOLREN_GREEN
VolRenGreen (opacity ramp). Suitable for volume rendering. -
AIRWAY
Airway. This colormap is especially adapted to display airways of CT Scan datasets. Ranges of data may have to be adapted depending on your acquisition device's calibration. Please refer toSoDataRange
node for details. -
AIRWAY_SURFACES
Airway surfaces. This colormap is especially adapted to display airways and soft tissues of CT Scan datasets. Ranges of data may have to be adapted depending on your acquisition device's calibration. Please refer toSoDataRange
node for details. -
INTENSITY_REVERSED
Intensity reversed (opaque). This is a reversed intensity ramp (gray scale) with constant alpha (1). Appropriate for DICOM Photometric Interpretation mode 'MONOCHROME1'
-
-
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.
-