Representation of the skeleton of a volume mesh.
More...
#include <MeshViz/3Ddata/PoMeshSkeleton.h>
Public Member Functions | |
| virtual SoType | getTypeId () const |
| virtual const SoNodekitCatalog * | getNodekitCatalog () const |
| PoMeshSkeleton () | |
| virtual void | rebuild () |
Static Public Member Functions | |
| static SoType | getClassTypeId () |
| static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
| SoSFInt32 | numXContour |
| SoSFInt32 | numYContour |
| SoSFInt32 | numZContour |
Representation of the skeleton of a volume mesh.
Class to build a skeleton of the current volume mesh. This skeleton is built by a list of numXContour cross-contours orthogonal to X-axis, a list of numYContour cross-contours orthogonal to Y-axis and a list of numZContour cross-contours orthogonal to Z-axis. See PoMesh for more explanations about the current mesh.
The distance between 2 consecutive X cross-contours is a constant defined by the X-size of the mesh skin divided by numXContour. This is identical for Y and Z.
If the field PoMesh::valuesIndex is not defined (or if coloringType = COLOR_INHERITED), the representation uses only one inherited color. If the field PoMesh::valuesIndex is defined (and if coloringType != COLOR_INHERITED), the representation is colored by using the current data mapping applied to each mesh node value. (see PoMesh for more explanations about the current data-mapping).
The vector data of the mesh for this representation is unused.
| numXContour | 3 |
| numYContour | 3 |
| numZContour | 3 |
| valuesIndex | -1 |
| coloringType | COLOR_INHERITED |
| vecsIndex | -1 |
| valuesIndexForCellFilter | -1 |
| moduleDataMapping | NULL |
| PoMeshSkeleton::PoMeshSkeleton | ( | ) |
Constructor.
| static const SoNodekitCatalog* PoMeshSkeleton::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoMesh3D.
| static SoType PoMeshSkeleton::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoMesh3D.
| virtual const SoNodekitCatalog* PoMeshSkeleton::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoMesh3D.
| virtual SoType PoMeshSkeleton::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoMesh3D.
| virtual void PoMeshSkeleton::rebuild | ( | ) | [virtual] |
Number of cross-contours orthogonal to X-axis.
3 by default.
Number of cross-contours orthogonal to Y-axis.
3 by default.
Number of cross-contours orthogonal to Z-axis.
3 by default.