Class SoWrapperKit
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class SoWrapperKit extends SoSeparatorKit
Wrapper nodekit class.SoWrapperKit
is derived fromSoSeparatorKit
. It adds the capability to wrap an arbitrary scene graph, (non-nodekit), within anSoSeparatorKit
, so that it may be used along with other shape kits in a hierarchy. There are two additional parts included inSoWrapperKit
: 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 fromSoSeparatorKit
, it may be put into anotherSoSeparatorKit
's childList .PARTS (
SoTransform
) localTransform
This part is anSoTransform
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 anSoSeparator
node that contains a user-supplied scene graph. This scene graph can contain any nodes. This part is NULL by default and anSoSeparator
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 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodekits.SoSeparatorKit
SoSeparatorKit.Cachings
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.nodekits.SoSeparatorKit
boundingBoxCaching, pickCulling, renderCaching, renderCulling
-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoWrapperKit()
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.-
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-