public static enum SoColorMap.ColorMapFormats extends java.lang.Enum<SoColorMap.ColorMapFormats> implements IntegerValuedEnum
Enum Constant and Description |
---|
ALPHA
(1 float)
|
LUMINANCE
(1 float)
|
LUMINANCE_ALPHA
(2 floats)
|
RGB
(3 floats)
|
RGB_ALPHA
(4 floats)
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoColorMap.ColorMapFormats |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoColorMap.ColorMapFormats |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoColorMap.ColorMapFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoColorMap.ColorMapFormats LUMINANCE
public static final SoColorMap.ColorMapFormats ALPHA
public static final SoColorMap.ColorMapFormats LUMINANCE_ALPHA
public static final SoColorMap.ColorMapFormats RGB
public static final SoColorMap.ColorMapFormats RGB_ALPHA
public static SoColorMap.ColorMapFormats[] values()
for (SoColorMap.ColorMapFormats c : SoColorMap.ColorMapFormats.values()) System.out.println(c);
public static SoColorMap.ColorMapFormats valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoColorMap.ColorMapFormats valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com