public static enum SoArithmeticValueProcessing.ArithmeticOperators extends java.lang.Enum<SoArithmeticValueProcessing.ArithmeticOperators> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
ADD
The ADD arithmetic operator adds image
with a constant C. |
DIVIDE
The DIVIDE arithmetic operator divides an image
by a constant C. |
MAXIMUM
The MAXIMUM arithmetic operator computes the maximum value between an image
and a constant C. |
MINIMUM
The MINIMUM arithmetic operator computes the minimum value between an image and a constant C.
|
MULTIPLY
The MULTIPLY arithmetic operator multiplies an image
by a constant C. |
SUBTRACT
The SUBTRACT arithmetic operator subtract a constant C from an image.
|
| Modifier and Type | Method and Description |
|---|---|
static SoArithmeticValueProcessing.ArithmeticOperators |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoArithmeticValueProcessing.ArithmeticOperators |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoArithmeticValueProcessing.ArithmeticOperators |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoArithmeticValueProcessing.ArithmeticOperators[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoArithmeticValueProcessing.ArithmeticOperators ADD
with a constant C.
The formula is:

Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators SUBTRACT

Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators MULTIPLY
by a constant C.
The formula is:

Remarks:
public static final SoArithmeticValueProcessing.ArithmeticOperators DIVIDE
by a constant C.
The formula is:

Remarks:
then
public static final SoArithmeticValueProcessing.ArithmeticOperators MINIMUM
For binary image, the MINIMUM operator is equivalent to a logical AND. 
public static final SoArithmeticValueProcessing.ArithmeticOperators MAXIMUM
and a constant C.
The formula is:
For binary image, the MAXIMUM operator is equivalent to a logical OR. 
public static SoArithmeticValueProcessing.ArithmeticOperators[] values()
for (SoArithmeticValueProcessing.ArithmeticOperators c : SoArithmeticValueProcessing.ArithmeticOperators.values()) System.out.println(c);
public static SoArithmeticValueProcessing.ArithmeticOperators valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static SoArithmeticValueProcessing.ArithmeticOperators fromValue(int val)
valueOf(int) instead.public static SoArithmeticValueProcessing.ArithmeticOperators valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com