Package com.openinventor.meshviz.graph
Class PoChart
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
PoBar
,PoCurveLine
,PoGeneralizedScatter
,PoLabel
,PoPieChartRep
,PoScatter
Abstract base class for all charting representations.
A charting representation may depend on other MeshViz objects : The current mesh1D (
PoRegularMesh1D
or PoIrregularMesh1D
), the current data-mapping (PoDataMapping
), the current domain (PoDomain
).-
Nested Class Summary
Nested ClassesNested 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 TypeFieldDescriptionfinal SoSFEnum
<PoChart.ColorBindings> Specify how the colors are bound to the representation.final SoSFInt32
Defines the index of the set of values for the coloring.final SoSFNode
Defines the list of materials used for the coloring.final SoSFInt32
Defines the index of the set of values used by a charting representation as a y-coordinate of each mesh node.Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
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
-
colorBinding
Specify how the colors are bound to the representation. INHERITED: The entire representation is colored with the same inherited color whatever values of the fields colorValuesIndex and material.PER_VERTEX: Each vertex of the representation is colored with a different color from the field material or colorValuesIndex.
PER_PART: Each part of the representation is colored with a different color from the field material or colorValuesIndex.
The interpretation of colorBinding is retailed in the derived classes. If not enough colors is provided, they are circular used.
-
yValuesIndex
Defines the index of the set of values used by a charting representation as a y-coordinate of each mesh node. -
colorValuesIndex
Defines the index of the set of values for the coloring. If colorValuesIndex = -1, (the colorValuesIndex is called undefined) the charting representation is colored with only one color which is inherited. If colorValuesIndex >= 0, the representation is colored relating to values of the specified set, and relating to the color binding method defined by the field colorBinding. If the field material is different from NULL and not ignored (cf setIgnored method ofSoField
class), this is the field material which is used for coloring. -
material
Defines the list of materials used for the coloring. The representation is colored relating to the color binding method defined by the field colorBinding. If this field is ignored (cf setIgnored method ofSoField
class) or NULL, this is the field colorValuesIndex (if this one is also ignored, the color will be inherited) which is used for coloring.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalog
for this class.
-