Class PoCurveLine
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
PoCurveFilling,PoRibbon,PoTube
PoIrregularMesh1D or PoRegularMesh1D). The abscissas of the curve are given by the geometry of the current mesh 1D, and the ordinates are given by one of the value-set of the current mesh 1D specified by the field yValuesIndex. The thickness of the line is specified by the field thicknessIndex which is an index of a value-set of the current mesh 1D. If thicknessIndex == -1, the thickness of the curve is inherited. This class also takes into account of the current mesh 1D hints (PoMesh1DHints). The interpretation of colorBinding is the following :
- INHERITED: The entire curve is colored with the same inherited color.
- PER_PART : Each part of the curve is colored with the same color. A part is the line(s) between two abscissas defined by the current mesh 1D.
- PER_VERTEX: A color is used at each vertex of the curve.
File format/default:
| colorBinding | INHERITED |
| yValuesIndex | 0 |
| colorValuesIndex | 1 |
| material | NULL |
| thicknessIndex | -1 |
| thicknessBinding | PER_VERTEX_THICKNESS |
| thicknessFactor | 1.0 |
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoChart
PoChart.ColorBindingsNested 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 TypeFieldDescriptionDefines how thickness values are bound to the curve.final SoSFFloatDefines a multiplicative factor applied to the thickness values.final SoSFInt32Defines the index of the set of values used to specify the thickness.Fields inherited from class com.openinventor.meshviz.graph.PoChart
colorBinding, colorValuesIndex, material, yValuesIndexFields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
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
-
thicknessIndex
Defines the index of the set of values used to specify the thickness. If thicknessIndex = -1, all the curve has the same thickness which is the inherited line width. -
thicknessBinding
Defines how thickness values are bound to the curve. If thicknessBinding = PER_PART_THICKNESS, each part of the curve has the same thickness otherwise the thickness between two consecutive vertices is linearly interpolated according to the thickness value associated to these vertices. For curve line, PER_VERTEX_THICKNESS is interpreted as PER_PART_THICKNESS. -
thicknessFactor
Defines a multiplicative factor applied to the thickness values.
-
-
Constructor Details
-
PoCurveLine
public PoCurveLine()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalogfor this class.
-