H3D::X3DColorNode Class Reference
[Abstract nodes.]

This is the base node type for color specifications in X3D. More...

#include <X3DColorNode.h>

Inheritance diagram for H3D::X3DColorNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DColorNode (Inst< SFNode > _metadata=0)
 Constructor.
virtual void render (int index)
 Perform the OpenGL commands to render a color given the index of the color.
virtual void renderArray ()
 Perform the OpenGL commands to render all verties as a vertex array.
virtual void disableArray ()
 Disable the array state enabled in renderAttay().
virtual string defaultXMLContainerField ()
 Returns the default xml containerField attribute value.
virtual unsigned int nrAvailableColors ()=0
 Returns the number of color this color node can render.

Detailed Description

This is the base node type for color specifications in X3D.


Member Function Documentation

virtual string H3D::X3DColorNode::defaultXMLContainerField  )  [inline, virtual]
 

Returns the default xml containerField attribute value.

For this node it is "color".

Reimplemented from H3D::Node.


Generated on Thu Aug 24 12:40:18 2006 for H3D API by  doxygen 1.4.5