public static enum SoDataMeasure.UnitDimensions extends java.lang.Enum<SoDataMeasure.UnitDimensions> implements IntegerValuedEnum
Enum Constant and Description |
---|
AREA
Output unit is the square as the input data length unit.
|
DEGREES
Output is an angle in degrees (not radians).
|
INTENSITY
Output unit is the same as the input data value unit.
|
NOUNIT
for measure without units (count for ex.)
|
PERIMETER
Output unit is the same as the input length value unit.
|
PIXELS
Output is a pixel position or length (independent from the input length value unit).
|
SQUAREINTENSITY
Output unit is the square of the input data value unit.
|
VOLUME
Output unit is the cube as the input data length unit.
|
Modifier and Type | Method and Description |
---|---|
static SoDataMeasure.UnitDimensions |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoDataMeasure.UnitDimensions |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoDataMeasure.UnitDimensions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoDataMeasure.UnitDimensions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoDataMeasure.UnitDimensions SQUAREINTENSITY
public static final SoDataMeasure.UnitDimensions INTENSITY
public static final SoDataMeasure.UnitDimensions VOLUME
public static final SoDataMeasure.UnitDimensions AREA
public static final SoDataMeasure.UnitDimensions PERIMETER
public static final SoDataMeasure.UnitDimensions NOUNIT
public static final SoDataMeasure.UnitDimensions DEGREES
public static final SoDataMeasure.UnitDimensions PIXELS
public static SoDataMeasure.UnitDimensions[] values()
for (SoDataMeasure.UnitDimensions c : SoDataMeasure.UnitDimensions.values()) System.out.println(c);
public static SoDataMeasure.UnitDimensions 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 SoDataMeasure.UnitDimensions fromValue(int val)
valueOf(int)
instead.public static SoDataMeasure.UnitDimensions valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com