Open Inventor Reference
|
Node that defines an object's base color. More...
#include <Inventor/nodes/SoBaseColor.h>
Public Member Functions | |
SoBaseColor () | |
Creates a base color node with default settings. | |
virtual void | doAction (SoAction *action) |
This method performs the "typical" operation of a node for any action. | |
virtual void | GLRender (SoGLRenderAction *action) |
These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing. | |
virtual void | callback (SoCallbackAction *action) |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Public Attributes | |
Fields | |
SoMFColor | rgb |
RGB color(s). | |
Protected Member Functions | |
virtual | ~SoBaseColor () |
Protected Attributes | |
SoColorPacker * | colorPacker |
SoVBO * | _vbo |
This node defines the base color (or colors) of subsequent shape nodes in the scene graph. SoBaseColor sets only the diffuse color(s) of the current material and has no effect on the material's other attributes.
BaseColor { rgb 0.8 0.8 0.8 }
Definition at line 94 of file SoBaseColor.h.
SoBaseColor::SoBaseColor | ( | ) |
virtual SoBaseColor::~SoBaseColor | ( | ) | [protected, virtual] |
virtual void SoBaseColor::callback | ( | SoCallbackAction * | action | ) | [virtual] |
Reimplemented from SoNode.
virtual void SoBaseColor::doAction | ( | SoAction * | action | ) | [virtual] |
The default implementation does nothing.
Reimplemented from SoNode.
virtual void SoBaseColor::GLRender | ( | SoGLRenderAction * | action | ) | [virtual] |
Reimplemented from SoNode.
static void SoBaseColor::initClass | ( | ) | [static] |
Reimplemented from SoNode.
SoVBO* SoBaseColor::_vbo [protected] |
Definition at line 122 of file SoBaseColor.h.
SoColorPacker* SoBaseColor::colorPacker [protected] |
Definition at line 120 of file SoBaseColor.h.
Definition at line 103 of file SoBaseColor.h.