1#ifndef COIN_SODECIMATIONTYPEELEMENT_H
2#define COIN_SODECIMATIONTYPEELEMENT_H
36#include <Inventor/elements/SoInt32Element.h>
38class COIN_DLL_API SoDecimationTypeElement :
public SoInt32Element {
39 typedef SoInt32Element inherited;
41 SO_ELEMENT_HEADER(SoDecimationTypeElement);
45 virtual ~SoDecimationTypeElement();
48 enum Type { AUTOMATIC, HIGHEST, LOWEST, PERCENTAGE };
52 static void set(
SoState *
const state,
const Type type);
53 static void set(
SoState *
const state,
SoNode *
const node,
const Type type);
56 static Type getDefault(
void);
Type
Definition SoDecimationTypeElement.h:48
static void set(const int index, SoState *const state, SoNode *const node, const int32_t value)
Definition SoInt32Element.cpp:126
static void initClass(void)
Definition SoInt32Element.cpp:72
virtual void init(SoState *state)
Definition SoInt32Element.cpp:178
static int32_t get(const int index, SoState *const state)
Definition SoInt32Element.cpp:153
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44