| 1 |
NAME SoIndexedLineSet SoIndLSet "" { indexed polyline shape node } |
| 2 |
|
| 3 |
INCLUDE nodes/SoIndexedLineSet.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node represents a 3D shape formed by constructing polylines from |
| 7 |
vertices located at the coordinates specified in the \vvertexProperty\. |
| 8 |
field (from \cSoVertexShape\.), or the current inherited coordinates. |
| 9 |
For optimal performance, the \vvertexProperty\. field is recommended. |
| 10 |
\p |
| 11 |
\cSoIndexedLineSet\. |
| 12 |
uses the indices in the \vcoordIndex\. field (from \cSoIndexedShape\.) |
| 13 |
to specify the polylines. An index of \kSO_END_LINE_INDEX\. (-1) |
| 14 |
indicates that the current polyline has ended and the next one begins. |
| 15 |
\p |
| 16 |
The coordinates of the line set are transformed by the current |
| 17 |
cumulative transformation. The lines are drawn with the current light |
| 18 |
model and drawing style (drawing style \kFILLED\. is treated as |
| 19 |
\kLINES\.). |
| 20 |
\p |
| 21 |
Treatment of the current material and normal binding is as follows: |
| 22 |
The \kPER_PART\. binding specifies a material or normal for each |
| 23 |
segment of the line. The \kPER_FACE\. binding specifies a material or |
| 24 |
normal for each polyline. \kPER_VERTEX\. specifies a material or |
| 25 |
normal for each vertex. The corresponding \k_INDEXED\. bindings are |
| 26 |
the same, but use the \vmaterialIndex\. or \vnormalIndex\. indices |
| 27 |
(see \cSoIndexedShape\.). The default material binding is |
| 28 |
\kOVERALL\.. The default normal binding is |
| 29 |
\kPER_VERTEX_INDEXED\. |
| 30 |
\p |
| 31 |
The current complexity value has no effect on the rendering of indexed |
| 32 |
line sets. |
| 33 |
} |
| 34 |
|
| 35 |
METHOD "" SoIndexedLineSet() { |
| 36 |
Creates an indexed line set node with default settings. |
| 37 |
} |
| 38 |
|
| 39 |
METHOD "" static SoType getClassTypeId() { |
| 40 |
Returns type identifier for this class. |
| 41 |
} |
| 42 |
|
| 43 |
ACTION SoGLRenderAction { |
| 44 |
Draws lines based on the current coordinates, normals, materials, |
| 45 |
drawing style, and so on. |
| 46 |
} |
| 47 |
|
| 48 |
ACTION SoRayPickAction { |
| 49 |
Picks lines based on the current coordinates and transformation. |
| 50 |
Details about the intersection are returned in an \cSoLineDetail\.. |
| 51 |
} |
| 52 |
|
| 53 |
ACTION SoGetBoundingBoxAction { |
| 54 |
Computes the bounding box that encloses all vertices of the line set |
| 55 |
with the current transformation applied to them. Sets the center to |
| 56 |
the average of the coordinates of all vertices. |
| 57 |
} |
| 58 |
|
| 59 |
ACTION SoCallbackAction { |
| 60 |
If any line segment callbacks are registered with the action, they will |
| 61 |
be invoked for each successive segment in the line set. |
| 62 |
} |
| 63 |
|
| 64 |
ALSO { |
| 65 |
SoCoordinate3, |
| 66 |
SoDrawStyle, |
| 67 |
SoLineDetail, |
| 68 |
SoLineSet, |
| 69 |
SoVertexProperty |
| 70 |
} |