Package com.openinventor.inventor.nodes
Class SoShape
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.nodes.SoShape
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
SoAlgebraicShape
,SoAnnoText3
,SoAsciiText
,SoBaseExtrusion
,SoBufferedShape
,SoCone
,SoCSGShape
,SoCube
,SoCylinder
,SoImage
,SoLdmShape
,SoNurbsCurve
,SoNurbsSurface
,SoSphere
,SoText2
,SoText3
,SoVertexShape
Abstract base class for all shape nodes.
This node is the abstract base class for all shape (geometry) nodes. All classes derived from
SoShape
draw geometry during render traversal.
File format/default:
This is an abstract class. See the reference page of a derived class for the format and default values.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Basic type for antialiased rendering for this shape (Do not consider theSoDrawStyle
property currently in the state).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
FieldsModifier and TypeFieldDescriptionfinal SoSFBool
Whether to ignore this node during bounding box traversal.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionGets the current shape Full Scene Antialiasing type.static boolean
Calls isPrimitiveRestartAvailable((com.openinventor.inventor.misc.SoState)null).static boolean
Returns true if the primitive restart feature is available.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, set, 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 Details
-
boundingBoxIgnoring
Whether to ignore this node during bounding box traversal. Default is false.
-
-
Method Details
-
isPrimitiveRestartAvailable
public static boolean isPrimitiveRestartAvailable()Calls isPrimitiveRestartAvailable((com.openinventor.inventor.misc.SoState)null). -
getShapeType
Gets the current shape Full Scene Antialiasing type. -
isPrimitiveRestartAvailable
Returns true if the primitive restart feature is available. It is better to call this function with anSoGLContext
created on the device used for rendering or with a valid state.Primitive restart (if available) can be used with
SoBufferedShape
.
-