| 1 |
NAME SoLinearProfile SoLProf "" { Piecewise-linear profile curve } |
| 2 |
|
| 3 |
INCLUDE nodes/SoLinearProfile.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node specifies a piecewise-linear curve that is used as a profile |
| 7 |
for either a trimming patch of a Nurbs surface or for the bevel of |
| 8 |
\cSoText3\.. The \vindex\. field indexes into the current profile |
| 9 |
coordinates (specified in an \cSoProfileCoordinate2\. or |
| 10 |
\cSoProfileCoordinate3\. node). |
| 11 |
If the last value of the \vindex\. field is |
| 12 |
\kSO_LINEAR_PROFILE_USE_REST_OF_VERTICES\. (-1), all remaining |
| 13 |
coordinates in the current coordinates will be used, starting with |
| 14 |
the coordinate after the previous index (all coordinates will be used |
| 15 |
if \kSO_LINEAR_PROFILE_USE_REST_OF_VERTICES\. is the only value in the |
| 16 |
\vindex\. field). For example, if \vindex\. contains the values |
| 17 |
\k[2,0,-1]\. and there are 4 profile coordinates (0-3), it is as if |
| 18 |
the \vindex\. field contains \k[2,0,1,2,3]\.. |
| 19 |
} |
| 20 |
|
| 21 |
METHOD "" SoLinearProfile() { |
| 22 |
Creates a linear profile node with default settings. |
| 23 |
} |
| 24 |
|
| 25 |
METHOD "" static SoType getClassTypeId() { |
| 26 |
Returns type identifier for this class. |
| 27 |
} |
| 28 |
|
| 29 |
ACTION SoGLRenderAction, SoRayPickAction, SoCallbackAction { |
| 30 |
Adds a profile to the current state. |
| 31 |
} |
| 32 |
|
| 33 |
ALSO { SoNurbsProfile, SoProfileCoordinate2, SoProfileCoordinate3 } |