SoAppearanceKit — appearance nodekit class
Contents
Catalog Parts
┌─────────────────────────────────────────────────────────┐
│ Allparts │
│ NULLby │
│ PartNamePartTypeDefaultTypeDefault │
│ │
│ callbackList NodeKitListPart -- yes │
│ lightModel LightModel -- yes │
│ environment Environment -- yes │
│ drawStyle DrawStyle -- yes │
│ material Material -- yes │
│ complexity Complexity -- yes │
│ texture2 Texture2 -- yes │
│ font Font -- yes │
│ │
└─────────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────────────────┐
│ Extrainformationforlistpartsfromabovetable │
│ │
│ PartNameContainerTypePermissibleTypes │
│ │
│ callbackList Separator Callback, EventCallback │
│ │
└────────────────────────────────────────────────────────────────┘
Description
The SoAppearanceKit is used to create a group of property nodes that will be used to affect subsequent
shape nodes or nodekits in the scene graph.
This nodekit defines seven new parts: lightModel, environment, drawStyle, material, complexity, texture2,
and font. Note that it does not include binding nodes such as SoMaterialBinding.
SoAppearanceKit is derived from SoBaseKit and thus also includes a callbackList part for adding callback
nodes.
File Format/Defaults
AppearanceKit{callbackListNULLlightModelNULLenvironmentNULLdrawStyleNULLmaterialNULLcomplexityNULLtexture2NULLfontNULL}Inherits From
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoAppearanceKit
Methods
SoAppearanceKit()
Constructor.
staticconstSoNodekitCatalog*getClassNodekitCatalog()const
Returns the SoNodekitCatalog for this class
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoAppearanceKit — appearance nodekit class
Note
Note that SoSeparatorKit includes an SoAppearanceKit as a part.
Parts
(SoLightModel)lightModel
An SoLightModel node that affects any shapes that follow this nodekit in the scene graph. This part is
NULL by default.
(SoEnvironment)environment
An SoEnvironment node that affects any nodes that follow this nodekit in the scene graph. This part is
NULL by default.
(SoDrawStyle)drawStyle
An SoDrawStyle node that affects any shapes that follow this nodekit in the scene graph. This part is
NULL by default.
(SoMaterial)material
An SoMaterial node that affects any shapes that follow this nodekit in the scene graph. This part is
NULL by default.
(SoComplexity)complexity
An SoComplexity node that affects any shapes that follow this nodekit in the scene graph. This part is
NULL by default.
(SoTexture2)texture2
An SoTexture2 node that affects any shapes that follow this nodekit in the scene graph. This part is
NULL by default.
(SoFont)font
An SoFont node that affects any text nodes that follow this nodekit in the scene graph. This part is
NULL by default.
See Also
SoBaseKit,SoCameraKit,SoLightKit,SoNodeKit,SoNodeKitDetail,SoNodeKitListPart,SoNodeKitPath,SoNodekitCatalog,SoSceneKit,SoSeparatorKit,SoShapeKit,SoWrapperKitSoAppearanceKit(3IV)()
Synopsis
#include<Inventor/nodekits/SoAppearanceKit.h>
Parts from class SoAppearanceKit:
(SoLightModel)lightModel(SoEnvironment)environment(SoDrawStyle)drawStyle(SoMaterial)material(SoComplexity)complexity(SoTexture2)texture2(SoFont)font
Parts from class SoBaseKit:
(SoNodeKitListPart)callbackList
Methods from class SoAppearanceKit:
SoAppearanceKit()staticconstSoNodekitCatalog*getClassNodekitCatalog()conststaticSoTypegetClassTypeId()
Methods from class SoBaseKit:
virtualconstSoNodekitCatalog*getNodekitCatalog()constvirtualSoNode*getPart(constSbName&partName,SbBoolmakeIfNeeded)SbStringgetPartString(constSoBase*part)virtualSoNodeKitPath*createPathToPart(constSbName&partName,SbBoolmakeIfNeeded,constSoPath*pathToExtend=NULL)virtualSbBoolsetPart(constSbName&partName,SoNode*newPart)SbBoolset(char*partName,char*parameters)SbBoolset(char*nameValuePairs)staticSbBoolisSearchingChildren()staticvoidsetSearchingChildren(SbBoolnewVal)
Methods from class SoNode:
voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)
Methods from class SoFieldContainer:
voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)
Methods from class SoBase:
voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const
Macros from class SoBaseKit:
SO_GET_PART(kit,partName,partClass)SO_CHECK_PART(kit,partName,partClass)