| 1 |
NAME SoPointSet SoPtSet "" { point set shape node } |
| 2 |
|
| 3 |
INCLUDE nodes/SoPointSet.h |
| 4 |
|
| 5 |
DESC { |
| 6 |
This node represents a set of points located at the |
| 7 |
coordinates specified by the \vvertexProperty\. field (from \cSoVertexShape\.) |
| 8 |
or the current inherited coordinates. For optimal performance, |
| 9 |
the \vvertexProperty\. field is recommended. |
| 10 |
\p |
| 11 |
\cSoPointSet\. uses the coordinates in order, |
| 12 |
starting with the first one. The |
| 13 |
number of points in the set is specified by the \vnumPoints\. field. |
| 14 |
\p |
| 15 |
The coordinates of the point set are transformed by the current |
| 16 |
cumulative transformation. The points are drawn with the current light |
| 17 |
model and drawing style (drawing styles \kFILLED\. and \kLINES\. are |
| 18 |
treated as \kPOINTS\.). |
| 19 |
\p |
| 20 |
Treatment of the current material and normal binding is as follows: |
| 21 |
\kPER_PART\., \kPER_FACE\., and \kPER_VERTEX\. bindings bind one |
| 22 |
material or normal to each point. The default material binding is |
| 23 |
\kOVERALL\.. The default normal binding is |
| 24 |
\kPER_VERTEX\.. |
| 25 |
} |
| 26 |
|
| 27 |
FIELD numPoints { Number of points. } |
| 28 |
|
| 29 |
METHOD "" SoPointSet() { Creates a point set node with default settings. } |
| 30 |
|
| 31 |
METHOD "" static SoType getClassTypeId() { |
| 32 |
Returns type identifier for this class. |
| 33 |
} |
| 34 |
|
| 35 |
ACTION SoGLRenderAction { |
| 36 |
Draws points based on the current coordinates, normals, materials, |
| 37 |
drawing style, and so on. |
| 38 |
} |
| 39 |
|
| 40 |
ACTION SoRayPickAction { |
| 41 |
Picks points based on the current coordinates and transformation. |
| 42 |
Details about the intersection are returned in an \cSoPointDetail\.. |
| 43 |
} |
| 44 |
|
| 45 |
ACTION SoGetBoundingBoxAction { |
| 46 |
Computes the bounding box that encloses all points in the set with the |
| 47 |
current transformation applied to them. Sets the center to the |
| 48 |
average of the coordinates of all points. |
| 49 |
} |
| 50 |
|
| 51 |
ACTION SoCallbackAction { |
| 52 |
If any point callbacks are registered with the action, they will be |
| 53 |
invoked for each point in the set. |
| 54 |
} |
| 55 |
|
| 56 |
ALSO { |
| 57 |
SoCoordinate3, |
| 58 |
SoDrawStyle, |
| 59 |
SoPointDetail, |
| 60 |
SoVertexProperty |
| 61 |
} |