Class SoAppearanceKit
- 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.SoAppearanceKit
-
- All Implemented Interfaces:
SafeDisposable
public class SoAppearanceKit extends SoBaseKit
Appearance nodekit class. TheSoAppearanceKit
is used to create a group of property nodes that will be used to affect subsequent shape nodes or nodekits in the scene graph.This nodekit defines seven new parts: lightModel , environment , drawStyle , material , complexity , texture2 , and font . Note that it does not include binding nodes such as
SoMaterialBinding
.SoAppearanceKit
is derived fromSoBaseKit
and thus also includes a callbackList part for adding callback nodes.PARTS (
SoLightModel
) lightModel
AnSoLightModel
node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoEnvironment
) environment
AnSoEnvironment
node that affects any nodes that follow this nodekit in the scene graph. This part is NULL by default.(
SoDrawStyle
) drawStyle
AnSoDrawStyle
node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoMaterial
) material
AnSoMaterial
node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoComplexity
) complexity
AnSoComplexity
node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoTexture2
) texture2
AnSoTexture2
node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoFont
) font
AnSoFont
node that affects any text nodes that follow this nodekit in the scene graph. This part is NULL by default.NOTES Note that
SoSeparatorKit
includes anSoAppearanceKit
as a part.File format/default:
AppearanceKit {
callbackList NULL lightModel NULL environment NULL drawStyle NULL material NULL complexity NULL texture2 NULL font NULL CATALOG PARTS All Parts
Part Name Part Type Default Type NULL Default callbackList NodeKitListPart yes lightModel LightModel yes environment Environment yes drawStyle DrawStyle yes material Material yes complexity Complexity yes texture2 Texture2 yes font Font 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.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.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoAppearanceKit()
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.
-
-