Debian Codegraph @

doc/man/man3/ivm/nodes/SoNurbsCurve.ivm

raw
1 NAME SoNurbsCurve SoCurve "" { NURBS curve shape node }
2
3 INCLUDE nodes/SoNurbsCurve.h
4
5 DESC {
6 This class represents a NURBS curve, based on the knot vector and the
7 control points that you specify. The \vknotVector\. field specifies a
8 floating-point array of values; the values are the coordinates of the
9 knot points in the curve, and you must enter them in non-decreasing
10 order. The curve will use the first \vnumControlPoints\. values in the
11 current coordinates as control points.
12 \p
13 If you specify \en\. knots, you can specify up to \en-8\. control
14 points. The number of knots minus the number of control points is
15 known as the order of the curve. A NURBS curve can have an order of up
16 to 8.
17 \p
18 The control points of the curve are transformed by the current
19 transformation matrix. The curve is drawn with the current lighting
20 model and drawing style (drawing style \kFILLED\. is treated as
21 \kLINES\.). The coordinates, normals, and texture coordinates of a
22 NURBS curve are generated, so you cannot bind explicit normals or
23 texture coordinates to a NURBS curve.
24 \p
25 The approximation of the curve by line segments is affected by the
26 current complexity value.
27 }
28
29 FIELD numControlPoints { Number of control points. }
30 FIELD knotVector { The knot vector. }
31
32 METHOD "" SoNurbsCurve() {
33 Creates a NURBS curve node with default settings.
34 }
35
36 METHOD "" static SoType getClassTypeId() {
37 Returns type identifier for this class.
38 }
39
40 ACTION SoGLRenderAction {
41 Draws the curve based on the current coordinates, material, and so on.
42 }
43
44 ACTION SoRayPickAction {
45 Picks the curve based on the current coordinates and transformation.
46 }
47
48 ACTION SoGetBoundingBoxAction {
49 Computes the bounding box that encloses all control points of the
50 curve with the current transformation applied to them. Sets the center
51 to the average of the control points.
52 }
53
54 ACTION SoCallbackAction {
55 If any line segment callbacks are registered with the action, they
56 will be invoked for each successive segment approximating the curve.
57 }
58
59 ALSO {
60 SoIndexedNurbsCurve, SoNurbsSurface
61 }