SoWrapperKit — wrapper nodekit class
Contents
Catalog Parts
┌────────────────────────────────────────────────────────────────┐
│ Allparts │
│ NULLby │
│ PartNamePartTypeDefaultTypeDefault │
│ │
│ callbackList NodeKitListPart -- yes │
│ pickStyle PickStyle -- yes │
│ appearance AppearanceKit -- yes │
│ units Units -- yes │
│ transform Transform -- yes │
│ texture2Transform Texture2Transform -- yes │
│ childList NodeKitListPart -- yes │
│ localTransform Transform -- yes │
│ contents Separator -- yes │
│ │
└────────────────────────────────────────────────────────────────┘
┌────────────────────────────────────────────────────────────────┐
│ Extrainformationforlistpartsfromabovetable │
│ │
│ PartNameContainerTypePermissibleTypes │
│ │
│ callbackList Separator Callback, EventCallback │
│ childList Separator ShapeKit, SeparatorKit │
│ │
└────────────────────────────────────────────────────────────────┘
Description
SoWrapperKit is derived from SoSeparatorKit. It adds the capability to wrap an arbitrary scene graph,
(non-nodekit), within an SoSeparatorKit, so that it may be used along with other shape kits in a
hierarchy. There are two additional parts included in SoWrapperKit: localTransform and contents.
The part contents is an SoSeparator node beneath which any arbitrary scene graph can be added. This is
especially useful for importing scene graphs of unknown structure (non-nodekits) into nodekit format.
Since an SoWrapperKit is a class descended from SoSeparatorKit, it may be put into another
SoSeparatorKit's childList.
File Format/Defaults
WrapperKit{renderCachingAUTOboundingBoxCachingAUTOrenderCullingAUTOpickCullingAUTOcallbackListNULLpickStyleNULLappearanceNULLunitsNULLtransformNULLtexture2TransformNULLchildListNULLlocalTransformNULLcontentsNULL}Inherits From
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoSeparatorKit > SoWrapperKit
Methods
SoWrapperKit()
Constructor.
staticconstSoNodekitCatalog*getClassNodekitCatalog()const
Returns an SoNodekitCatalog for the class SoWrapperKit.
staticSoTypegetClassTypeId()
Returns type identifier for this class.
Name
SoWrapperKit — wrapper nodekit class
Parts
(SoTransform)localTransform
This part is an SoTransform node that is used to affect the scene graph defined in contents part. This
part is NULL by default and is automatically created if requested.
(SoSeparator)contents
This part is an SoSeparator node that contains a user-supplied scene graph. This scene graph can
contain any nodes. This part is NULL by default and an SoSeparator is automatically created if the
user asks the nodekit to build the part.
See Also
SoAppearanceKit,SoBaseKit,SoCameraKit,SoLightKit,SoNodeKit,SoNodeKitDetail,SoNodeKitListPart,SoNodeKitPath,SoNodekitCatalog,SoSceneKit,SoSeparatorKit,SoShapeKitSoWrapperKit(3IV)()
Synopsis
#include<Inventor/nodekits/SoWrapperKit.h>
Fields from class SoSeparatorKit:
SoSFEnumrenderCachingSoSFEnumboundingBoxCachingSoSFEnumrenderCullingSoSFEnumpickCulling
Parts from class SoWrapperKit:
(SoTransform)localTransform(SoSeparator)contents
Parts from class SoSeparatorKit:
(SoPickStyle)pickStyle(SoAppearanceKit)appearance(SoUnits)units(SoTransform)transform(SoTexture2Transform)texture2Transform(SoNodeKitListPart)childList
Parts from class SoBaseKit:
(SoNodeKitListPart)callbackList
Methods from class SoWrapperKit:
SoWrapperKit()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)