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
public abstract class SoBaseExtrusion extends SoShape
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 fieldsbeginCap
andendCap
.The
scaleMode
field is used to select the points that will be scaled by the scaleFactor in the current transformation (for exampleSoTransform
), 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:
SoExtrusion
,SoCircularExtrusion
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoBaseExtrusion.ExtrusionModes
static class
SoBaseExtrusion.ScaleModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoShape
SoShape.ShapeTypes
-
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
beginCap
If true, begin planar cap surfaces generated.SoSFBool
endCap
If true, end planar cap surfaces generated.SoSFEnum<SoBaseExtrusion.ExtrusionModes>
extrusionMode
Construction behavior of the extrusion.SoSFEnum<SoBaseExtrusion.ScaleModes>
scaleMode
Scaling behavior of the extrusion.SoMFVec3f
spine
Spine points.-
Fields inherited from class com.openinventor.inventor.nodes.SoShape
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoShape
getShapeType, isPrimitiveRestartAvailable, isPrimitiveRestartAvailable
-
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
-
beginCap
public final SoSFBool beginCap
If true, begin planar cap surfaces generated. Default is true.
-
endCap
public final SoSFBool endCap
If true, end planar cap surfaces generated. Default is true.
-
spine
public final SoMFVec3f spine
Spine points. Default is [0 0 0, 0 1 0].
-
scaleMode
public final SoSFEnum<SoBaseExtrusion.ScaleModes> scaleMode
Scaling behavior of the extrusion. . Default is DEFAULT.
-
extrusionMode
public final SoSFEnum<SoBaseExtrusion.ExtrusionModes> extrusionMode
Construction behavior of the extrusion. . Default is SMOOTH.
-
-