1#ifndef COIN_SOGLCOLORINDEXELEMENT_H
2#define COIN_SOGLCOLORINDEXELEMENT_H
27#include <Inventor/elements/SoReplacedElement.h>
29class COIN_DLL_API SoGLColorIndexElement :
public SoReplacedElement {
30 typedef SoReplacedElement inherited;
32 SO_ELEMENT_HEADER(SoGLColorIndexElement);
34 static void initClass(
void);
36 virtual ~SoGLColorIndexElement();
41 virtual void init(SoState * state);
43 static void set(SoState *
const state,
SoNode *
const node,
44 const int32_t numindices,
const int32_t *
const indices);
46 static const SoGLColorIndexElement *
getInstance(SoState *state);
48 int32_t
getNum(
void)
const;
49 int32_t get(
const int index)
const;
50 static int32_t getDefault(
void);
static SbBool isColorIndexMode(SoState *state)
Definition SoGLColorIndexElement.cpp:81
static void set(SoState *const state, SoNode *const node, const int32_t numindices, const int32_t *const indices)
Definition SoGLColorIndexElement.cpp:90
int32_t getNum(void) const
Definition SoGLColorIndexElement.cpp:101
static const SoGLColorIndexElement * getInstance(SoState *state)
Definition SoGLColorIndexElement.cpp:110
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:47
virtual void init(SoState *state)
Definition SoReplacedElement.cpp:76
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Thu Jan 16 2025 for Coin by Doxygen. 1.13.2