Debian Codegraph @

doc/man/man3/ivm/nodes/SoIndexedNurbsCurve.ivm

raw
1 NAME SoIndexedNurbsCurve SoIndCurve "" { indexed NURBS curve shape node }
2
3 INCLUDE nodes/SoIndexedNurbsCurve.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 \vnumControlPoints\. field specifies the number of control
11 points the curve will have and will use the current coordinates that
12 are indexed from the \vcoordIndex\. field.
13 \p
14 You can get a curve of minimum order (2) by specifying two more knots
15 than control points and having at least two control points. This
16 curve would be a set of line segments connecting the control points
17 together.
18 \p
19 You can get a curve of maximum order (8) by specifying 8 more knots
20 than control points and having at least 8 control points. In this
21 curve, each control point would have influence on a larger portion of
22 the curve than with curves of lesser order.
23 \p
24 The control points of the curve are transformed by the current
25 transformation matrix. The curve is drawn with the current lighting
26 model and drawing style (drawing style \kFILLED\. is treated as
27 \kLINES\.).
28 The coordinates, normals, and texture
29 coordinates of a NURBS curve are generated, so you cannot bind
30 explicit normals or texture coordinates to a NURBS curve.
31 \p
32 The approximation of the curve by line segments is affected by the
33 current complexity value.
34 }
35
36 FIELD numControlPoints { Number of control points for the curve. }
37 FIELD coordIndex { Coordinate indices for the control points. }
38 FIELD knotVector { The knot vector for the curve. Values must be
39 in non-decreasing order. }
40
41 METHOD "" SoIndexedNurbsCurve() {
42 Creates an indexed NURBS curve node with default settings.
43 }
44
45 METHOD "" static SoType getClassTypeId() {
46 Returns type identifier for this class.
47 }
48
49 ACTION SoGLRenderAction {
50 Draws the curve based on the current coordinates, material, and so on.
51 }
52
53 ACTION SoRayPickAction {
54 Picks the curve based on the current coordinates and transformation.
55 }
56
57 ACTION SoGetBoundingBoxAction {
58 Computes the bounding box that encloses all control points of the
59 curve with the current transformation applied to them. Sets the center
60 to the average of the control points.
61 }
62
63 ACTION SoCallbackAction {
64 If any line segment callbacks are registered with the action, they
65 will be invoked for each successive segment approximating the curve.
66 }
67
68 ALSO {
69 SoNurbsCurve,
70 SoIndexedNurbsSurface
71 }