File: SoNurbsCurve.ivm

package info (click to toggle)
inventor 2.1.5-10-14
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 32,892 kB
  • ctags: 21,729
  • sloc: ansic: 33,867; lisp: 7,361; cpp: 3,874; yacc: 369; sh: 359; perl: 234; awk: 141; makefile: 76; csh: 35; sed: 11
file content (61 lines) | stat: -rw-r--r-- 2,037 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
NAME SoNurbsCurve SoCurve "" { NURBS curve shape node }

INCLUDE nodes/SoNurbsCurve.h

DESC {
This class represents a NURBS curve, based on the knot vector and the
control points that you specify. The \vknotVector\. field specifies a
floating-point array of values; the values are the coordinates of the
knot points in the curve, and you must enter them in non-decreasing
order. The curve will use the first \vnumControlPoints\. values in the
current coordinates as control points.
\p
If you specify \en\. knots, you can specify up to \en-8\. control
points. The number of knots minus the number of control points is
known as the order of the curve. A NURBS curve can have an order of up
to 8.
\p
The control points of the curve are transformed by the current
transformation matrix. The curve is drawn with the current lighting
model and drawing style (drawing style \kFILLED\. is treated as
\kLINES\.). The coordinates, normals, and texture coordinates of a
NURBS curve are generated, so you cannot bind explicit normals or
texture coordinates to a NURBS curve.
\p
The approximation of the curve by line segments is affected by the
current complexity value.
}

FIELD numControlPoints { Number of control points. }
FIELD knotVector { The knot vector. }

METHOD "" SoNurbsCurve() {
Creates a NURBS curve node with default settings.
}

METHOD "" static SoType getClassTypeId() {
Returns type identifier for this class.
}

ACTION SoGLRenderAction {
Draws the curve based on the current coordinates, material, and so on.
}

ACTION SoRayPickAction {
Picks the curve based on the current coordinates and transformation.
}

ACTION SoGetBoundingBoxAction {
Computes the bounding box that encloses all control points of the
curve with the current transformation applied to them. Sets the center
to the average of the control points.
}

ACTION SoCallbackAction {
If any line segment callbacks are registered with the action, they
will be invoked for each successive segment approximating the curve.
}

ALSO {
SoIndexedNurbsCurve, SoNurbsSurface
}