List of cells interface. More...
#include <MeshVizXLM/mesh/topology/MiTopologyI.h>
Public Member Functions | |
virtual size_t | getNumCells () const =0 |
Returns the number of cells. | |
virtual bool | isDead (size_t i) const |
Returns true if the cell of index i should be ignored. | |
Public Member Functions inherited from MiTopology | |
virtual | ~MiTopology () |
virtual size_t | getTimeStamp () const =0 |
Returns for this topology a unique time stamp across all topologies in the application. | |
virtual bool | hasDeadCells () const |
Returns true if the topology contains dead cells. | |
Additional Inherited Members |
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);
Definition at line 45 of file MiTopologyI.h.
|
pure virtual |
Returns the number of cells.
|
inlinevirtual |
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 |
Definition at line 62 of file MiTopologyI.h.