SoComplexityTypeElement Class Reference
[Elements]

Stores the current complexity type. More...

#include <Inventor/elements/SoComplexityTypeElement.h>

Inheritance diagram for SoComplexityTypeElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  Type {
  OBJECT_SPACE,
  SCREEN_SPACE,
  BOUNDING_BOX
}

Public Member Functions

virtual void print (FILE *fp) const

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, Type type)
static void set (SoState *state, SoNode *, Type type)
static Type get (SoState *state)
static Type getDefault ()

Detailed Description

Stores the current complexity type.

This element stores the current complexity type.

SEE ALSO

SoComplexity


Member Enumeration Documentation

These are the available complexity types:.

Enumerator:
OBJECT_SPACE 
SCREEN_SPACE 
BOUNDING_BOX 

Member Function Documentation

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

Returns current complexity type from the state.

static int SoComplexityTypeElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoComplexityTypeElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static Type SoComplexityTypeElement::getDefault (  )  [static]

Returns the default complexity type.

virtual void SoComplexityTypeElement::print ( FILE *  fp  )  const [virtual]

Prints element (for debugging).

Reimplemented from SoInt32Element.

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

Sets the current complexity type in the state.

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

Sets the current complexity type in the state.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/