Enum MoPredefinedColorMapping.PredefColorMapping
- java.lang.Object
-
- java.lang.Enum<MoPredefinedColorMapping.PredefColorMapping>
-
- com.openinventor.meshvizxlm.mapping.nodes.MoPredefinedColorMapping.PredefColorMapping
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<MoPredefinedColorMapping.PredefColorMapping>
- Enclosing class:
- MoPredefinedColorMapping
public static enum MoPredefinedColorMapping.PredefColorMapping extends java.lang.Enum<MoPredefinedColorMapping.PredefColorMapping> implements IntegerValuedEnum
Predefined colormaps.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLUE_RED
Blue to Red color mapBLUE_WHITE_RED
Blue to White to Red color mapGLOW
Glow color mapGREY
Greyscale color mapINTENSITY
Intensity color mapNONE
Turn off color mapping (Default value)PHYSICS
Physics color mapRAINBOW_TURBO
Turbo (improved rainbow) color mapSEISMIC
Seismic color mapSTANDARD
Standard color mapTEMPERATURE
Temperature color map
-
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 MoPredefinedColorMapping.PredefColorMapping
valueOf(int val)
Returns the predefined colormap associated to the specified integer value of the enum constant.static MoPredefinedColorMapping.PredefColorMapping
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MoPredefinedColorMapping.PredefColorMapping[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MoPredefinedColorMapping.PredefColorMapping NONE
Turn off color mapping (Default value)
-
GREY
public static final MoPredefinedColorMapping.PredefColorMapping GREY
Greyscale color map
-
TEMPERATURE
public static final MoPredefinedColorMapping.PredefColorMapping TEMPERATURE
Temperature color map
-
PHYSICS
public static final MoPredefinedColorMapping.PredefColorMapping PHYSICS
Physics color map
-
STANDARD
public static final MoPredefinedColorMapping.PredefColorMapping STANDARD
Standard color map
-
GLOW
public static final MoPredefinedColorMapping.PredefColorMapping GLOW
Glow color map
-
BLUE_RED
public static final MoPredefinedColorMapping.PredefColorMapping BLUE_RED
Blue to Red color map
-
SEISMIC
public static final MoPredefinedColorMapping.PredefColorMapping SEISMIC
Seismic color map
-
BLUE_WHITE_RED
public static final MoPredefinedColorMapping.PredefColorMapping BLUE_WHITE_RED
Blue to White to Red color map
-
INTENSITY
public static final MoPredefinedColorMapping.PredefColorMapping INTENSITY
Intensity color map
-
RAINBOW_TURBO
public static final MoPredefinedColorMapping.PredefColorMapping RAINBOW_TURBO
Turbo (improved rainbow) color map
-
-
Method Detail
-
values
public static MoPredefinedColorMapping.PredefColorMapping[] 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 (MoPredefinedColorMapping.PredefColorMapping c : MoPredefinedColorMapping.PredefColorMapping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MoPredefinedColorMapping.PredefColorMapping 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
-
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.
-
valueOf
public static MoPredefinedColorMapping.PredefColorMapping valueOf(int val)
Returns the predefined colormap associated to the specified integer value of the enum constant.- Parameters:
val
- integer value of the enum constant- Returns:
- the predefined colormap
-
-