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

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 PointSet is a CoordBoundField. | |
Public Member Functions | |
| H3D_VALUE_EXCEPTION (unsigned int, NotEnoughColors) | |
| Thrown when the number of colors in the color field are less than the number of points in the coord field. | |
| PointSet (Inst< SFNode > _metadata=0, Inst< SFBound > _bound=0, Inst< DisplayList > _displayList=0, Inst< SFColorNode > _color=0, Inst< SFCoordinateNode > _coord=0) | |
| Constructor. | |
| virtual void | render () |
| Render the LineSet with OpenGL. | |
Public Attributes | |
| auto_ptr< SFColorNode > | color |
| If the color field is not NULL, it shall specify a Color node that contains at least the number of points contained in the coord node. | |
| auto_ptr< SFCoordinateNode > | coord |
| The coord field specifies a X3DCoordinateNode. | |
Static Public Attributes | |
| static H3DNodeDatabase | database |
| The H3DNodeDatabase for this node. | |
The coord field specifies a X3DCoordinateNode. PointSet uses the coordinates in order. If the coord field is NULL, the point set is considered empty.
PointSet nodes are not lit, not texture-mapped, nor do they participate in collision detection. The size of each point is implementation-dependent.
If the color field is not NULL, it shall specify a Color node that contains at least the number of points contained in the coord node. Colours are applied to each point in order. The results are undefined if the number of values in the Color node is less than the number of values specified in the Coordinate node.
If the color field is NULL and there is a Material node defined for the Appearance node affecting this PointSet node, the emissiveColor of the Material node shall be used to draw the points.
|
|
If the color field is not NULL, it shall specify a Color node that contains at least the number of points contained in the coord node. Colours are applied to each point in order. If the color field is NULL and there is a Material node defined for the Appearance node affecting this PointSet node, the emissiveColor of the Material node shall be used to draw the points. Access type: inputOutput
|
|
|
The coord field specifies a X3DCoordinateNode. PointSet uses the coordinates in order. If the coord field is NULL, the point set is considered empty. Access type: inputOutput
|
1.4.5