List of cells interface. More...
#include <MeshVizXLM/mesh/topology/MiTopologyI.h>
Public Member Functions | |
virtual size_t | getNumCells () const =0 |
virtual bool | isDead (size_t i) const |
A generic abstract interface for an implicit mesh topology.
The implementation of all the methods of this class must be thread-safe because it might be called concurrently by multiple threads. If the implementation can't be thread-safe, MeshViz XLM must be forced to use only 1 thread. It can be done by calling MiMeshViz::init(1) or MoMeshViz::init(1) or setting the parallel argument to false for each extractor instantiation. For instance by calling MiSkinExtractUnstructured::getNewInstance(&mesh, false);
virtual size_t MiTopologyI::getNumCells | ( | ) | const [pure virtual] |
Returns the number of cells.
virtual bool MiTopologyI::isDead | ( | size_t | i | ) | const [inline, virtual] |
Returns true if the cell of index i should be ignored.
This value is ignored if the hasDeadCell() method returns false. The default implementation returns always false. The implementation of this method must be thread-safe because it might be called concurrently by multiple threads.
i | the index of the cell to check |