Abstract base class for all charting representations. More...
#include <MeshViz/graph/PoChart.h>
Public Types | |
enum | ColorBinding { INHERITED, PER_VERTEX, PER_PART } |
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFEnum | colorBinding |
SoSFInt32 | yValuesIndex |
SoSFInt32 | colorValuesIndex |
SoSFNode | material |
A charting representation may depend on other MeshViz objects : The current mesh1D (PoRegularMesh1D or PoIrregularMesh1D), the current data-mapping (PoDataMapping), the current domain (PoDomain).
static const SoNodekitCatalog* PoChart::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
Reimplemented in PoBar, PoConicBar, PoCurveFilling, PoCurveLine, PoCylindricalBar, PoGeneralizedBar, PoGeneralizedScatter, PoLabel, PoLinearBar, PoPieChartRep, PoProfileBar, PoRibbon, PoScatter, and PoTube.
static SoType PoChart::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
Reimplemented in PoBar, PoConicBar, PoCurveFilling, PoCurveLine, PoCylindricalBar, PoGeneralizedBar, PoGeneralizedScatter, PoLabel, PoLinearBar, PoPieChartRep, PoProfileBar, PoRibbon, PoScatter, and PoTube.
virtual const SoNodekitCatalog* PoChart::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
Reimplemented in PoBar, PoConicBar, PoCurveFilling, PoCurveLine, PoCylindricalBar, PoGeneralizedBar, PoGeneralizedScatter, PoLabel, PoLinearBar, PoPieChartRep, PoProfileBar, PoRibbon, PoScatter, and PoTube.
virtual SoType PoChart::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
Reimplemented in PoBar, PoConicBar, PoCurveFilling, PoCurveLine, PoCylindricalBar, PoGeneralizedBar, PoGeneralizedScatter, PoLabel, PoLinearBar, PoPieChartRep, PoProfileBar, PoRibbon, PoScatter, and PoTube.
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.
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 of SoField class), this is the field material which is used for coloring.
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 of SoField class) or NULL, this is the field colorValuesIndex (if this one is also ignored, the color will be inherited) which is used for coloring.
Defines the index of the set of values used by a charting representation as a y-coordinate of each mesh node.