50#ifndef _SO_UNITS_ELEMENT
51#define _SO_UNITS_ELEMENT
53#include <Inventor/elements/SoInt32Element.h>
102 {
set(state, units); }
123 virtual void init(
SoState *state);
127 static void initClass();
128 static void exitClass();
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.