Surface color index node. More...
#include <Inventor/nodes/SoColorIndex.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoColorIndex () | |
virtual void | setOverride (const SbBool state) |
virtual SbBool | isOverride () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFInt32 | index |
Surface color index node.
This node specifies the color to use for subsequent shapes as an index into the current color table. This is used only for BASE_COLOR lighting (see SoLightModel) in color index mode. Color index mode may be enabled by the window in which rendering occurs.
Since color indices make sense only in the context of OpenGL rendering, this node implements only a method for the SoGLRenderAction.
index | 1 |
SoColorIndex::SoColorIndex | ( | ) |
Creates a color index node with default settings.
static SoType SoColorIndex::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoColorIndex::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
virtual SbBool SoColorIndex::isOverride | ( | ) | const [inline, virtual] |
Returns the state of the override field.
Reimplemented from SoNode.
virtual void SoColorIndex::setOverride | ( | const SbBool | state | ) | [inline, virtual] |
Color index.