SoDecimationTypeElement Class Reference
[Elements]

VSG extension Stores the current decimation type. More...

#include <Inventor/elements/SoDecimationTypeElement.h>

Inheritance diagram for SoDecimationTypeElement:
SoInt32Element SoElement SoTypedObject

List of all members.

Public Types

enum  Type {
  AUTOMATIC,
  HIGHEST,
  LOWEST,
  PERCENTAGE
}

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

VSG extension Stores the current decimation type.

This element stores the current decimation type.

SEE ALSO

SoGLRenderAction, SoGetPrimitiveCountAction


Member Enumeration Documentation

These are the available decimation types.

Enumerator:
AUTOMATIC 

Nodes are allowed to choose themselves.

HIGHEST 

Nodes must use highest level.

LOWEST 

Nodes must use lowest level (non-empty).

PERCENTAGE 

Nodes should try to reach percentage from DecimationPercentageElement.


Member Function Documentation

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

Returns current decimation type from the state.

static int SoDecimationTypeElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32Element.

static SoType SoDecimationTypeElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32Element.

static Type SoDecimationTypeElement::getDefault (  )  [inline, static]

Returns the default decimation type.

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

Prints element (for debugging).

Reimplemented from SoInt32Element.

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

Sets the current decimation type in the state.

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

Sets the current decimation type in the state.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/