29 #ifndef __CIRCLE2D_H__
30 #define __CIRCLE2D_H__
63 virtual void update() {
66 bb->
size->setValue( Vec3f( d, d, 0.f ) );
78 virtual void callList(
bool build_list =
true );
82 Circle2D( Inst< SFNode > _metadata = 0,
83 Inst< SFBound > _bound = 0,
84 Inst< DisplayList > _displayList = 0,
85 Inst< MFBool > _isTouched = 0,
86 Inst< MFVec3f > _force = 0,
87 Inst< MFVec3f > _contactPoint = 0,
88 Inst< MFVec3f > _contactNormal = 0,
89 Inst< SFFloat > _radius = 0 );
92 virtual void render();
Contains the SFFloat 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
H3DUniquePtr< SFVec3f > size
The size of the bounding box.
Definition: Bound.h:287
Display list is extended in order to set color to emissive color from material outside of display lis...
Definition: Circle2D.h:75
SFBound is specialized update itself from the radius field of the Circle2D node.
Definition: Circle2D.h:61
The Circle2D node specifies a circle centred at (0,0) in the local 2D coordinate system.
Definition: Circle2D.h:52
virtual int nrLines()
The number of lines rendered by this geometry.
Definition: Circle2D.h:95
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: Circle2D.h:108
H3DUniquePtr< SFFloat > radius
The radius field specifies the radius of the circle.
Definition: Circle2D.h:105
The SFFloat field contains one single-precision floating point number.
Definition: SFFloat.h:41
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