Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
MiTopologyExplicitI Class Referenceabstract

MeshViz List of generic cells interface. More...

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

+ Inheritance diagram for MiTopologyExplicitI:

Public Member Functions

virtual const MiCellgetCell (size_t id) const
 Returns a cell of this topology.
 
virtual size_t getEndNodeId () const =0
 Returns the last node id + 1 used by this topology.
 
virtual size_t getBeginNodeId () const
 Returns the first node id used by this topology.
 
- Public Member Functions inherited from MiTopologyI
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 generic cells interface.

A generic abstract interface for an unstructured explicit mesh topology.

Definition at line 39 of file MiTopologyExplicitI.h.

Member Function Documentation

◆ getBeginNodeId()

virtual size_t MiTopologyExplicitI::getBeginNodeId ( ) const
inlinevirtual

Returns the first node id used by this topology.

This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId(). This default implementation returns 0.

Definition at line 66 of file MiTopologyExplicitI.h.

◆ getCell()

virtual const MiCell * MiTopologyExplicitI::getCell ( size_t  id) const
inlinevirtual

Returns a cell of this topology.

The cell is identified by one id. The implementation of this method must be thread-safe because it might be called concurrently by multiple threads.

Reimplemented in MeXLineTopologyExplicitI, MeXSurfaceTopologyExplicitI, MeXVolumeTopologyExplicitI, MiLineTopologyExplicitI, MiSurfaceTopologyExplicitI, and MiVolumeTopologyExplicitI.

Definition at line 49 of file MiTopologyExplicitI.h.

◆ getEndNodeId()

virtual size_t MiTopologyExplicitI::getEndNodeId ( ) const
pure virtual

Returns the last node id + 1 used by this topology.

This topology uses only node index in the interval [beginNodeId,EndNodeId[. Thus the maximum node index used by the topology is getEndNodeId() - 1 and the number of nodes used by this topology is getEndNodeId() - getBeginNodeId().


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