public static enum SoVectorizeAction.ColorTranslationMethods extends java.lang.Enum<SoVectorizeAction.ColorTranslationMethods> implements IntegerValuedEnum
Enum Constant and Description |
---|
AS_IS
Colors stay as is.
|
REVERSE
All colors are reversed.
|
REVERSE_ONLY_BLACK_AND_WHITE
Only black and white are reversed (default).
|
Modifier and Type | Method and Description |
---|---|
static SoVectorizeAction.ColorTranslationMethods |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoVectorizeAction.ColorTranslationMethods |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoVectorizeAction.ColorTranslationMethods |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoVectorizeAction.ColorTranslationMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoVectorizeAction.ColorTranslationMethods REVERSE_ONLY_BLACK_AND_WHITE
public static final SoVectorizeAction.ColorTranslationMethods AS_IS
public static final SoVectorizeAction.ColorTranslationMethods REVERSE
public static SoVectorizeAction.ColorTranslationMethods[] values()
for (SoVectorizeAction.ColorTranslationMethods c : SoVectorizeAction.ColorTranslationMethods.values()) System.out.println(c);
public static SoVectorizeAction.ColorTranslationMethods 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 null@Deprecated public static SoVectorizeAction.ColorTranslationMethods fromValue(int val)
valueOf(int)
instead.public static SoVectorizeAction.ColorTranslationMethods valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com