#include <LineSet.h>
Inheritance diagram for H3D::LineSet:

Public Types | |
|
typedef DependentSFNode< X3DCoordinateNode, FieldRef< X3DGeometricPropertyNode, Field,&X3DCoordinateNode::propertyChanged > > | SFCoordinateNode |
| SFCoordinateNode is dependent on coordChanged field in X3DCoordinateNode. | |
|
typedef DependentSFNode< X3DColorNode, FieldRef< X3DGeometricPropertyNode, Field,&X3DColorNode::propertyChanged > > | SFColorNode |
| SFColorNode is dependent on colorChanged field in X3DColorNode. | |
| typedef CoordBoundField | SFBound |
| The bound field for LineSet is a CoordBoundField. | |
Public Member Functions | |
| H3D_VALUE_EXCEPTION (int, InvalidVertexCountValue) | |
| Thrown then vertexCount value is < 2. | |
| LineSet (Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< DisplayList > _displayList=0, Inst< SFColorNode > _color=0, Inst< SFCoordinateNode > _coord=0, Inst< MFInt32 > _vertexCount=0) | |
| Constructor. | |
| virtual void | render () |
| Render the LineSet with OpenGL. | |
Public Attributes | |
| auto_ptr< SFColorNode > | color |
| The color field specifies the colour of the line set at each vertex and contains a X3DColorNode. | |
| auto_ptr< SFCoordinateNode > | coord |
| The coord field specifies the 3D vertices of the line set and contains a X3DCoordinateNode. | |
| auto_ptr< MFInt32 > | vertexCount |
| The vertexCount field describes how many vertices are to be used in each polyline from the coordinate field. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
The color field specifies the colour of the line set at each vertex and contains a X3DColorNode. If the color field is NULL and there is a Material defined for the Appearance affecting this LineSet, the emissiveColor of the Material shall be used to draw the lines.
The coord field specifies the 3D vertices of the line set and contains a Coordinate node.
The vertexCount field describes how many vertices are to be used in each polyline from the coordinate field. Coordinates are assigned to each line by taking vertexCount[n] vertices from the coordinate field. Each value of the vertexCount array shall be greater than or equal to two. It shall be an error to have a value less than two.
Lines are not lit, are not texture-mapped, and do not participate in collision detection. The width of lines is implementation dependent and each line segment is solid (i.e., not dashed).
|
|
The color field specifies the colour of the line set at each vertex and contains a X3DColorNode. If the color field is NULL and there is a Material defined for the Appearance affecting this LineSet, the emissiveColor of the Material shall be used to draw the lines. Access type: inputOutput
|
|
|
The coord field specifies the 3D vertices of the line set and contains a X3DCoordinateNode. Access type: inputOutput
|
|
|
The vertexCount field describes how many vertices are to be used in each polyline from the coordinate field. Coordinates are assigned to each line by taking vertexCount[n] vertices from the coordinate field.
Access type: inputOutput
|
1.4.5