Class to build profile bars. More...
#include <MeshViz/graph/PoProfileBar.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoProfileBar () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Build bars defined by a profile (PoProfile) on 1D mesh (PoIrregularMesh1D or PoRegularMesh1D). The orientation of the bars can be horizontal or vertical. The abscissas (ordinates if HORIZONTAL orientation) of the bars are given by the geometry of the current mesh 1D, and the height (width if HORIZONTAL orientation) 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 bars. This value is either an ordinate (VERTICAL orientation) or an abscissas (HORIZONTAL orientation). 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 shape of the profile is given by the current profile (PoProfile and its derived nodes). The current complexity (SoComplexity) is used to determine the tessellation of the current profile.
The interpretation of colorBinding is the following :
colorBinding | INHERITED |
yValuesIndex | 0 |
colorValuesIndex | 1 |
material | NULL |
orientation | VERTICAL |
threshold | 0.0 |
PoProfileBar {
Separator alternateRep (from PoBase) {
AppearanceKit appearance (from PoBase)
Specifies the appearance of all the kit. By default lightModel.model=PHONG.
MatrixTransform domainTransform (from PoBase)
Corresponds to the domain transformation.
Group bar (from PoBar)
Contains a list of couple SoMaterial and SoIndexedTriangleStripSet if the field colorBinding is different from INHERITED, a list of SoIndexedTriangleStripSet otherwise.
}
}
PoProfileBar::PoProfileBar | ( | ) |
Constructor.
static const SoNodekitCatalog* PoProfileBar::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoBar.
static SoType PoProfileBar::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoBar.
virtual const SoNodekitCatalog* PoProfileBar::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoBar.
virtual SoType PoProfileBar::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoBar.