50#ifndef _SO_UNITS_ELEMENT
51#define _SO_UNITS_ELEMENT
102 {
set(state, units); }
127 static void initClass();
128 static void exitClass();
#define SoEXTENDER_Documented
#define SO_ELEMENT_HEADER(className)
Stores a single int32_t, int, or enum value.
Abstract base class for all database nodes.
Stores the current units type.
static int getClassStackIndex()
Returns the stack id for this element.
static Units getDefault()
Returns the default units.
static SoType getClassTypeId()
Returns the type identifier for this class.
static void set(SoState *state, SoNode *, Units units)
Sets the current units in the state.
Units
These are the available types of units.
static Units get(SoState *state)
Returns current units from the state.
virtual void print(FILE *fp) const
Prints element (for debugging).
static void set(SoState *state, Units units)
Sets the current units in the state.