1#ifndef COIN_SOGLCOLORINDEXELEMENT_H
2#define COIN_SOGLCOLORINDEXELEMENT_H
36#include <Inventor/elements/SoReplacedElement.h>
38class COIN_DLL_API SoGLColorIndexElement :
public SoReplacedElement {
39 typedef SoReplacedElement inherited;
41 SO_ELEMENT_HEADER(SoGLColorIndexElement);
45 virtual ~SoGLColorIndexElement();
50 virtual void init(SoState * state);
52 static void set(SoState *
const state,
SoNode *
const node,
53 const int32_t numindices,
const int32_t *
const indices);
55 static const SoGLColorIndexElement *
getInstance(SoState *state);
57 int32_t
getNum(
void)
const;
58 int32_t
get(
const int index)
const;
int32_t get(const int index) const
Definition SoGLColorIndexElement.cpp:133
static SbBool isColorIndexMode(SoState *state)
Definition SoGLColorIndexElement.cpp:94
static void set(SoState *const state, SoNode *const node, const int32_t numindices, const int32_t *const indices)
Definition SoGLColorIndexElement.cpp:103
static int32_t getDefault(void)
Definition SoGLColorIndexElement.cpp:143
int32_t getNum(void) const
Definition SoGLColorIndexElement.cpp:114
static const SoGLColorIndexElement * getInstance(SoState *state)
Definition SoGLColorIndexElement.cpp:123
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
static void initClass(void)
Definition SoReplacedElement.cpp:77
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:91