Open Inventor Reference
SoComplexityTypeElement Class Reference

Element that stores the current complexity type.

#include <Inventor/elements/SoComplexityTypeElement.h>

Inheritance diagram for SoComplexityTypeElement:
SoInt32Element SoElement

List of all members.

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 ()

Detailed Description

Definition at line 69 of file SoComplexityTypeElement.h.


Member Enumeration Documentation

Enumerator:
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.


Constructor & Destructor Documentation

virtual SoComplexityTypeElement::~SoComplexityTypeElement ( ) [protected, virtual]

Member Function Documentation

static Type SoComplexityTypeElement::get ( SoState state) [inline, static]

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.

static void SoComplexityTypeElement::set ( SoState state,
SoNode ,
Type  type 
) [inline, static]

Definition at line 88 of file SoComplexityTypeElement.h.

static void SoComplexityTypeElement::set ( SoState state,
Type  type 
) [static]

The documentation for this class was generated from the following file: