Package com.openinventor.meshviz.graph
Class PoChart
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
- Direct Known Subclasses:
PoBar
,PoCurveLine
,PoGeneralizedScatter
,PoLabel
,PoPieChartRep
,PoScatter
public class PoChart extends PoGraphMaster
Abstract base class for all charting representations. A charting representation may depend on other MeshViz objects : The current mesh1D (PoRegularMesh1D
orPoIrregularMesh1D
), the current data-mapping (PoDataMapping
), the current domain (PoDomain
).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PoChart.ColorBindings
Color binding.-
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
Fields Modifier and Type Field Description SoSFEnum<PoChart.ColorBindings>
colorBinding
Specify how the colors are bound to the representation.SoSFInt32
colorValuesIndex
Defines the index of the set of values for the coloring.SoSFNode
material
Defines the list of materials used for the coloring.SoSFInt32
yValuesIndex
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
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 Detail
-
colorBinding
public final SoSFEnum<PoChart.ColorBindings> 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
public final SoSFInt32 yValuesIndex
Defines the index of the set of values used by a charting representation as a y-coordinate of each mesh node.
-
colorValuesIndex
public final SoSFInt32 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
public final SoSFNode 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 Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-