Open Inventor Reference
SoWrapperKit Class Reference

Wrapper nodekit class. More...

#include <Inventor/nodekits/SoWrapperKit.h>

Inheritance diagram for SoWrapperKit:
SoSeparatorKit SoBaseKit SoNode SoFieldContainer SoBase

List of all members.

Public Member Functions

 SoWrapperKit ()
 Constructor.

Static Public Member Functions

static void initClass ()
 Initializes base node class.

Protected Member Functions

virtual ~SoWrapperKit ()

Detailed 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.

Parts
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.
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, SoShapeKit

Definition at line 98 of file SoWrapperKit.h.


Constructor & Destructor Documentation

SoWrapperKit::SoWrapperKit ( )
virtual SoWrapperKit::~SoWrapperKit ( ) [protected, virtual]

Member Function Documentation

static void SoWrapperKit::initClass ( ) [static]

Reimplemented from SoSeparatorKit.


The documentation for this class was generated from the following file: