Package com.openinventor.ldm.nodes
Enum SoTransferFunction.PredefColorMaps
- java.lang.Object
-
- java.lang.Enum<SoTransferFunction.PredefColorMaps>
-
- com.openinventor.ldm.nodes.SoTransferFunction.PredefColorMaps
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoTransferFunction.PredefColorMaps>
- Enclosing class:
- SoTransferFunction
public static enum SoTransferFunction.PredefColorMaps extends java.lang.Enum<SoTransferFunction.PredefColorMaps> implements IntegerValuedEnum
Predefined color maps. See thepredefColorMap
field for images.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AIRWAY
Airway.AIRWAY_SURFACES
Airway surfaces.BLUE_RED
Blue red (opaque).BLUE_WHITE_RED
Blue white red (opaque).GLOW
Glow (opaque).GRAY
Gray (Synonym of grey)GREY
Grey (Default).INTENSITY
Intensity (opaque).INTENSITY_REVERSED
Intensity reversed (opaque).LABEL_256
256 labels (opaque).NONE
No color map.PHYSICS
Physics (opaque).SEISMIC
Seismic.STANDARD
Standard (opaque).TEMPERATURE
Temperature (opaque).VOLREN_GREEN
VolRenGreen (opacity ramp).VOLREN_RED
VolRenRed (opacity ramp).
-
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 SoTransferFunction.PredefColorMaps
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoTransferFunction.PredefColorMaps
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoTransferFunction.PredefColorMaps[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SoTransferFunction.PredefColorMaps NONE
No color map.
-
GREY
public static final SoTransferFunction.PredefColorMaps GREY
Grey (Default). This is constant intensity (white) with a 0..1 alpha ramp. A good initial color map for volume rendering.
-
GRAY
public static final SoTransferFunction.PredefColorMaps GRAY
Gray (Synonym of grey)
-
TEMPERATURE
public static final SoTransferFunction.PredefColorMaps TEMPERATURE
Temperature (opaque).
-
PHYSICS
public static final SoTransferFunction.PredefColorMaps PHYSICS
Physics (opaque).
-
STANDARD
public static final SoTransferFunction.PredefColorMaps STANDARD
Standard (opaque).
-
GLOW
public static final SoTransferFunction.PredefColorMaps GLOW
Glow (opaque). This is similar to "hot iron" type color maps.
-
BLUE_RED
public static final SoTransferFunction.PredefColorMaps BLUE_RED
Blue red (opaque).
-
SEISMIC
public static final SoTransferFunction.PredefColorMaps SEISMIC
Seismic.
-
BLUE_WHITE_RED
public static final SoTransferFunction.PredefColorMaps BLUE_WHITE_RED
Blue white red (opaque).
-
INTENSITY
public static final SoTransferFunction.PredefColorMaps 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
public static final SoTransferFunction.PredefColorMaps LABEL_256
256 labels (opaque). A good color map for rendering label volumes.
-
VOLREN_RED
public static final SoTransferFunction.PredefColorMaps VOLREN_RED
VolRenRed (opacity ramp). Suitable for volume rendering.
-
VOLREN_GREEN
public static final SoTransferFunction.PredefColorMaps VOLREN_GREEN
VolRenGreen (opacity ramp). Suitable for volume rendering.
-
AIRWAY
public static final SoTransferFunction.PredefColorMaps 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
public static final SoTransferFunction.PredefColorMaps 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
public static final SoTransferFunction.PredefColorMaps 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 Detail
-
values
public static SoTransferFunction.PredefColorMaps[] 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 (SoTransferFunction.PredefColorMaps c : SoTransferFunction.PredefColorMaps.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoTransferFunction.PredefColorMaps 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 SoTransferFunction.PredefColorMaps 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.
-
-