Open Inventor Reference
|
Element that stores the current complexity type.
#include <Inventor/elements/SoComplexityTypeElement.h>
Public Types | |
enum | Type { OBJECT_SPACE, SCREEN_SPACE, BOUNDING_BOX } |
These are the available complexity types: More... | |
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | print (FILE *fp) const |
Prints element (for debugging) | |
Static Public Member Functions | |
static void | set (SoState *state, Type type) |
Sets the current complexity type in the state. | |
static void | set (SoState *state, SoNode *, Type type) |
static Type | get (SoState *state) |
Returns current complexity type from the state. | |
static Type | getDefault () |
Returns the default complexity type. | |
static void | initClass () |
Initializes the SoComplexityTypeElement class. | |
Protected Member Functions | |
virtual | ~SoComplexityTypeElement () |
Definition at line 69 of file SoComplexityTypeElement.h.
OBJECT_SPACE |
Complexity computed in object space. |
SCREEN_SPACE |
Complexity computed in screen space. |
BOUNDING_BOX |
Bounding box used to represent object. |
Definition at line 75 of file SoComplexityTypeElement.h.
virtual SoComplexityTypeElement::~SoComplexityTypeElement | ( | ) | [protected, virtual] |
Definition at line 93 of file SoComplexityTypeElement.h.
References SoInt32Element::get().
static Type SoComplexityTypeElement::getDefault | ( | ) | [inline, static] |
Definition at line 97 of file SoComplexityTypeElement.h.
virtual void SoComplexityTypeElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoElement.
static void SoComplexityTypeElement::initClass | ( | ) | [static] |
Reimplemented from SoInt32Element.
virtual void SoComplexityTypeElement::print | ( | FILE * | fp | ) | const [virtual] |
Reimplemented from SoInt32Element.
Definition at line 88 of file SoComplexityTypeElement.h.