Package com.openinventor.ldm.nodes
Enum Class SoROI.FlagsType
- All Implemented Interfaces:
IntegerValuedEnum
,Serializable
,Comparable<SoROI.FlagsType>
,Constable
- Enclosing class:
SoROI
Flag value mask.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnable cropping with X slab for term 0 (stage 1)Enable cropping with X slab for term 1 (stage 1)Enable cropping with X slab for term 2 (stage 1)Enable cropping with Y slab for term 0 (stage 1)Enable cropping with Y slab for term 1 (stage 1)Enable cropping with Y slab for term 2 (stage 1)Enable cropping with Z slab for term 0 (stage 1)Enable cropping with Z slab for term 1 (stage 1)Enable cropping with Z slab for term 2 (stage 1)Invert result for this term 0 (stage 2)Invert result for this term 1 (stage 2)Invert result for this term 2 (stage 2)Stage 4: If enabled, the result of stage 4 (union or intersection) is inverted as the last step in croppingStage 3: If set, the result is the union (OR) of term 0, term 1, and term 2.Convenient enums. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the integer value of the enum constant.static SoROI.FlagsType
valueOf
(int val) Returns the enum constant of this type with the specified integer valuestatic SoROI.FlagsType
Returns the enum constant of this class with the specified name.static SoROI.FlagsType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ENABLE_X0
Enable cropping with X slab for term 0 (stage 1) -
ENABLE_Y0
Enable cropping with Y slab for term 0 (stage 1) -
ENABLE_Z0
Enable cropping with Z slab for term 0 (stage 1) -
INVERT_0
Invert result for this term 0 (stage 2) -
ENABLE_X1
Enable cropping with X slab for term 1 (stage 1) -
ENABLE_Y1
Enable cropping with Y slab for term 1 (stage 1) -
ENABLE_Z1
Enable cropping with Z slab for term 1 (stage 1) -
INVERT_1
Invert result for this term 1 (stage 2) -
ENABLE_X2
Enable cropping with X slab for term 2 (stage 1) -
ENABLE_Y2
Enable cropping with Y slab for term 2 (stage 1) -
ENABLE_Z2
Enable cropping with Z slab for term 2 (stage 1) -
INVERT_2
Invert result for this term 2 (stage 2) -
OR_SELECT
Stage 3: If set, the result is the union (OR) of term 0, term 1, and term 2. If clear, the result is the intersection (AND) of the three terms -
INVERT_OUTPUT
Stage 4: If enabled, the result of stage 4 (union or intersection) is inverted as the last step in cropping -
SUB_VOLUME
Convenient enums. -
EXCLUSION_BOX
-
CROSS
-
CROSS_INVERT
-
FENCE
-
FENCE_INVERT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
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.
-