man SoAppearanceKit () - appearance nodekit class

NAME

SoAppearanceKit - appearance nodekit class

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoBaseKit > SoAppearanceKit

SYNOPSIS

#include <Inventor/nodekits/SoAppearanceKit.h> Parts from class SoAppearanceKit: c } c } lightModel

c } c } environment

c } c } drawStyle

c } c } material

c } c } complexity

c } c } texture2

c } c } font Parts from class SoBaseKit: c } c } callbackList Methods from class SoAppearanceKit: c } c } SoAppearanceKit()

c } c } getClassNodekitCatalog() const

c } c } getClassTypeId() Methods from class SoBaseKit: c } c } getNodekitCatalog() const

c } c } getPart(const SbName &partName, SbBool makeIfNeeded)

c } c } getPartString(const SoBase *part)

c } c } createPathToPart(const SbName &partName, SbBool makeIfNeeded, const SoPath *pathToExtend = NULL)

c } c } setPart(const SbName &partName, SoNode *newPart)

c } c } set(char *partName, char *parameters)

c } c } set(char *nameValuePairs)

c } c } isSearchingChildren()

c } c } setSearchingChildren(SbBool newVal) Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } 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

c } c } lightModel

An SoLightModel node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default. c } c } environment

An SoEnvironment node that affects any nodes that follow this nodekit in the scene graph. This part is NULL by default. c } c } drawStyle

An SoDrawStyle node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default. c } c } material

An SoMaterial node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default. c } c } complexity

An SoComplexity node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default. c } c } texture2

An SoTexture2 node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default. c } c } font

An SoFont node that affects any text nodes that follow this nodekit in the scene graph. This part is NULL by default.

METHODS

c } c } SoAppearanceKit()

Constructor. c } c } getClassNodekitCatalog() const

Returns the SoNodekitCatalog for this class c } c } getClassTypeId()

Returns type identifier for this class.

CATALOG PARTS

box, tab(!); cb s s s lb lb lb lb lb lb lb lb l l l c. 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

box, tab(!); cb s s lb lb lbw(3) l l l. Extra information for list parts from above table Part Name!Container Type!Permissible Types

callbackList!Separator!T{ Callback, EventCallback T}

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