Stores the current units type. More...
#include <Inventor/elements/SoUnitsElement.h>
  
 Public Types | |
| enum | Units {  METERS, CENTIMETERS, MILLIMETERS, MICROMETERS, MICRONS, NANOMETERS, ANGSTROMS, KILOMETERS, FEET, INCHES, POINTS, YARDS, MILES, NAUTICAL_MILES }  | 
Public Member Functions | |
| virtual void | print (FILE *fp) const | 
Static Public Member Functions | |
| static SoType | getClassTypeId () | 
| static int | getClassStackIndex () | 
| static void | set (SoState *state, Units units) | 
| static void | set (SoState *state, SoNode *, Units units) | 
| static Units | get (SoState *state) | 
| static Units | getDefault () | 
Stores the current units type.
This element stores the current units type.
Returns current units from the state.
| static int SoUnitsElement::getClassStackIndex | ( | ) |  [static] | 
        
Returns the stack id for this element.
Reimplemented from SoInt32Element.
| static SoType SoUnitsElement::getClassTypeId | ( | ) |  [static] | 
        
Returns the type identifier for this class.
Reimplemented from SoInt32Element.
| static Units SoUnitsElement::getDefault | ( | ) |  [inline, static] | 
        
Returns the default units.
| virtual void SoUnitsElement::print | ( | FILE * | fp | ) |  const [virtual] | 
        
Prints element (for debugging).
Reimplemented from SoInt32Element.
Sets the current units in the state.
Sets the current units in the state.