29 #ifndef __POLYPOINT2D_H__
30 #define __POLYPOINT2D_H__
62 virtual void callList(
bool build_list =
true );
73 virtual void update() {
74 const vector< Vec2f > &points =
77 _bound->fitAround2DPoints( points.begin(), points.end() );
84 Inst< SFBound > _bound = 0,
85 Inst< DisplayList > _displayList = 0,
86 Inst< MFBool > _isTouched = 0,
87 Inst< MFVec3f > _force = 0,
88 Inst< MFVec3f > _contactPoint = 0,
89 Inst< MFVec3f > _contactNormal = 0,
90 Inst< MFVec2f > _point = 0 );
95 virtual void render();
Contains the MFVec2f field class.
Header file for X3DGeometryNode, X3D scene-graph node.
The BoxBound is a Bound class that specifies the bound using an axis-aligned bounding box.
Definition: Bound.h:144
The MFVec2f field contains a vector of Vec2f.
Definition: MFVec2f.h:41
Display list is extended in order to set color to emissive color from material outside of display lis...
Definition: Polypoint2D.h:59
SFBound is specialized update itself from the point field of the Polypoint2D node.
Definition: Polypoint2D.h:71
The Polyline2D node specifies a set of vertices in the local 2D coordinate system at each of which is...
Definition: Polypoint2D.h:52
virtual int nrPoints()
The number of points rendered by this geometry.
Definition: Polypoint2D.h:98
H3DUniquePtr< MFVec2f > point
The point field specifies the vertices to be displayed.
Definition: Polypoint2D.h:107
H3DUniquePtr< Field > vboFieldsUpToDate
Internal field used to know if vertex buffer object can be created.
Definition: Polypoint2D.h:114
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: Polypoint2D.h:110
A template modifier class for adding type checking on the routes to any Field class.
Definition: TypedField.h:84
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
Type getValue(const char *s, const char *&rest)
Function that reads characters from a char * and converts them to a given type.
Definition: X3DFieldConversion.h:134
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