Enum SoLogicOperationElement.LogicOperations
- java.lang.Object
-
- java.lang.Enum<SoLogicOperationElement.LogicOperations>
-
- com.openinventor.inventor.elements.SoLogicOperationElement.LogicOperations
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoLogicOperationElement.LogicOperations>
- Enclosing class:
- SoLogicOperationElement
public static enum SoLogicOperationElement.LogicOperations extends java.lang.Enum<SoLogicOperationElement.LogicOperations> implements IntegerValuedEnum
Logic Operation as defined by OpenGL's logicOp enum.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
AND_INVERTED
AND_REVERSE
CLEAR
COPY
COPY_INVERTED
EQUIV
INVERT
NAND
NOOP
NOR
OR
OR_INVERTED
OR_REVERSE
SET
XOR
-
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 SoLogicOperationElement.LogicOperations
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoLogicOperationElement.LogicOperations
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoLogicOperationElement.LogicOperations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOOP
public static final SoLogicOperationElement.LogicOperations NOOP
-
CLEAR
public static final SoLogicOperationElement.LogicOperations CLEAR
-
SET
public static final SoLogicOperationElement.LogicOperations SET
-
COPY
public static final SoLogicOperationElement.LogicOperations COPY
-
COPY_INVERTED
public static final SoLogicOperationElement.LogicOperations COPY_INVERTED
-
INVERT
public static final SoLogicOperationElement.LogicOperations INVERT
-
AND
public static final SoLogicOperationElement.LogicOperations AND
-
NAND
public static final SoLogicOperationElement.LogicOperations NAND
-
AND_REVERSE
public static final SoLogicOperationElement.LogicOperations AND_REVERSE
-
AND_INVERTED
public static final SoLogicOperationElement.LogicOperations AND_INVERTED
-
OR
public static final SoLogicOperationElement.LogicOperations OR
-
NOR
public static final SoLogicOperationElement.LogicOperations NOR
-
XOR
public static final SoLogicOperationElement.LogicOperations XOR
-
OR_REVERSE
public static final SoLogicOperationElement.LogicOperations OR_REVERSE
-
OR_INVERTED
public static final SoLogicOperationElement.LogicOperations OR_INVERTED
-
EQUIV
public static final SoLogicOperationElement.LogicOperations EQUIV
-
-
Method Detail
-
values
public static SoLogicOperationElement.LogicOperations[] 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 (SoLogicOperationElement.LogicOperations c : SoLogicOperationElement.LogicOperations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoLogicOperationElement.LogicOperations 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 SoLogicOperationElement.LogicOperations 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.
-
-