Interface class defining a cell filter for unstructured meshes. More...
#include <MeshVizXLM/mesh/cell/MiCellFilterI.h>
Public Member Functions | |
virtual bool | acceptCell (size_t cellIndex) const =0 |
This abstract class specifies the interface used for filtering cells on unstructured meshes.
Filtering cells is a way to specify which cells are used to build the mesh representation.
When the method acceptCell(i) returns false, the cell specified by (i) is not taken into account by the extraction. It is as if the mesh does not contain this cell.
In order to define a custom cell filter for an unstructured mesh, create a class derived from this class.
virtual bool MiCellFilterI::acceptCell | ( | size_t | cellIndex | ) | const [pure virtual] |
Returns true if the cell is accepted.
Accepted cells are used during the extraction process.
[in] | cellIndex | the index of the cell to be checked. |