Class PoArrow3
- All Implemented Interfaces:
SafeDisposable
This node draws a single 3D arrow consisting of a polyline with optional arrowhead or rectangle at each end. Therefore the minimum number of points is 2. Additional points could be used to make, for example, a curved arrow.
File format/default:
PoArrow3 {
| point | 0 0 0 |
| startPatternType | NO_PATTERN |
| endPatternType | NO_PATTERN |
| patternWidth | 0.05 |
| patternHeight | 0.03 |
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of pattern at the arrow extremities.Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesNested 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 SoSFEnum<PoArrow3.PatternTypes> Defines the end arrow pattern type.final SoSFFloatDefine the height of the start and end arrow pattern.final SoSFFloatDefine the width of the start and end arrow pattern.final SoMFVec3fPoint list of the arrow.final SoSFEnum<PoArrow3.PatternTypes> Defines the start arrow pattern type.Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
ConstructorsConstructorDescriptionPoArrow3()Default constructor.Calls PoArrow3(_point, PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), (float)0.05f, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType) Calls PoArrow3(_point, startType, PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), (float)0.05f, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType) Calls PoArrow3(_point, startType, endType, (float)0.05f, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType, float _patternWidth) Calls PoArrow3(_point, startType, endType, _patternWidth, (float)0.03f).PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType, float _patternWidth, float _patternHeight) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalogReturns theSoNodekitCatalogfor this class.Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitMethods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenMethods 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, 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
-
point
Point list of the arrow. -
startPatternType
Defines the start arrow pattern type. -
endPatternType
Defines the end arrow pattern type. -
patternWidth
Define the width of the start and end arrow pattern. It is given in the normalized space [0-1]x[0-1]x([0-1]) defined by the current domain (cfPoBasedescription). -
patternHeight
Define the height of the start and end arrow pattern. It is given in the normalized space [0-1]x[0-1]x([0-1]) defined by the current domain (cfPoBasedescription).
-
-
Constructor Details
-
PoArrow3
Calls PoArrow3(_point, startType, endType, (float)0.05f, (float)0.03f). -
PoArrow3
Calls PoArrow3(_point, startType, PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), (float)0.05f, (float)0.03f). -
PoArrow3
Calls PoArrow3(_point, PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), PoArrow3.PatternTypes.valueOf( PoArrow3.PatternTypes.NO_PATTERN.getValue() ), (float)0.05f, (float)0.03f). -
PoArrow3
public PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType, float _patternWidth) Calls PoArrow3(_point, startType, endType, _patternWidth, (float)0.03f). -
PoArrow3
public PoArrow3()Default constructor. -
PoArrow3
public PoArrow3(SbVec3f[] _point, PoArrow3.PatternTypes startType, PoArrow3.PatternTypes endType, float _patternWidth, float _patternHeight) Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalogfor this class.
-