Debian Codegraph @

doc/man/man3/ivm/nodes/SoIndexedFaceSet.ivm

raw
1 NAME SoIndexedFaceSet SoIndFSet "" { indexed polygonal face shape node }
2
3 INCLUDE nodes/SoIndexedFaceSet.h
4
5 DESC {
6 This node represents a 3D shape formed by constructing faces
7 (polygons) from vertices located at the coordinates
8 specified in the \vvertexProperty\. field (from \cSoVertexShape\.),
9 or the current inherited state.
10 For optimal performance, the \vvertexProperty\. field is recommended.
11 \p
12 \cSoIndexedFaceSet\. uses the indices in the \vcoordIndex\. field
13 (from \cSoIndexedShape\.) to specify the polygonal faces. An index of
14 \kSO_END_FACE_INDEX\. (-1) indicates that the current face has ended
15 and the next one begins.
16 For improved performance, arrange all the faces with only 3
17 vertices at beginning of the list, then all faces with 4 vertices,
18 and finally all other faces.
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 The \kPER_PART\. and \kPER_FACE\. bindings specify a material or
26 normal for each face. \kPER_VERTEX\. specifies a material or normal
27 for each vertex. The corresponding \k_INDEXED\. bindings are the
28 same, but use the \vmaterialIndex\. or \vnormalIndex\. indices (see
29 \cSoIndexedShape\.). The default material binding is
30 \kOVERALL\.. The default normal binding is
31 \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 \p
39 Textures are applied
40 as described for the \cSoIndexedShape\. class.
41 }
42
43 METHOD "" SoIndexedFaceSet() {
44 Creates an indexed face set node with default settings.
45 }
46
47 METHOD "" static SoType getClassTypeId() {
48 Returns type identifier for this class.
49 }
50
51 ACTION SoGLRenderAction {
52 Draws faces based on the current coordinates, normals, materials,
53 drawing style, and so on.
54 }
55
56 ACTION SoRayPickAction {
57 Picks faces based on the current coordinates and transformation.
58 Details about the intersection are returned in an \cSoFaceDetail\..
59 }
60
61 ACTION SoGetBoundingBoxAction {
62 Computes the bounding box that encloses all vertices of the face set
63 with the current transformation applied to them. Sets the center to
64 the average of the coordinates of all vertices.
65 }
66
67 ACTION SoCallbackAction {
68 If any triangle callbacks are registered with the action, they will
69 be invoked for each successive triangle generated from each face in
70 the set.
71 }
72
73 ALSO {
74 SoCoordinate3,
75 SoDrawStyle,
76 SoFaceDetail,
77 SoFaceSet,
78 SoVertexProperty
79 }