Class SoWrapperKit

  • All Implemented Interfaces:
    SafeDisposable

    public class SoWrapperKit
    extends SoSeparatorKit
    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 .

    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.

    File format/default:

    WrapperKit {

      boundingBoxCaching AUTO
      renderCulling AUTO
      pickCulling AUTO
      callbackList NULL
      pickStyle NULL
      appearance NULL
      units NULL
      transform NULL
      texture2Transform NULL
      childList NULL
      localTransform NULL
      contents NULL
    }

    CATALOG PARTS

    All Parts

      Part NamePart TypeDefault TypeNULL 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 NameContainer TypePossible Types
      callbackList Separator Callback, EventCallback

    See Also:
    SoAppearanceKit, SoBaseKit, SoCameraKit, SoLightKit SoNodeKit, SoNodeKitDetail, SoNodeKitListPart SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit
    • Constructor Detail

      • SoWrapperKit

        public SoWrapperKit()
        Constructor.