Enum SoGradientOperatorProcessing3d.GradientModes
- java.lang.Object
-
- java.lang.Enum<SoGradientOperatorProcessing3d.GradientModes>
-
- com.openinventor.imageviz.engines.edgedetection.gradient.SoGradientOperatorProcessing3d.GradientModes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoGradientOperatorProcessing3d.GradientModes>
- Enclosing class:
- SoGradientOperatorProcessing3d
public static enum SoGradientOperatorProcessing3d.GradientModes extends java.lang.Enum<SoGradientOperatorProcessing3d.GradientModes> implements IntegerValuedEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMPLITUDE_EUCLIDEAN
This option computes the euclidean amplitude gradient.AMPLITUDE_MAX_OF_MAGS
This option computes the gradient maximal amplitude.X_Y_AND_Z_GRADIENTS
This option computes gradient in X, Y and Z directions.
-
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 SoGradientOperatorProcessing3d.GradientModes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoGradientOperatorProcessing3d.GradientModes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoGradientOperatorProcessing3d.GradientModes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMPLITUDE_MAX_OF_MAGS
public static final SoGradientOperatorProcessing3d.GradientModes AMPLITUDE_MAX_OF_MAGS
This option computes the gradient maximal amplitude. Only theoutAmplitudeImage
output is set using this mode.
-
X_Y_AND_Z_GRADIENTS
public static final SoGradientOperatorProcessing3d.GradientModes X_Y_AND_Z_GRADIENTS
This option computes gradient in X, Y and Z directions.outGradientXImage
,outGradientYImage
andoutGradientZImage
outputs are set using this mode.
-
AMPLITUDE_EUCLIDEAN
public static final SoGradientOperatorProcessing3d.GradientModes AMPLITUDE_EUCLIDEAN
This option computes the euclidean amplitude gradient.outAmplitudeImage
output is set using this mode.
-
-
Method Detail
-
values
public static SoGradientOperatorProcessing3d.GradientModes[] 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 (SoGradientOperatorProcessing3d.GradientModes c : SoGradientOperatorProcessing3d.GradientModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoGradientOperatorProcessing3d.GradientModes 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 SoGradientOperatorProcessing3d.GradientModes 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.
-
-