29 #ifndef __ARCCLOSE2D_H__
30 #define __ARCCLOSE2D_H__
79 virtual void update() {
82 bb->
size->setValue( Vec3f( d, d, 0.f ) );
89 Inst< SFBound > _bound = 0,
90 Inst< DisplayList > _displayList = 0,
91 Inst< MFBool > _isTouched = 0,
92 Inst< MFVec3f > _force = 0,
93 Inst< MFVec3f > _contactPoint = 0,
94 Inst< MFVec3f > _contactNormal = 0,
95 Inst< SFFloat > _endAngle = 0,
96 Inst< SFFloat > _startAngle = 0,
97 Inst< SFFloat > _radius = 0,
98 Inst< SFString > _closureType = 0,
99 Inst< SFBool > _solid = 0 );
102 virtual void render();
Contains the SFFloat field class.
Contains the SFString field class.
Header file for X3DGeometryNode, X3D scene-graph node.
SFBound is specialized update itself from the radius field of the Box node.
Definition: ArcClose2D.h:77
The ArcClose node specifies a portion of a circle whose center is at (0,0) and whose angles are measu...
Definition: ArcClose2D.h:68
H3DUniquePtr< SFBool > solid
The solid field specifies if both sides of the closed arc should be rendered.
Definition: ArcClose2D.h:160
virtual int nrTriangles()
The number of triangles rendered by this geometry.
Definition: ArcClose2D.h:105
H3DUniquePtr< SFFloat > endAngle
The end angle for the ArcClose.
Definition: ArcClose2D.h:120
H3DUniquePtr< SFFloat > startAngle
The start angle for the ArcClose.
Definition: ArcClose2D.h:129
H3DUniquePtr< SFString > closureType
A closureType of "PIE" connects the end point to the start point by defining two straight line segmen...
Definition: ArcClose2D.h:150
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: ArcClose2D.h:163
H3DUniquePtr< SFFloat > radius
The radius field specifies the radius of the circle of which the ArcClose is a portion.
Definition: ArcClose2D.h:138
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
The SFFloat field contains one single-precision floating point number.
Definition: SFFloat.h:41
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
A template modifier class for adding type checking on the routes to any Field class.
Definition: TypedField.h:84
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