Provided by: inventor-doc_2.1.5-10+dfsg-1_all
NAME
SoAppearanceKit — appearance nodekit class
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoAppearanceKit
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() static const SoNodekitCatalog * getClassNodekitCatalog() const static SoType getClassTypeId() Methods from class SoBaseKit: virtual const SoNodekitCatalog * getNodekitCatalog() const virtual SoNode * getPart(const SbName &partName, SbBool makeIfNeeded) SbString getPartString(const SoBase *part) virtual SoNodeKitPath * createPathToPart(const SbName &partName, SbBool makeIfNeeded, const SoPath *pathToExtend = NULL) virtual SbBool setPart(const SbName &partName, SoNode *newPart) SbBool set(char *partName, char *parameters) SbBool set(char *nameValuePairs) static SbBool isSearchingChildren() static void setSearchingChildren(SbBool newVal) Methods from class SoNode: void setOverride(SbBool state) SbBool isOverride() const SoNode * copy(SbBool copyConnections = FALSE) const virtual SbBool affectsState() const static SoNode * getByName(const SbName &name) static int getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: void setToDefaults() SbBool hasDefaultValues() const SbBool fieldsAreEqual(const SoFieldContainer *fc) const void copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE) void get(SbString &fieldDataString) virtual int getFields(SoFieldList &resultList) const virtual SoField * getField(const SbName &fieldName) const SbBool getFieldName(const SoField *field, SbName &fieldName) const SbBool isNotifyEnabled() const SbBool enableNotify(SbBool flag) Methods from class SoBase: void ref() void unref() const void unrefNoDelete() const void touch() virtual SoType getTypeId() const SbBool isOfType(SoType type) const virtual void setName(const SbName &name) virtual SbName getName() const Macros from class SoBaseKit: SO_GET_PART(kit, partName, partClass) SO_CHECK_PART(kit, partName, partClass)
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.
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.
METHODS
SoAppearanceKit() Constructor. static const SoNodekitCatalog * getClassNodekitCatalog() const Returns the SoNodekitCatalog for this class static SoType getClassTypeId() Returns type identifier for this class.
CATALOG PARTS
┌────────────────────────────────────────────────────────┐ │ All parts │ │ NULL by │ │Part Name Part Type Default Type Default │ │ │ │callbackList NodeKitListPart -- yes │ │lightModel LightModel -- yes │ │environment Environment -- yes │ │drawStyle DrawStyle -- yes │ │material Material -- yes │ │complexity Complexity -- yes │ │texture2 Texture2 -- yes │ │font Font -- yes │ │ │ └────────────────────────────────────────────────────────┘ ┌───────────────────────────────────────────────────────────────┐ │ Extra information for list parts from above table │ │ │ │Part Name Container Type Permissible Types │ │ │ │callbackList Separator Callback, EventCallback │ │ │ └───────────────────────────────────────────────────────────────┘
FILE FORMAT/DEFAULTS
AppearanceKit { callbackList NULL lightModel NULL environment NULL drawStyle NULL material NULL complexity NULL texture2 NULL font NULL }
NOTE
Note that SoSeparatorKit includes an SoAppearanceKit as a part.
SEE ALSO
SoBaseKit, SoCameraKit, SoLightKit, SoNodeKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit, SoWrapperKit SoAppearanceKit(3IV)()