Class PoCurveFilling
- All Implemented Interfaces:
SafeDisposable
PoIrregularMesh1D
or PoRegularMesh1D
). The abscissas of the filled 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. A threshold defines the origin of the filled curve. This value is either an ordinate (VERTICAL orientation) or an abscissas (HORIZONTAL orientation). The thickness of the filled curve is specified by the field thicknessIndex which is an index of a value-set of the current mesh 1D. These values are multiplied by the field width. If thicknessIndex == -1, the thickness of the filled curve is the value of the field width. thickness fields are ignored if the field width is equal to 0. This class also takes into account of the current mesh 1D hints (PoMesh1DHints
).
The interpretation of colorBinding is the following :
- INHERITED: The entire filled curve is colored with the same inherited color.
- PER_PART : Each part of the filled curve is colored with the same color. A part is the curve between two abscissas defined by the current mesh 1D.
- PER_VERTEX: A color is used at each vertex of the filled curve.
File format/default:
colorBinding | INHERITED |
yValuesIndex | 0 |
colorValuesIndex | 1 |
material | NULL |
thicknessIndex | -1 |
thicknessBinding | PER_VERTEX_THICKNESS |
thicknessFactor | 1.0 |
threshold | 0.0 |
width | 1.0 |
orientation | VERTICAL |
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Orientation of the filled bar.Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoCurveLine
PoCurveLine.ThicknessBindings
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoChart
PoChart.ColorBindings
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
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 TypeFieldDescriptionDefines the orientation of the filled curve.final SoSFFloat
Defines the threshold of the origin of the filled curve.final SoSFFloat
Defines the width of the curve filled.Fields inherited from class com.openinventor.meshviz.graph.PoCurveLine
thicknessBinding, thicknessFactor, thicknessIndex
Fields inherited from class com.openinventor.meshviz.graph.PoChart
colorBinding, colorValuesIndex, material, yValuesIndex
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalog
Returns theSoNodekitCatalog
for 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, touchKit
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
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, 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
-
threshold
Defines the threshold of the origin of the filled curve. This value is either an ordinate (VERTICAL orientation) or an abscissas (HORIZONTAL orientation). -
width
Defines the width of the curve filled. If the thicknessIndex is different from -1, thickness values are multiplied to this value. If this value is equal to 0, thicknessIndex, thicknessBinding and thicknessFactor are ignored. -
orientation
Defines the orientation of the filled curve.
-
-
Constructor Details
-
PoCurveFilling
public PoCurveFilling()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-