Package com.openinventor.inventor.nodes
Class SoVertexFlag
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.SoVertexFlag
- All Implemented Interfaces:
SafeDisposable
Class to mark/unmark vertices for beveling.
This node specifies the current marked/unmarked vertices for all subsequent shapes. Marked vertices will be beveled by
SoBevelAction
; unmarked vertices will not. It is defined using int_32t arrays.
For vertex-based shapes, the array elements are simply indices of the selected vertices in the coordinate array.
For SoCube
, the following vertices can be marked/unmarked:
For SoCone
, at least one value greater than or equal to 0 in the array marks/unmarks the top of the cone (which is the only vertex that can be marked).
For SoCylinder
, no vertex can be marked/unmarked.
File format/default:
VertexFlag {
vertexMarked | -1 |
vertexUnmarked | -1 |
Action behavior:
Sets: SoVertexFlagElement
- See Also:
-
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
FieldsModifier and TypeFieldDescriptionfinal SoMFInt32
final SoMFInt32
These are the fields for marked/unmarked vertices.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
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
-
vertexMarked
-
vertexUnmarked
These are the fields for marked/unmarked vertices. If a vertex appears in both arrays, it is unmarked.
-
-
Constructor Details
-
SoVertexFlag
public SoVertexFlag()Constructor.
-