Debian Codegraph @

doc/man/man3/ivm/nodekits/SoShapeKit.ivm

raw
1 NAME SoShapeKit SoShapeKit "" { shape nodekit class }
2
3 INCLUDE nodekits/SoShapeKit.h
4
5 DESC {
6 A nodekit that is used for creating a shape (i.e. geometry).
7 \cSoShapeKit\. is derived from \cSoSeparatorKit\. and \cSoBaseKit\.,
8 and thus inherits all the parts defined by these classes.
9 \p
10 Furthermore, \cSoShapeKit\. adds numerous parts that can be used
11 to define a variety of \eshape\. objects, a \elocalTransform\. part,
12 and of course a \eshape\. part.
13 \p
14 All of the property nodes requires to define any of the Inventor shapes
15 are included as parts in this class.
16 Not all of these parts (nodes) are needed for any
17 one type of shape. For example, if you set the \eshape\. part to be
18 an \cSoSphere\. node, then it is not necessary to create a
19 \eprofileCoordinate3\. part since it will be ignored in drawing the
20 sphere. (And the unneeded parts will not be created, so there is
21 no performance penalty for using this class of node.
22 \p
23 This class contains two private parts. They are both \cSoSeparator\.
24 nodes. One of them sits just below the nodekit itself, and serves to
25 contain all properties within this nodekit from affecting nodes that
26 come after this nodekit. The second separator sits above the \eshape\.
27 part, and serves to cache the shape even when the \etransform\.,
28 \elocalTransform\., or \eappearance\. parts are changing.
29 }
30 PART shapeSeparator
31 { This is a private part. The parent node of the actual shape part.
32 It is a \cSoSeparator\. and is \kNULL\. by default, but
33 is created automatically if necessary. }
34
35
36
37 METHOD "" SoShapeKit() { Constructor. }
38
39 METHOD getClassNkitCat static
40 const SoNodekitCatalog *getClassNodekitCatalog() const
41 { Returns an \cSoNodekitCatalog\. for the class \cSoShapeKit\.. }
42
43 METHOD "" static SoType getClassTypeId() {
44 Returns type identifier for this class.
45 }
46
47
48 PART materialBinding
49 { An \cSoMaterialBinding\. node that can be used to set the
50 material binding for the shape. This part is \kNULL\. by default,
51 but is created automatically if necessary. }
52
53 PART normalBinding
54 { An \cSoNormalBinding\. node that can be used to set the
55 normal binding for the shape. This part is \kNULL\. by default,
56 but is created automatically if necessary. }
57
58 PART textureCoordinateBinding
59 { An \cSoTextureCoordinateBinding\. node that can be used to set the
60 texture coordinate binding for the shape. This part is \kNULL\.
61 by default, but is created automatically if necessary. }
62
63 PART shapeHints
64 { An \cSoShapeHints\. node that can be used to set the
65 shape hints for the shape. This part is \kNULL\.
66 by default, but is created automatically if necessary. }
67
68 PART coordinate3
69 { An \cSoCoordinate3\. node that can be used to set the
70 3D coordinates for a vertex-based shape.
71 This part is \kNULL\. by default, but is created automatically
72 if necessary. }
73
74 PART coordinate4
75 { An \cSoCoordinate4\. node that can be used to set the
76 4D coordinates for a NURBS shapes.
77 This part is \kNULL\. by default, but is created automatically
78 if necessary. }
79
80 PART normal
81 { An \cSoNormal\. node that can be used to set the
82 normal vectors for a vertex-based shape.
83 This part is \kNULL\. by default, but is created automatically
84 if necessary. }
85
86 PART textureCoordinate2
87 { An \cSoTextureCoordinate2\. node that can be used to set the
88 texture coordinates for a vertex-based shape.
89 This part is \kNULL\. by default, but is created automatically
90 if necessary. }
91
92 PART textureCoordinateFunction
93 { An \cSoTextureCoordinateFunction\. node that can be used to set the
94 a procedural texture coordinates function
95 for a vertex-based shape.
96 This part is \kNULL\. by default, but is created automatically
97 if necessary. }
98
99 PART profileCoordinate2
100 { An \cSoProfileCoordinate2\. node that can be used to set the
101 2D profile coordinates for a shape that uses them,
102 (e.g., \cSoText3\.).
103 This part is \kNULL\. by default, but is created automatically
104 if necessary. }
105
106 PART profileCoordinate3
107 { An \cSoProfileCoordinate3\. node that can be used to set the
108 3D profile coordinates for a shape that uses them,
109 (e.g., \cSoSoNURBSCurve\.).
110 This part is \kNULL\. by default, but is created automatically
111 if necessary. }
112
113 PART profileList
114 { An \cSoProfileList\. node that can be used to set the
115 profile curve for a shape that uses them, (e.g., \cSoNurbsCurve\.).
116 This part is \kNULL\. by default, but is created automatically
117 if necessary. }
118
119 PART localTransform
120 { An \cSoTransform\. node that can be used to set a
121 local tranformation on the shape.
122 This part is \kNULL\. by default, but is created automatically
123 if necessary. }
124
125 PART shape
126 { This is the part which specifies the actual shape node.
127 This can be any node derived from \cSoShape\.
128 By default, an \cSoCube\. is created.
129 It is important to set all of the appropriate parts
130 within this nodekit to suit the type of \cSoShape\.
131 that is used. For example, if the \eshape\. part is
132 set to an \cSoFaceSet\., then the \ecoordinate3\. shape
133 and probably the \enormal\. shape would be set as well.
134 See the reference page of the shape used for details on which
135 other nodes are necessary.
136 }
137
138
139 ALSO {
140 SoAppearanceKit,
141 SoBaseKit,
142 SoCameraKit,
143 SoLightKit,
144 SoNodeKit,
145 SoNodeKitDetail,
146 SoNodeKitListPart,
147 SoNodeKitPath,
148 SoNodekitCatalog,
149 SoSceneKit,
150 SoSeparatorKit,
151 SoWrapperKit,
152 SoCone,
153 SoCube,
154 SoCylinder,
155 SoIndexedNurbsCurve,
156 SoIndexedNurbsSurface,
157 SoNurbsCurve,
158 SoNurbsSurface,
159 SoShapeHints,
160 SoSphere,
161 SoText2,
162 SoText3,
163 SoVertexShape
164 }