vrml.vrml97.nurbs
Node definitions for the VRML97 nurbs extension proposal
OpenGLContext only has the most rudimentary of NURBs support,
and still this module doesn't even define many of the NURBs-
related prototypes which you could run across. I've not
provided the more funky of the nodes, such as the interpolators
and the deformation matrices.
Classes
A 2D contour (collection of joined segments)
- children
- a set of polylines and/or curves which are joined to form the trimming contour
children
exposedField MFNode children []
A 3D nurbs curve (a curvy line in 3D space)
color
exposedField MFColor color []
controlPoint
exposedField MFVec3f controlPoint []
knot
exposedField MFFloat32 knot []
order
exposedField SFInt32 order 3
tessellation
exposedField SFInt32 tessellation 0
weight
exposedField MFFloat32 weight []
class NurbsCurve2D(
Node
):
A 2D nurbs curve normally used for trimming surfaces
controlPoint
exposedField MFVec2f controlPoint []
knot
exposedField MFFloat32 knot []
order
exposedField SFInt32 order 3
tessellation
exposedField SFInt32 tessellation 0
weight
exposedField MFFloat32 weight []
class NurbsGroup(
Node
):
(Unused) holder for multiple nurbs objects
bboxCenter
field SFVec3f bboxCenter
0.0, 0.0
bboxSize
field SFVec3f bboxSize
-1.0, -1.0
children
exposedField MFNode children []
tessellationScale
exposedField SFFloat tessellationScale 1.0
A Nurbs surface object
ccw
field SFBool ccw 1
color
exposedField MFColor color []
controlPoint
exposedField MFVec3f controlPoint []
solid
field SFBool solid 1
texCoord
exposedField SFNode SFNode NULL
uDimension
exposedField SFInt32 uDimension 0
uKnot
exposedField MFFloat32 uKnot []
uOrder
exposedField SFInt32 uOrder 3
uTessellation
exposedField SFInt32 uTessellation 0
vDimension
exposedField SFInt32 vDimension 0
vKnot
exposedField MFFloat32 vKnot []
vOrder
exposedField SFInt32 vOrder 3
vTessellation
exposedField SFInt32 vTessellation 0
weight
exposedField MFFloat32 weight []
class Polyline2D(
Node
):
A 2D piece-wise-linear polyline
point
exposedField MFVec2f point []
A trimmed Nurbs surface object
surface
exposedField SFNode SFNode NULL
trimmingContour
exposedField MFNode trimmingContour []