1SoAppearanceKit(3IV)()                                  SoAppearanceKit(3IV)()
2
3
4

NAME

6       SoAppearanceKit — appearance nodekit class
7

INHERITS FROM

9       SoBase > SoFieldContainer > SoNode > SoBaseKit > SoAppearanceKit
10

SYNOPSIS

12       #include <Inventor/nodekits/SoAppearanceKit.h>
13
14          Parts from class SoAppearanceKit:
15
16     (SoLightModel)      lightModel
17     (SoEnvironment)     environment
18     (SoDrawStyle)       drawStyle
19     (SoMaterial)        material
20     (SoComplexity)      complexity
21     (SoTexture2)        texture2
22     (SoFont)            font
23
24          Parts from class SoBaseKit:
25
26     (SoNodeKitListPart)  callbackList
27
28          Methods from class SoAppearanceKit:
29
30                         SoAppearanceKit()
31     static const SoNodekitCatalog *
32                         getClassNodekitCatalog() const
33     static SoType       getClassTypeId()
34
35          Methods from class SoBaseKit:
36
37     virtual const SoNodekitCatalog *
38                              getNodekitCatalog() const
39     virtual   SoNode   *         getPart(const   SbName   &partName,   SbBool
40                                   makeIfNeeded)
41     SbString                 getPartString(const SoBase *part)
42     virtual SoNodeKitPath *  createPathToPart(const SbName &partName,  SbBool
43                                   makeIfNeeded,  const SoPath *pathToExtend =
44                                   NULL)
45     virtual SbBool           setPart(const SbName &partName, SoNode *newPart)
46     SbBool                   set(char *partName, char *parameters)
47     SbBool                   set(char *nameValuePairs)
48     static SbBool            isSearchingChildren()
49     static void              setSearchingChildren(SbBool newVal)
50
51          Methods from class SoNode:
52
53     void                setOverride(SbBool state)
54     SbBool              isOverride() const
55     SoNode *            copy(SbBool copyConnections = FALSE) const
56     virtual SbBool      affectsState() const
57     static SoNode *     getByName(const SbName &name)
58     static int          getByName(const SbName &name, SoNodeList &list)
59
60          Methods from class SoFieldContainer:
61
62     void                setToDefaults()
63     SbBool              hasDefaultValues() const
64     SbBool              fieldsAreEqual(const SoFieldContainer *fc) const
65     void                copyFieldValues(const  SoFieldContainer  *fc,  SbBool
66                              copyConnections = FALSE)
67     void                get(SbString &fieldDataString)
68     virtual int         getFields(SoFieldList &resultList) const
69     virtual SoField *   getField(const SbName &fieldName) const
70     SbBool              getFieldName(const SoField *field, SbName &fieldName)
71                              const
72     SbBool              isNotifyEnabled() const
73     SbBool              enableNotify(SbBool flag)
74
75          Methods from class SoBase:
76
77     void                ref()
78     void                unref() const
79     void                unrefNoDelete() const
80     void                touch()
81     virtual SoType      getTypeId() const
82     SbBool              isOfType(SoType type) const
83     virtual void        setName(const SbName &name)
84     virtual SbName      getName() const
85
86          Macros from class SoBaseKit:
87
88     SO_GET_PART(kit, partName, partClass)
89     SO_CHECK_PART(kit, partName, partClass)
90
91

DESCRIPTION

93       The SoAppearanceKit is used to create a group of  property  nodes  that
94       will  be used to affect subsequent shape nodes or nodekits in the scene
95       graph.
96
97       This nodekit defines seven new parts:  lightModel,  environment,  draw‐
98       Style,  material, complexity, texture2, and font. Note that it does not
99       include binding nodes such as SoMaterialBinding.
100
101       SoAppearanceKit is derived from SoBaseKit  and  thus  also  includes  a
102       callbackList part for adding callback nodes.
103

PARTS

105     (SoLightModel)      lightModel
106          An  SoLightModel  node  that  affects  any  shapes  that follow this
107          nodekit in the scene graph. This part is NULL by default.
108
109     (SoEnvironment)     environment
110          An SoEnvironment node  that  affects  any  nodes  that  follow  this
111          nodekit in the scene graph. This part is NULL by default.
112
113     (SoDrawStyle)       drawStyle
114          An SoDrawStyle node that affects any shapes that follow this nodekit
115          in the scene graph. This part is NULL by default.
116
117     (SoMaterial)        material
118          An SoMaterial node that affects any shapes that follow this  nodekit
119          in the scene graph. This part is NULL by default.
120
121     (SoComplexity)      complexity
122          An  SoComplexity  node  that  affects  any  shapes  that follow this
123          nodekit in the scene graph. This part is NULL by default.
124
125     (SoTexture2)        texture2
126          An SoTexture2 node that affects any shapes that follow this  nodekit
127          in the scene graph. This part is NULL by default.
128
129     (SoFont)            font
130          An  SoFont node that affects any text nodes that follow this nodekit
131          in the scene graph. This part is NULL by default.
132
133

METHODS

135                         SoAppearanceKit()
136          Constructor.
137
138     static const SoNodekitCatalog *
139                         getClassNodekitCatalog() const
140          Returns the SoNodekitCatalog for this class
141
142     static SoType       getClassTypeId()
143          Returns type identifier for this class.
144
145

CATALOG PARTS

147       ┌────────────────────────────────────────────────────────┐
148All parts                        
149NULL by 
150Part Name      Part Type         Default Type   Default 
151       │                                                        │
152       │callbackList   NodeKitListPart   --               yes   │
153       │lightModel     LightModel        --               yes   │
154       │environment    Environment       --               yes   │
155       │drawStyle      DrawStyle         --               yes   │
156       │material       Material          --               yes   │
157       │complexity     Complexity        --               yes   │
158       │texture2       Texture2          --               yes   │
159       │font           Font              --               yes   │
160       │                                                        │
161       └────────────────────────────────────────────────────────┘
162       ┌───────────────────────────────────────────────────────────────┐
163Extra information for list parts from above table        
164       │                                                               │
165Part Name      Container Type   Permissible Types              
166       │                                                               │
167       │callbackList   Separator        Callback, EventCallback        │
168       │                                                               │
169       └───────────────────────────────────────────────────────────────┘

FILE FORMAT/DEFAULTS

171       AppearanceKit {
172          callbackList  NULL
173          lightModel    NULL
174          environment   NULL
175          drawStyle     NULL
176          material      NULL
177          complexity    NULL
178          texture2      NULL
179          font          NULL
180     }
181

NOTE

183       Note that SoSeparatorKit includes an SoAppearanceKit as a part.
184

SEE ALSO

186       SoBaseKit, SoCameraKit, SoLightKit,  SoNodeKit,  SoNodeKitDetail,  SoN‐
187       odeKitListPart,  SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSepara‐
188       torKit, SoShapeKit, SoWrapperKit
189
190
191
192
193                                                        SoAppearanceKit(3IV)()
Impressum