H3D::X3DNormalNode Class Reference
[Abstract nodes.]

This is the base node type for all normal node types in X3D. More...

#include <H3D/X3DNormalNode.h>

Inheritance diagram for H3D::X3DNormalNode:

Inheritance graph

List of all members.

Public Member Functions

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


Detailed Description

This is the base node type for all normal node types in X3D.

All normals are specified in nodes derived from this abstract node type.


Member Function Documentation

virtual string H3D::X3DNormalNode::defaultXMLContainerField (  )  [inline, virtual]

Returns the default xml containerField attribute value.

For this node it is "normal".

Reimplemented from H3D::Node.

virtual void H3D::X3DNormalNode::render ( int  index  )  [inline, virtual]

virtual void H3D::X3DNormalNode::renderArray (  )  [inline, virtual]


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

Generated on Fri Nov 7 10:31:27 2008 for H3D API by  doxygen 1.5.7