H3D::X3DCoordinateNode Class Reference
[Abstract nodes.]

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

#include <X3DCoordinateNode.h>

Inheritance diagram for H3D::X3DCoordinateNode:

Inheritance graph
List of all members.

Public Member Functions

 X3DCoordinateNode (Inst< SFNode > _metadata=0)
 Constructor.
virtual Vec3f getCoord (int index)=0
virtual void render (int index)
 Perform the OpenGL commands to render a vertex given the index of the vertex.
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 nrAvailableCoords ()=0
 Returns the number of coordinates this coordinate node can render.

Detailed Description

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

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


Member Function Documentation

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

Returns the default xml containerField attribute value.

For this node it is "coord".

Reimplemented from H3D::Node.


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