Debian Codegraph @

doc/man/man3/ivm/nodes/SoIndexedTriangleStripSet.ivm

raw
1 NAME SoIndexedTriangleStripSet SoIndTriStripSet "" {
2 indexed triangle strip set shape node
3 }
4
5 INCLUDE nodes/SoIndexedTriangleStripSet.h
6
7 DESC {
8 This shape node constructs triangle strips out of vertices located at
9 the coordinates specified in the \vvertexProperty\. field
10 (from \cSoVertexShape\.), or the
11 current inherited coordinates.
12 For optimal performance, the \vvertexProperty\. field is recommended.
13 \p
14 \cSoIndexedTriangleStripSet\. uses the
15 indices in the \vcoordIndex\. field (from \cSoIndexedShape\.) to
16 specify the vertices of the triangle strips. An index of
17 \kSO_END_STRIP_INDEX\. (-1) indicates that the current strip has ended
18 and the next one begins.
19 \p
20 The vertices of the faces are transformed by the current
21 transformation matrix. The faces are drawn with the current light
22 model and drawing style.
23 \p
24 Treatment of the current material and normal binding is as follows:
25 \kPER_PART\. specifies a material or normal per strip. \kPER_FACE\.
26 binding specifies a material or normal for each triangle.
27 \kPER_VERTEX\. specifies a material or normal for each vertex. The
28 corresponding \k_INDEXED\. bindings are the same, but use the
29 \vmaterialIndex\. or \vnormalIndex\. indices (see \cSoIndexedShape\.).
30 The default material binding is \kOVERALL\.. The
31 default normal binding is \kPER_VERTEX_INDEXED\.
32 \p
33 If any normals (or materials) are specified, Inventor assumes
34 you provide the correct number of them, as indicated by the binding.
35 You will see unexpected results
36 if you specify fewer normals (or materials) than the shape requires.
37 If no normals are specified, they will be generated automatically.
38 }
39
40 METHOD "" SoIndexedTriangleStripSet() {
41 Creates an indexed triangle strip set node with default settings.
42 }
43
44 METHOD "" static SoType getClassTypeId() {
45 Returns type identifier for this class.
46 }
47
48 ACTION SoGLRenderAction {
49 Draws a strip set based on the current coordinates, normals,
50 materials, drawing style, and so on.
51 }
52
53 ACTION SoRayPickAction {
54 Picks on the strip set based on the current coordinates and
55 transformation. Details about the intersection are returned in an
56 \cSoFaceDetail\..
57 }
58
59 ACTION SoGetBoundingBoxAction {
60 Computes the bounding box that encloses all vertices of the strip set
61 with the current transformation applied to them. Sets the center to
62 the average of the coordinates of all vertices.
63 }
64
65 ACTION SoCallbackAction {
66 If any triangle callbacks are registered with the action, they will be
67 invoked for each successive triangle forming the strips of the set.
68 }
69
70 ALSO {
71 SoCoordinate3,
72 SoDrawStyle,
73 SoFaceDetail,
74 SoIndexedFaceSet,
75 SoTriangleStripSet,
76 SoVertexProperty
77 }