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 ANDAND_INVERTEDAND_REVERSECLEARCOPYCOPY_INVERTEDEQUIVINVERTNANDNOOPNOROROR_INVERTEDOR_REVERSESETXOR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the integer value of the enum constant.static SoLogicOperationElement.LogicOperationsvalueOf(int val)Returns the enum constant of this type with the specified integer valuestatic SoLogicOperationElement.LogicOperationsvalueOf(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:IntegerValuedEnumReturns the integer value of the enum constant.- Specified by:
getValuein interfaceIntegerValuedEnum- Returns:
- the integer value of the enum constant.
-
-