Class SoUnitsElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoInt32Element
-
- com.openinventor.inventor.elements.SoUnitsElement
-
public class SoUnitsElement extends SoInt32Element
Stores the current units type. This element stores the current units type.- See Also:
SoUnits
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoUnitsElement.UnitsThese are the available types of units.-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SoUnitsElement.Unitsget(SoState state)Returns current units from the state.static intgetClassStackIndex()Deprecated.As of Open Inventor 9300.static SoUnitsElement.UnitsgetDefault()Returns the default units.static voidset(SoState state, SoUnitsElement.Units units)Sets the current units in the state.static voidset(SoState state, SoNode name_24774, SoUnitsElement.Units units)Sets the current units in the state.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getClassStackIndex
@Deprecated public static int getClassStackIndex()
Deprecated.As of Open Inventor 9300. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getDefault
public static SoUnitsElement.Units getDefault()
Returns the default units.
-
set
public static void set(SoState state, SoUnitsElement.Units units)
Sets the current units in the state.
-
get
public static SoUnitsElement.Units get(SoState state)
Returns current units from the state.
-
set
public static void set(SoState state, SoNode name_24774, SoUnitsElement.Units units)
Sets the current units in the state.
-
-