public class SoUnitsElement extends SoInt32Element
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoUnitsElement.Units
These are the available types of units.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
ANGSTROMS
Deprecated.
Use
SoUnitsElement.Units.ANGSTROMS instead. |
static int |
CENTIMETERS
Deprecated.
Use
SoUnitsElement.Units.CENTIMETERS instead. |
static int |
FEET
Deprecated.
Use
SoUnitsElement.Units.FEET instead. |
static int |
INCHES
Deprecated.
Use
SoUnitsElement.Units.INCHES instead. |
static int |
KILOMETERS
Deprecated.
Use
SoUnitsElement.Units.KILOMETERS instead. |
static int |
METERS
Deprecated.
Use
SoUnitsElement.Units.METERS instead. |
static int |
MICROMETERS
Deprecated.
Use
SoUnitsElement.Units.MICROMETERS instead. |
static int |
MICRONS
Deprecated.
Use
SoUnitsElement.Units.MICRONS instead. |
static int |
MILES
Deprecated.
Use
SoUnitsElement.Units.MILES instead. |
static int |
MILLIMETERS
Deprecated.
Use
SoUnitsElement.Units.MILLIMETERS instead. |
static int |
NANOMETERS
Deprecated.
Use
SoUnitsElement.Units.NANOMETERS instead. |
static int |
NAUTICAL_MILES
Deprecated.
Use
SoUnitsElement.Units.NAUTICAL_MILES instead. |
static int |
POINTS
Deprecated.
Use
SoUnitsElement.Units.POINTS instead. |
static int |
YARDS
Deprecated.
Use
SoUnitsElement.Units.YARDS instead. |
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SoUnitsElement.Units |
get(SoState state)
Returns current units from the state.
|
static int |
getClassStackIndex()
Deprecated.
As of Open Inventor 9.3 replaced by SoElement.getClassStackIndex(Class)
|
static SoUnitsElement.Units |
getDefault()
Returns the default units.
|
static void |
set(SoState state,
SoUnitsElement.Units units)
Sets the current units in the state.
|
getClassStackIndex, pop, push
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int METERS
SoUnitsElement.Units.METERS
instead.@Deprecated public static final int CENTIMETERS
SoUnitsElement.Units.CENTIMETERS
instead.@Deprecated public static final int MILLIMETERS
SoUnitsElement.Units.MILLIMETERS
instead.@Deprecated public static final int MICROMETERS
SoUnitsElement.Units.MICROMETERS
instead.@Deprecated public static final int MICRONS
SoUnitsElement.Units.MICRONS
instead.@Deprecated public static final int NANOMETERS
SoUnitsElement.Units.NANOMETERS
instead.@Deprecated public static final int ANGSTROMS
SoUnitsElement.Units.ANGSTROMS
instead.@Deprecated public static final int KILOMETERS
SoUnitsElement.Units.KILOMETERS
instead.@Deprecated public static final int FEET
SoUnitsElement.Units.FEET
instead.@Deprecated public static final int INCHES
SoUnitsElement.Units.INCHES
instead.@Deprecated public static final int POINTS
SoUnitsElement.Units.POINTS
instead.@Deprecated public static final int YARDS
SoUnitsElement.Units.YARDS
instead.@Deprecated public static final int MILES
SoUnitsElement.Units.MILES
instead.@Deprecated public static final int NAUTICAL_MILES
SoUnitsElement.Units.NAUTICAL_MILES
instead.public static SoUnitsElement.Units getDefault()
public static SoUnitsElement.Units get(SoState state)
public static void set(SoState state, SoUnitsElement.Units units)
@Deprecated public static int getClassStackIndex()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com