Debian Codegraph @

doc/man/man3/ivm/nodekits/SoSeparatorKit.ivm

raw
1 NAME SoSeparatorKit SoSepKit SO_SEP_KIT_ { separator nodekit class }
2
3 INCLUDE nodekits/SoSeparatorKit.h
4
5 DESC {
6 A nodekit that is used for creating nodekit hierarchies.
7 \cSoSeparatorKit\. contains a \etransform\. part, a \echildList\. part,
8 and a few others in its catalog.
9 The \etransform\. part (an \cSoTransform\. node) affects all of the
10 children in the \kchildList\.. Each of these children must be an
11 \cSoSeparatorKit\. or from a class that is derived from \cSoSeparatorKit\.
12 (e.g., \cSoShapeKit\. and \cSoWrapperKit\.).
13 Since all members of the \echildList\. are in turn \cSoSeparatorKit\.s,
14 and each contains a \etransform\., these nested lists allow you to create
15 a hierarchy of motion, in which each \etransform\. affects an entire subgraph
16 of nodekits.
17 \p
18 The other parts added to the catalog for the \cSoSeparatorKit\. are
19 \epickStyle\., \eappearance\., \eunits\. and \etexture2Transform\..
20 Furthermore,
21 since \cSoSeparator\. is derived from \cSoBaseKit\., it inherits
22 the \ecallbackList\. part. This is a list of \cSoCallback\. and/or
23 \cSoEventCallback\. nodes which enable the \cSoSeparatorKit\. to perform
24 special callbacks whenever an action is applied to it.
25 \p
26 By creating the \epickStyle\. part, a user can alter the pick style
27 for the entire nodekit hierarchy. The \eappearance\. part is an
28 \cSoAppearanceKit\. nodekit. Note that all parts contained in the
29 \cSoAppearanceKit\. catalog can be accessed
30 as if they were part of the \cSoSeparatorKit\.. For example:
31 \+\b\k
32 myMtl = mySepKit->getPart("material",TRUE)
33 \.\.\.
34 \-\b\k
35 myMtl = SoSepKitGetPart(mySepKit,"material",TRUE)
36 \.\.\.
37 and
38 \+\b\k
39 mySepKit->setPart("material",myMtl)
40 \.\.\.
41 \-\b\k
42 SoSepKitSetPart(mySepKit,"material",myMtl)
43 \.\.\.
44 See \cSoBaseKit\. for further explanation.
45 }
46
47 METHOD "" SoSeparatorKit() { Constructor. }
48
49 METHOD getClassNkitCat static
50 const SoNodekitCatalog *getClassNodekitCatalog() const
51 { Returns an \cSoNodekitCatalog\. for the class \cSoSeparatorKit\.. }
52
53 METHOD "" static SoType getClassTypeId() {
54 Returns type identifier for this class.
55 }
56
57
58 PART pickStyle
59 { An \cSoPickStyle\. property node that can be used to set the
60 picking style of its children. This part is \kNULL\. by default,
61 but is created automatically if necessary. }
62
63 PART appearance { An \cSoAppearanceKit\. nodekit which can be used
64 to set the appearance properties of its children.
65 This part is \kNULL\. by default, but is created automatically
66 if necessary. }
67
68 PART units { An \cSoUnits\. node which can be used
69 to set the types of units, (e.g., feet), of its children.
70 This part is \kNULL\. by default, but is created automatically
71 if necessary. }
72
73 PART transform { An \cSoTransform\. node which can be used
74 to set the overall position, orientation, and scale
75 of its children. This part is \kNULL\. by default,
76 but is created automatically if necessary. }
77
78 PART texture2Transform { An \cSoTexture2Transform\. node which can be used
79 to apply a transformation to any textures used by its children.
80 This part is \kNULL\. by default, but is created automatically
81 if necessary. }
82
83 PART childList { This part contains the children nodekits of this
84 \cSoSeparatorKit\.. This part is a \elist part\. and can
85 have multiple children. This part is \kNULL\. by default,
86 but is created automatically when the first child is added
87 to the \echildList\..
88 Also, when asked to build a member of the \echildList\.,
89 the separatorKit
90 will build an \cSoShapeKit\. by default.
91 So if the \echildList\. part is NULL, and you call:
92 \m\+getPart("childList[0]", TRUE)\.\-SoSepKitGetPart(mySepKit,
93 "childList[0]", TRUE)\.\.,
94 the separator kit will create the \echildList\. and add
95 an \cSoShapeKit\. as the new element in the list.
96 }
97
98
99 ENUM CacheEnabled {
100 OFF "Never build or use a cache",
101 ON "Always try to build a cache",
102 AUTO "Automatic caching"
103 }
104
105 FIELD renderCaching { Set render caching mode. Default is \kAUTO\.. }
106
107
108 FIELD boundingBoxCaching { Set bounding box caching mode.
109 Default is \kON\.. Setting this value to \kAUTO\. is equivalent
110 to \kON\ \(em automatic culling is not implemented. }
111
112
113 FIELD renderCulling { Set render culling mode. Default is \kOFF\..
114 Setting this value to \kAUTO\. is equivalent to \kON\ \(em
115 automatic culling is not implemented. }
116
117
118 FIELD pickCulling { Set pick culling mode. Default is \kAUTO\.. }
119
120
121 ALSO {
122 SoAppearanceKit,
123 SoBaseKit,
124 SoCameraKit,
125 SoLightKit,
126 SoNodeKit,
127 SoNodeKitDetail,
128 SoNodeKitListPart,
129 SoNodeKitPath,
130 SoNodekitCatalog,
131 SoSceneKit,
132 SoShapeKit,
133 SoWrapperKit }
134