Wrapper nodekit class. More...
#include <Inventor/nodekits/SoWrapperKit.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
SoWrapperKit () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Wrapper nodekit class.
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 .
(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.
renderCaching | AUTO |
boundingBoxCaching | AUTO |
renderCulling | AUTO |
pickCulling | AUTO |
callbackList | NULL |
pickStyle | NULL |
appearance | NULL |
units | NULL |
transform | NULL |
texture2Transform | NULL |
childList | NULL |
localTransform | NULL |
contents | NULL |
Part Name | Part Type | Default Type | NULL Default |
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 |
Extra Information for List Parts from Above Table
Part Name | Container Type | Possible Types |
callbackList | Separator | Callback, EventCallback |
SoAppearanceKit, SoBaseKit, SoCameraKit, SoLightKit, SoNodeKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit
SoWrapperKit::SoWrapperKit | ( | ) |
Constructor.
static const SoNodekitCatalog* SoWrapperKit::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from SoSeparatorKit.
static SoType SoWrapperKit::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoSeparatorKit.
virtual const SoNodekitCatalog* SoWrapperKit::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from SoSeparatorKit.
virtual SoType SoWrapperKit::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoSeparatorKit.