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. TheSoAppearanceKitis 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.SoAppearanceKitis derived fromSoBaseKitand thus also includes a callbackList part for adding callback nodes.PARTS (
SoLightModel) lightModel
AnSoLightModelnode that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoEnvironment) environment
AnSoEnvironmentnode that affects any nodes that follow this nodekit in the scene graph. This part is NULL by default.(
SoDrawStyle) drawStyle
AnSoDrawStylenode that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoMaterial) material
AnSoMaterialnode that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoComplexity) complexity
AnSoComplexitynode that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoTexture2) texture2
AnSoTexture2node that affects any shapes that follow this nodekit in the scene graph. This part is NULL by default.(
SoFont) font
AnSoFontnode that affects any text nodes that follow this nodekit in the scene graph. This part is NULL by default.NOTES Note that
SoSeparatorKitincludes anSoAppearanceKitas 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 SoNodekitCataloggetClassNodekitCatalog()Returns theSoNodekitCatalogfor 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 theSoNodekitCatalogfor this class.
-
-