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

The Polyline2D node specifies a series of contiguous line segments in the local 2D coordinate system connecting the specified vertices. More...

#include <H3D/Polyline2D.h>

Inheritance diagram for H3D::Polyline2D:

Inheritance graph

List of all members.

Classes

class  SFBound
 SFBound is specialized update itself from the lineSegments field of the Polyline2D node. More...

Public Member Functions

 Polyline2D (Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< DisplayList > _displayList=0, Inst< MFBool > _isTouched=0, Inst< MFVec3f > _force=0, Inst< MFVec3f > _contactPoint=0, Inst< MFVec3f > _contactNormal=0, Inst< MFVec2f > _lineSegments=0)
 Constructor.
virtual void render ()
 Renders the Polyline2D using OpenGL.
virtual int nrLines ()
 The number of lines rendered by this geometry.

Public Attributes

auto_ptr< MFVec2flineSegments
 The lineSegments field specifies the vertices to be connected.

Static Public Attributes

static H3DNodeDatabase database
 The H3DNodeDatabase for this node.


Detailed Description

The Polyline2D node specifies a series of contiguous line segments in the local 2D coordinate system connecting the specified vertices.

The lineSegments field specifies the vertices to be connected.

Internal routes:
Polyline2D.dot

Member Data Documentation

The lineSegments field specifies the vertices to be connected.

Access type: inputOutput

Polyline2D_lineSegments.dot

Referenced by Polyline2D(), and render().


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

Generated on Fri Nov 7 10:30:46 2008 for H3D API by  doxygen 1.5.7