H3D::X3DNormalNode Class Reference
[Abstract nodes.]

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

#include <X3DNormalNode.h>

Inheritance diagram for H3D::X3DNormalNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DNormalNode (Inst< SFNode > _metadata=0)
 Constructor.
virtual Vec3f getNormal (int index)=0
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.


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