Enum SoImagePreAlignmentTransform3d.AlignmentModes
- java.lang.Object
-
- java.lang.Enum<SoImagePreAlignmentTransform3d.AlignmentModes>
-
- com.openinventor.imageviz.engines.geometryandmatching.registration.SoImagePreAlignmentTransform3d.AlignmentModes
-
- All Implemented Interfaces:
IntegerValuedEnum,java.io.Serializable,java.lang.Comparable<SoImagePreAlignmentTransform3d.AlignmentModes>
- Enclosing class:
- SoImagePreAlignmentTransform3d
public static enum SoImagePreAlignmentTransform3d.AlignmentModes extends java.lang.Enum<SoImagePreAlignmentTransform3d.AlignmentModes> implements IntegerValuedEnum
This enum defines the different types of alignments.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTERSIn this mode, the centers of gravity of the input images are aligned.PRINCIPAL_AXISIn this mode, the centers of gravity and the principal axes of the input images are aligned.
-
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 SoImagePreAlignmentTransform3d.AlignmentModesvalueOf(int val)Returns the enum constant of this type with the specified integer valuestatic SoImagePreAlignmentTransform3d.AlignmentModesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SoImagePreAlignmentTransform3d.AlignmentModes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTERS
public static final SoImagePreAlignmentTransform3d.AlignmentModes CENTERS
In this mode, the centers of gravity of the input images are aligned.
-
PRINCIPAL_AXIS
public static final SoImagePreAlignmentTransform3d.AlignmentModes PRINCIPAL_AXIS
In this mode, the centers of gravity and the principal axes of the input images are aligned.
-
-
Method Detail
-
values
public static SoImagePreAlignmentTransform3d.AlignmentModes[] 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 (SoImagePreAlignmentTransform3d.AlignmentModes c : SoImagePreAlignmentTransform3d.AlignmentModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoImagePreAlignmentTransform3d.AlignmentModes 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 SoImagePreAlignmentTransform3d.AlignmentModes 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.
-
-