29 #ifndef __NURBSCURVE_H__
30 #define __NURBSCURVE_H__
106 virtual void update();
119 virtual void callList(
bool build_list =
true );
124 Inst< SFBound > _bound = 0,
125 Inst< DisplayList > _displayList = 0,
126 Inst< MFBool > _isTouched = 0,
127 Inst< MFVec3f > _force = 0,
128 Inst< MFVec3f > _contactPoint = 0,
129 Inst< MFVec3f > _contactNormal = 0,
130 Inst< SFCoordinateNode > _controlPoint = 0,
131 Inst< SFInt32 > _tessellation = 0,
132 Inst< MFDouble > _weight = 0,
133 Inst< MFDouble > _knot = 0,
134 Inst< SFInt32 > _order = 0,
135 Inst< SFBool > _closed = 0 );
139 virtual void render();
216 GLUnurbsObj *theNurb;
Contains the DependentSFNode and DependentMFNode template classes.
Contains the MFDouble field class.
Contains the SFBool field class.
Contains the SFInt32 field class.
Header file for X3DBoundedObject.
Header file for X3DCoordinateNode, X3D scene-graph node.
Header file for X3DParametricGeometryNode, X3D scene-graph node.
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
Display list is extended in order to set color to emissive color from material outside of display lis...
Definition: NurbsCurve.h:116
SFBound is specialized to update from the SFBound fields routed to it.
Definition: NurbsCurve.h:102
The NurbsCurve node is a geometry node defining a parametric curve in 3D space.
Definition: NurbsCurve.h:79
H3DUniquePtr< MFDouble > knot
Specifies the knots of the curve.
Definition: NurbsCurve.h:180
H3DUniquePtr< MFDouble > weight
A weight value that shall be greater than zero is assigned to each controlPoint.
Definition: NurbsCurve.h:173
H3DUniquePtr< SFInt32 > order
Defines the order of curve.
Definition: NurbsCurve.h:195
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: NurbsCurve.h:213
H3DUniquePtr< SFInt32 > tessellation
The tessellation field gives a hint to the curve tessellator by setting an absolute number of subdivi...
Definition: NurbsCurve.h:159
DependentSFNode< X3DCoordinateNode, FieldRef< X3DGeometricPropertyNode, Field, &X3DCoordinateNode::propertyChanged > > SFCoordinateNode
SFCoordinateNode is dependent on coordChanged field in X3DCoordinateNode.
Definition: NurbsCurve.h:88
H3DUniquePtr< SFBool > closed
closed define whether or not to evaluate the curve as closed.
Definition: NurbsCurve.h:203
H3DUniquePtr< SFCoordinateNode > controlPoint
The controlPoint field.
Definition: NurbsCurve.h:210
H3DUniquePtr< Field > printWarning
A field used to check if a warning should be printed.
Definition: NurbsCurve.h:219
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 coordinate node types in X3D.
Definition: X3DCoordinateNode.h:47
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 abstract node type is the base type for all geometry node types that are created parametrically ...
Definition: X3DParametricGeometryNode.h:44
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