Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MiTopologyI Class Referenceabstract

MeshViz List of cells interface. More...

#include <MeshVizXLM/mesh/topology/MiTopologyI.h>

+ Inheritance diagram for MiTopologyI:

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

Detailed Description

MeshViz List of cells interface.

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.

Member Function Documentation

◆ getNumCells()

virtual size_t MiTopologyI::getNumCells ( ) const
pure virtual

Returns the number of cells.

◆ isDead()

virtual bool MiTopologyI::isDead ( size_t  i) const
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.

Parameters
ithe index of the cell to check

Definition at line 62 of file MiTopologyI.h.


The documentation for this class was generated from the following file: