| 1 |
NAME SoCoordinate4 SoCoord4 "" { rational coordinate point node } |
| 2 |
|
| 3 |
INCLUDE nodes/SoCoordinate4.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node defines a set of 3D coordinates to be used by subsequent |
| 7 |
vertex-based shape nodes (those derived from \cSoVertexShape\.) or |
| 8 |
shape nodes that use them as control points (such as NURBS curves and |
| 9 |
surfaces). Coordinates are specifed as rational 4-vectors; the |
| 10 |
corresponding 3D point is computed by dividing the first three |
| 11 |
components by the fourth. This node does not produce a visible result |
| 12 |
during rendering; it simply replaces the current coordinates in the |
| 13 |
rendering state for subsequent nodes to use. |
| 14 |
\p |
| 15 |
This node exists primarily for use with NURBS curves and surfaces. |
| 16 |
However, it can be used to define coordinates for any vertex-based |
| 17 |
shape. |
| 18 |
} |
| 19 |
|
| 20 |
FIELD point { Coordinate point(s). } |
| 21 |
|
| 22 |
METHOD "" SoCoordinate4() { |
| 23 |
Creates a coordinate node with default settings. |
| 24 |
} |
| 25 |
|
| 26 |
METHOD "" static SoType getClassTypeId() { |
| 27 |
Returns type identifier for this class. |
| 28 |
} |
| 29 |
|
| 30 |
ACTION SoGLRenderAction, SoCallbackAction, |
| 31 |
SoGetBoundingBoxAction, SoRayPickAction { |
| 32 |
Sets coordinates in current traversal state. |
| 33 |
} |
| 34 |
|
| 35 |
ALSO { |
| 36 |
SoCoordinate4, |
| 37 |
SoIndexedNurbsCurve, |
| 38 |
SoIndexedNurbsSurface, |
| 39 |
SoNurbsCurve, |
| 40 |
SoNurbsProfile, |
| 41 |
SoNurbsSurface, |
| 42 |
SoVertexShape |
| 43 |
} |