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
public abstract class SoShape extends SoNode
Abstract base class for all shape nodes. This node is the abstract base class for all shape (geometry) nodes. All classes derived fromSoShape
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoShape.ShapeTypes
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
Fields Modifier and Type Field Description SoSFBool
boundingBoxIgnoring
Whether to ignore this node during bounding box traversal.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SoShape.ShapeTypes
getShapeType()
Gets the current shape Full Scene Antialiasing type.static boolean
isPrimitiveRestartAvailable()
Calls isPrimitiveRestartAvailable((com.openinventor.inventor.misc.SoState)null).static boolean
isPrimitiveRestartAvailable(SoState state)
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 Detail
-
boundingBoxIgnoring
public final SoSFBool boundingBoxIgnoring
Whether to ignore this node during bounding box traversal. Default is false.
-
-
Method Detail
-
isPrimitiveRestartAvailable
public static boolean isPrimitiveRestartAvailable()
Calls isPrimitiveRestartAvailable((com.openinventor.inventor.misc.SoState)null).
-
getShapeType
public SoShape.ShapeTypes getShapeType()
Gets the current shape Full Scene Antialiasing type.
-
isPrimitiveRestartAvailable
public static boolean isPrimitiveRestartAvailable(SoState state)
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
.
-
-