25#ifndef _SO_DECIMATION_TYPE_ELEMENT
26#define _SO_DECIMATION_TYPE_ELEMENT
28#include <Inventor/elements/SoInt32Element.h>
82 virtual void print(FILE *fp)
const;
87 virtual void init(
SoState *state);
91 static void initClass();
92 static void exitClass();
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Stores the curre...
static SoType getClassTypeId()
Returns the type identifier for this class.
static void set(SoState *state, Type type)
Sets the current decimation type in the state.
static void set(SoState *state, SoNode *, Type type)
Sets the current decimation type in the state.
static int getClassStackIndex()
Returns the stack id for this element.
static Type get(SoState *state)
Returns current decimation type from the state.
Type
These are the available decimation types.
@ PERCENTAGE
Nodes should try to reach percentage from DecimationPercentageElement.
@ LOWEST
Nodes must use lowest level (non-empty).
@ HIGHEST
Nodes must use highest level.
@ AUTOMATIC
Nodes are allowed to choose themselves.
virtual void print(FILE *fp) const
Prints element (for debugging).
static Type getDefault()
Returns the default decimation type.
Stores a single int32_t, int, or enum value.
Abstract base class for all database nodes.