H3D::Coordinate Class Reference
[X3D node classes.]

This node defines a set of 3D coordinates to be used in the coord field of vertex-based geometry nodes. More...

#include <Coordinate.h>

Inheritance diagram for H3D::Coordinate:

Inheritance graph
List of all members.

Public Member Functions

 Coordinate (Inst< SFNode > _metadata=0, Inst< MFVec3f > _point=0)
 Constructor.
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 Vec3f getCoord (int index)
virtual unsigned int nrAvailableCoords ()
 Returns the number of coordinates this coordinate node can render.

Public Attributes

auto_ptr< MFVec3fpoint
 A vector of Vec3f defining points in 3d-space.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.

Detailed Description

This node defines a set of 3D coordinates to be used in the coord field of vertex-based geometry nodes.

Internal routes:
Coordinate.dot


Member Function Documentation

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

Perform the OpenGL commands to render a vertex given the index of the vertex.

We install the vertex as glVectex3f.

Reimplemented from H3D::X3DCoordinateNode.


Member Data Documentation

auto_ptr< MFVec3f > H3D::Coordinate::point
 

A vector of Vec3f defining points in 3d-space.

Access type: inputOutput
Coordinate_point.dot


Generated on Thu Aug 24 12:38:56 2006 for H3D API by  doxygen 1.4.5