SoGLColorIndexElement Class Reference
[Elements]

Stores color index of current material (superseded by SoLazyElement). More...

#include <Inventor/elements/SoGLColorIndexElement.h>

List of all members.

Public Member Functions

int32_t getNum () const
int32_t get (int index) const

Static Public Member Functions

static void set (SoState *state, SoNode *node, int32_t numIndices, const int32_t *indices)
static const
SoGLColorIndexElement
getInstance (SoState *state)
static int32_t getDefault ()

Detailed Description

Stores color index of current material (superseded by SoLazyElement).

This class is superseded by the SoLazyElement class. All methods are converted inline to SoLazyElement methods for compatibility.

NOTE: This class does not exist in Open Inventor 10.0 and later.

SEE ALSO

Deprecated:

Deprecated since Open Inventor 9500
See SoLazyElement instead.

Member Function Documentation

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

Returns a current color index.

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

Returns the default index.

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

Returns the top (current) instance of the element in the state.

int32_t SoGLColorIndexElement::getNum (  )  const [inline]

Returns the number of color indices in current instance.

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

Sets the current indexed color(s).


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/