Open Inventor Reference
SoGLColorIndexElement Class Reference

This class is being superceded by the SoLazyElement class. More...

#include <Inventor/elements/SoGLColorIndexElement.h>

List of all members.

Public Member Functions

int32_t getNum () const
 Returns the number of color indices in current instance.
int32_t get (int index) const
 Returns a current color index.

Static Public Member Functions

static void set (SoState *state, SoNode *node, int32_t numIndices, const int32_t *indices)
 Sets the current indexed color(s)
static const
SoGLColorIndexElement
getInstance (SoState *state)
 Returns the top (current) instance of the element in the state.
static int32_t getDefault ()
 Returns the default index.

Detailed Description

All methods are converted inline to SoLazyElement methods for compatibility.

Definition at line 74 of file SoGLColorIndexElement.h.


Member Function Documentation

int32_t SoGLColorIndexElement::get ( int  index) const [inline]

Definition at line 103 of file SoGLColorIndexElement.h.

References SoLazyElement::getColorIndex().

static int32_t SoGLColorIndexElement::getDefault ( ) [inline, static]

Definition at line 109 of file SoGLColorIndexElement.h.

References SoLazyElement::getDefaultColorIndex().

static const SoGLColorIndexElement* SoGLColorIndexElement::getInstance ( SoState state) [inline, static]

Definition at line 88 of file SoGLColorIndexElement.h.

int32_t SoGLColorIndexElement::getNum ( ) const [inline]

Definition at line 97 of file SoGLColorIndexElement.h.

References SoLazyElement::getInstance().

static void SoGLColorIndexElement::set ( SoState state,
SoNode node,
int32_t  numIndices,
const int32_t indices 
) [inline, static]

Definition at line 80 of file SoGLColorIndexElement.h.

References SoLazyElement::setColorIndices().


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