50#ifndef _SO_COMPLEXITY_ELEMENT
51#define _SO_COMPLEXITY_ELEMENT
53#include <Inventor/elements/SoFloatElement.h>
54#include <Inventor/SoPreferences.h>
98 virtual void init(
SoState *state);
102 static void initClass();
103 static void exitClass();
Stores the current shape complexity.
static int getClassStackIndex()
Returns the stack id for this element.
static float get(SoState *state)
Returns current complexity from the state.
static SoType getClassTypeId()
Returns the type identifier for this class.
static void set(SoState *state, SoNode *, float comp)
Sets the current complexity in the state.
static float getDefault()
Returns the default complexity.
static void set(SoState *state, float comp)
Sets the current complexity in the state.
Element's subclasses store a single float, int, or enum value.
Abstract base class for all database nodes.
static SoNONUNICODE float getFloat(const char *name, float defaultValue)
Returns the value of the specified environment variable in the Open Inventor environment,...