Class SoSeparatorKit
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodekits.SoBaseKit
-
- com.openinventor.inventor.nodekits.SoSeparatorKit
-
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
SoShapeKit
,SoWrapperKit
public class SoSeparatorKit extends SoBaseKit
Separator nodekit class. A nodekit that is used for creating nodekit hierarchies.SoSeparatorKit
contains a transform part, a childList part, and a few others in its catalog. The transform part (anSoTransform
node) affects all of the children in the childList. Each of these children must be anSoSeparatorKit
or from a class that is derived fromSoSeparatorKit
(e.g.,SoShapeKit
andSoWrapperKit
). Since all members of the childList are in turn SoSeparatorKits, and each contains a transform , these nested lists allow you to create a hierarchy of motion, in which each transform affects an entire subgraph of nodekits.The other parts added to the catalog for the
SoSeparatorKit
are pickStyle , appearance , units and texture2Transform . Furthermore, sinceSoSeparator
is derived fromSoBaseKit
, it inherits the callbackList part. This is a list ofSoCallback
and/orSoEventCallback
nodes which enable theSoSeparatorKit
to perform special callbacks whenever an action is applied to it.By creating the pickStyle part, a user can alter the pick style for the entire nodekit hierarchy. The appearance part is an
SoAppearanceKit
nodekit. Note that all parts contained in theSoAppearanceKit
catalog can be accessed as if they were part of theSoSeparatorKit
.See
SoBaseKit
for further explanation.PARTS (
SoPickStyle
) pickStyle
AnSoPickStyle
property node that can be used to set the picking style of its children. This part is NULL by default, but is created automatically if necessary.(
SoAppearanceKit
) appearance
AnSoAppearanceKit
nodekit which can be used to set the appearance properties of its children. This part is NULL by default, but is created automatically if necessary.(
SoUnits
) units
AnSoUnits
node which can be used to set the types of units, (e.g., feet), of its children. This part is NULL by default, but is created automatically if necessary.(
SoTransform
) transform
AnSoTransform
node which can be used to set the overall position, orientation, and scale of its children. This part is NULL by default, but is created automatically if necessary.(
SoTexture2Transform
) texture2Transform
AnSoTexture2Transform
node which can be used to apply a transformation to any textures used by its children. This part is NULL by default, but is created automatically if necessary.(
SoNodeKitListPart
) childList
This part contains the children nodekits of thisSoSeparatorKit
. This part is a list part and can have multiple children. This part is NULL by default, but is created automatically when the first child is added to the childList. Also, when asked to build a member of the childList, the separatorKit will build anSoShapeKit
by default. So if the childList part is NULL, and you call: getPart("childList[0]", true), the separator kit will create the childList and add anSoShapeKit
as the new element in the list.File format/default:
SeparatorKit {
boundingBoxCaching AUTO renderCulling AUTO pickCulling AUTO callbackList NULL pickStyle NULL appearance NULL units NULL transform NULL texture2Transform NULL childList 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 Extra Information for List Parts from Above Table
Part Name Container Type Possible Types callbackList Separator Callback, EventCallback
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoSeparatorKit.Cachings
Possible values for caching.-
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 Modifier and Type Field Description SoSFEnum<SoSeparatorKit.Cachings>
boundingBoxCaching
Set bounding box caching mode.SoSFEnum<SoSeparatorKit.Cachings>
pickCulling
Set pick culling mode.SoSFEnum<SoSeparatorKit.Cachings>
renderCaching
Deprecated.As of Open Inventor 10300.SoSFEnum<SoSeparatorKit.Cachings>
renderCulling
Set render culling mode.-
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 SoSeparatorKit()
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
-
-
-
-
Field Detail
-
renderCaching
@Deprecated public final SoSFEnum<SoSeparatorKit.Cachings> renderCaching
Deprecated.As of Open Inventor 10300. This field is ignored. Render caching is set internally to ensure best performance.Set render caching mode. . Default is AUTO.Warning Deprecated since Open Inventor 10300. This field is ignored. Render caching is set internally to ensure best performance.
-
boundingBoxCaching
public final SoSFEnum<SoSeparatorKit.Cachings> boundingBoxCaching
Set bounding box caching mode. . Default is ON. Setting this value to AUTO is equivalent to ON - automatic culling is not implemented.
-
renderCulling
public final SoSFEnum<SoSeparatorKit.Cachings> renderCulling
Set render culling mode. . Default is OFF. Setting this value to AUTO is equivalent to ON - automatic culling is not implemented.
-
pickCulling
public final SoSFEnum<SoSeparatorKit.Cachings> pickCulling
Set pick culling mode. . Default is AUTO.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-