Builds text indices of a cell of a mesh. More...
#include <MeshViz/3Ddata/PoCellIndices.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoCellIndices () | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFFloat | offset |
The node's indices and the cell's index are visualized. The node index in the mesh and node's relative index in the cell are both displayed. For instance if the 3rd node index of a cell is 3218, the string "n3 = 3128" is drawn near this node's position. This allows you to check node ordering in a cell.
The strings can be moved away or brought nearer the node position by using the offset field.
The cell is defined by its index in the current mesh (see PoCellShape). The current mesh is either defined by PoMesh::setMesh() or (if this method is not called) defined in a special node inherited during traversal. This node has a type derived from PoMeshProperty.
Contains properties and shapes to draw the texts of the node indices.
}
Separator cellIndexSep {
Contains properties and shapes to draw the text of the cell index.
}
PoCellIndices::PoCellIndices | ( | ) |
Constructor.
static const SoNodekitCatalog* PoCellIndices::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoCellShape.
static SoType PoCellIndices::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoCellShape.
virtual const SoNodekitCatalog* PoCellIndices::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoCellShape.
virtual SoType PoCellIndices::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoCellShape.
virtual void PoCellIndices::rebuild | ( | ) | [virtual] |
Factor of the cell's size that specifies the distance of the nodes indices representation to the position of these nodes.