108 X3DVertexAttributeNode,
109 FieldRef< X3DGeometricPropertyNode,
111 &X3DVertexAttributeNode::propertyChanged > > {
121 virtual void callList(
bool build_list =
true );
125 LineSet( Inst< SFNode > _metadata = 0,
126 Inst< SFBound > _bound = 0,
127 Inst< DisplayList > _displayList = 0,
128 Inst< SFColorNode > _color = 0,
129 Inst< SFCoordinateNode > _coord = 0,
130 Inst< MFInt32 > _vertexCount = 0,
131 Inst< SFFogCoordinate > _fogCoord = 0,
132 Inst< MFVertexAttributeNode > _attrib = 0 );
139 if( size > 1 )
return size - 1;
145 virtual void render();
167 H3DUniquePtr< SFCoordinateNode >
coord;
195 H3DUniquePtr< MFVertexAttributeNode >
attrib;
Header file for CoordBoundField, specialiced field class.
Contains the DependentSFNode and DependentMFNode template classes.
Header file for FogCoordinate.
Contains the MFInt32 field class.
Header file for X3DColorNode, X3D scene-graph node.
Header file for X3DCoordinateNode, X3D scene-graph node.
Header file for X3DGeometryNode, X3D scene-graph node.
The CoordBoundField is specialized update itself from a X3DCoordinateNode.
Definition: CoordBoundField.h:43
DependentMFNode are modified TypedMFNode fields where the field dirty status is dependent on fields i...
Definition: DependentNodeFields.h:336
DependentSFNode are modified TypedSFNode fields where the field dirty status is dependent on fields i...
Definition: DependentNodeFields.h:294
Class used for specifying a field member of a node in a DependentSFNode or DependentMFNode specificat...
Definition: DependentNodeFields.h:48
The Field class.
Definition: Field.h:46
This node defines a set of explicit fog depths on a per-vertex basis.
Definition: FogCoordinate.h:65
Display list is extended in order to set color to emissive color from material outside of display lis...
Definition: LineSet.h:118
Thrown then vertexCount value is < 2.
Definition: LineSet.h:75
The MFVertexAttributeNode is dependent on the propertyChanged field of the contained X3DVertexAttribu...
Definition: LineSet.h:111
The LineSet node represents a 3D geometry formed by constructing polylines from 3D vertices specified...
Definition: LineSet.h:72
H3DUniquePtr< SFColorNode > color
The color field specifies the colour of the line set at each vertex and contains a X3DColorNode.
Definition: LineSet.h:159
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: LineSet.h:198
DependentSFNode< X3DColorNode, FieldRef< X3DGeometricPropertyNode, Field, &X3DColorNode::propertyChanged > > SFColorNode
SFColorNode is dependent on colorChanged field in X3DColorNode.
Definition: LineSet.h:91
H3DUniquePtr< SFFogCoordinate > fogCoord
If the fogCoord field is not empty, it shall contain a list of per-vertex depth values for calculatin...
Definition: LineSet.h:186
CoordBoundField SFBound
The bound field for LineSet is a CoordBoundField.
Definition: LineSet.h:103
H3DUniquePtr< MFInt32 > vertexCount
The vertexCount field describes how many vertices are to be used in each polyline from the coordinate...
Definition: LineSet.h:178
virtual int nrLines()
The number of lines rendered by this geometry.
Definition: LineSet.h:135
H3DUniquePtr< MFVertexAttributeNode > attrib
If the attrib field is not empty it shall contain a list of X3DVertexAttributeNode instances with per...
Definition: LineSet.h:195
DependentSFNode< X3DCoordinateNode, FieldRef< X3DGeometricPropertyNode, Field, &X3DCoordinateNode::propertyChanged > > SFCoordinateNode
SFCoordinateNode is dependent on coordChanged field in X3DCoordinateNode.
Definition: LineSet.h:83
bool render_patches
This will be set to true in traverseSG if the render function is supposed to render GL_PATCHES instea...
Definition: LineSet.h:206
H3DUniquePtr< SFCoordinateNode > coord
The coord field specifies the 3D vertices of the line set and contains a X3DCoordinateNode.
Definition: LineSet.h:167
DependentSFNode< FogCoordinate, FieldRef< X3DGeometricPropertyNode, Field, &FogCoordinate::propertyChanged > > SFFogCoordinate
The SFFogCoordinate is dependent on the propertyChanged field of the contained FogCoordinate.
Definition: LineSet.h:100
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
This is the base node type for color specifications in X3D.
Definition: X3DColorNode.h:44
This is the base node type for all coordinate node types in X3D.
Definition: X3DCoordinateNode.h:47
virtual unsigned int nrAvailableCoords()=0
Returns the number of coordinates this coordinate node can render.
This is the base node type for all geometric property node types defined in X3D.
Definition: X3DGeometricPropertyNode.h:43
H3DUniquePtr< Field > propertyChanged
Field that indicated whether the properties have changed.
Definition: X3DGeometricPropertyNode.h:53
Display list is extended in order to set front sidedness of triangles outside the display list.
Definition: X3DGeometryNode.h:76
This is the base node type for all geometry in X3D.
Definition: X3DGeometryNode.h:61
H3D_VALUE_EXCEPTION(string, InvalidType)
An exception thrown when a field is of the wrong type when it is checked.
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194