SoAppearanceKit(3IV)NAMESoAppearanceKit (SoAppearKit) - appearance nodekit class
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoAppearanceKitSYNOPSIS
#include <Inventor_c/nodekits/SoAppearanceKit.h>
typedef SoAppearanceKit SoAppearKit
Parts from class SoAppearanceKit:
(SoLightModel) lightModel
(SoEnvironment) environment
(SoDrawStyle) drawStyle
(SoMaterial) material
(SoComplexity) complexity
(SoTexture2) texture2
(SoFont) font
Parts from class SoBaseKit:
(SoNodeKitListPart) callbackList
Functions from class SoAppearanceKit:
SoAppearanceKit * SoAppearKitCreate()
const SoNodekitCatalog * SoAppearKitGetClassNkitCat()
SoType SoAppearKitGetClassTypeId()
Functions from class SoBaseKit:
const SoNodekitCatalog * SoAppearKitGetCat(const SoAppearKit *this)
SoNode * SoAppearKitGetPart(SoAppearKit *this, const
char *partName, SbBool makeIfNeeded)
SbString SoAppearKitGetPartString(SoAppearKit *this,
const SoBase *part)
SoNodeKitPath * SoAppearKitCreatePathToPart(SoAppearKit *this,
const char *partName, SbBool makeIfNeeded,
const SoPath *pathToExtend = NULL)
SbBool SoAppearKitSetPart(SoAppearKit *this, const
char *partName, SoNode *newPart)
SbBool SoAppearKitSet(SoAppearKit *this, char
*partName, char *parameters)
SbBool SoAppearKitSet2(SoAppearKit *this, char
*nameValuePairs)
SbBool SoAppearKitIsSearchingChildren()
void SoAppearKitSetSearchingChildren(SbBool newVal)
Functions from class SoNode:
Page 1SoAppearanceKit(3IV)
void SoAppearKitSetOverride(SoAppearKit *this, SbBool
state)
SbBool SoAppearKitIsOverride(const SoAppearKit *this)
SoNode * SoAppearKitCopy(const SoAppearKit *this, SbBool
copyConnections = FALSE)
SbBool SoAppearKitAffectsState(const SoAppearKit *this)
SoNode * SoAppearKitGetByName(const char *name)
int SoAppearKitGetByNameList(const char *name, SoNodeList
*list)
Functions from class SoFieldContainer:
void SoAppearKitSetToDflts(SoAppearKit *this)
SbBool SoAppearKitHasDfltVals(const SoAppearKit *this)
SbBool SoAppearKitFldsAreEq(const SoAppearKit *this, const
SoFieldContainer *fc)
void SoAppearKitCopyFieldVals(SoAppearKit *this, const
SoFieldContainer *fc, SbBool copyConnections =
FALSE)
void SoAppearKitGet(SoAppearKit *this, SbString
*fieldDataString)
int SoAppearKitGetFields(const SoAppearKit *this,
SoFieldList *resultList)
SoField * SoAppearKitGetField(const SoAppearKit *this, const
char *fieldName)
SbBool SoAppearKitGetFieldName(const SoAppearKit *this,
const SoField *field, SbName *fieldName)
SbBool SoAppearKitIsNotifyEnabled(const SoAppearKit *this)
SbBool SoAppearKitEnableNotify(SoAppearKit *this, SbBool
flag)
Functions from class SoBase:
void SoAppearKitRef(SoAppearKit *this)
void SoAppearKitUnref(const SoAppearKit *this)
void SoAppearKitUnrefNoDelete(const SoAppearKit *this)
void SoAppearKitTouch(SoAppearKit *this)
SoType SoAppearKitGetTypeId(const SoAppearKit *this)
SbBool SoAppearKitIsOfType(const SoAppearKit *this, SoType
type)
void SoAppearKitSetName(SoAppearKit *this, const char
*name)
SbName SoAppearKitGetName(const SoAppearKit *this)
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.
Page 2SoAppearanceKit(3IV)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.
FUNCTIONSSoAppearanceKit * SoAppearKitCreate()
Constructor.
const SoNodekitCatalog * SoAppearKitGetClassNkitCat()
Returns the SoNodekitCatalog for this class
SoType SoAppearKitGetClassTypeId()
Returns type identifier for this class.
CATALOG PARTSPage 3SoAppearanceKit(3IV)
_________________________________________________________
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
Callback, EventCallback
callbackList Separator
________________________________________________________________
|
|
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
Page 4