Class to build a 2D scatter. More...
#include <MeshViz/graph/PoScatter.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoScatter () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoMFInt32 | markerIndex |
SoSFInt32 | zValuesIndex |
Builds a 2D scatter on 1D mesh (PoIrregularMesh1D or PoRegularMesh1D). A scatter representation is a bitmap marker field (indeed SoMarkerSet shape is used for this representation). The field markerIndex is used to define the type of marker used (cf SoMarkerSet). If the number of indices is inferior to the number of markers, they are cyclically used. The abscissas of the markers 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. Furthemore a value-set of the current mesh 1D, though the field zValuesIndex, can be used to define a depth for each marker. This class also takes into account of the current mesh 1D hints (PoMesh1DHints), and the current mesh 1D filter (PoMesh1DFilter) to filter the geometry of the current mesh 1D.
The interpretation of colorBinding is the following :
colorBinding | INHERITED |
yValuesIndex | 0 |
colorValuesIndex | 1 |
material | NULL |
markerIndex | 0 |
zValuesIndex | -1 |
PoScatter {
Separator alternateRep (from PoBase) {
AppearanceKit appearance (from PoBase)
Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR. The part material is set when the kit is rebuilt, if the field colorBinding is different from INHERITED.
MatrixTransform domainTransform (from PoBase)
Corresponds to the domain transformation.
Group scatter
Contains a SoMarkerSet shape to draw the scatter.
}
}
PoScatter::PoScatter | ( | ) |
Constructor.
static const SoNodekitCatalog* PoScatter::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoChart.
static SoType PoScatter::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoChart.
virtual const SoNodekitCatalog* PoScatter::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoChart.
virtual SoType PoScatter::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoChart.
Defines the type of marker used (cf SoMarkerSet).
If the number of indices is inferior to the number of markers, they are cyclically used.
Defines the index of the set of values used to specify a z-coordinate for markers.
If zValuesIndex = -1, the z-coordinate used is 0.