Package com.openinventor.inventor.nodes
Class SoBaseExtrusion
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
com.openinventor.inventor.nodes.SoBaseExtrusion
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
SoCircularExtrusion,SoExtrusion
Abstract base class for all extrusion-based shape nodes.
This node is the abstract base class for all extrusion-based shape (geometry) nodes. It is used as a repository for convenience functions for subclasses and to provide a type identifier to make it easy to determine whether a shape is extrusion-based.
All extrusion-based shapes are created by extruding a 2D shape along a 3D spine. The user can determine which caps are created using the fields beginCap and endCap.
The scaleMode field is used to select the points that will be scaled by the scaleFactor in the current transformation (for example SoTransform), if any. Translation and rotation are applied in all cases.
The extrusionMode field is used to select the extrusion algorithm.
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 enumstatic enumNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoShape
SoShape.ShapeTypesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFBoolIf true, begin planar cap surfaces generated.final SoSFBoolIf true, end planar cap surfaces generated.Construction behavior of the extrusion.Scaling behavior of the extrusion.final SoMFVec3fSpine points.Fields inherited from class com.openinventor.inventor.nodes.SoShape
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Method Summary
Methods inherited from class com.openinventor.inventor.nodes.SoShape
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailableMethods 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, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
beginCap
If true, begin planar cap surfaces generated. Default is true. -
endCap
If true, end planar cap surfaces generated. Default is true. -
spine
Spine points. Default is [0 0 0, 0 1 0]. -
scaleMode
Scaling behavior of the extrusion. . Default is DEFAULT. -
extrusionMode
Construction behavior of the extrusion. . Default is SMOOTH.
-