Open Inventor Reference
|
Surface color index node. More...
#include <Inventor/nodes/SoColorIndex.h>
Public Member Functions | |
SoColorIndex () | |
Creates a color index node with default settings. | |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoMFInt32 | index |
Color index. | |
Protected Member Functions | |
virtual | ~SoColorIndex () |
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.
BASE_COLOR
lighting.Definition at line 87 of file SoColorIndex.h.
SoColorIndex::SoColorIndex | ( | ) |
virtual SoColorIndex::~SoColorIndex | ( | ) | [protected, virtual] |
virtual void SoColorIndex::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoNode.
static void SoColorIndex::initClass | ( | ) | [static] |
Reimplemented from SoNode.
Definition at line 96 of file SoColorIndex.h.