Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MiSurfaceTopologyExplicitI Class Referenceabstract

MeshViz List of surface cells interface. More...

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

+ Inheritance diagram for MiSurfaceTopologyExplicitI:

Public Member Functions

virtual const MiSurfaceCellgetCell (size_t id) const =0
 Returns a cell of this topology.
 
- Public Member Functions inherited from MiTopologyExplicitI
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.
 

Protected Member Functions

virtual std::ostream & toStream (std::ostream &s) const
 Performs an output operation on a stream which is returned afterward.
 

Detailed Description

MeshViz List of surface cells interface.

A generic abstract interface for an unstructured surface mesh topology.

Definition at line 40 of file MiSurfaceTopologyExplicitI.h.

Member Function Documentation

◆ getCell()

virtual const MiSurfaceCell * MiSurfaceTopologyExplicitI::getCell ( size_t  id) const
pure virtual

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 from MiTopologyExplicitI.

Implemented in MeXSurfaceTopologyExplicitI.

◆ toStream()

virtual std::ostream & MiSurfaceTopologyExplicitI::toStream ( std::ostream &  s) const
inlineprotectedvirtual

Performs an output operation on a stream which is returned afterward.

This method is protected since only called by the output operator <<. This method is not pure virtual and output by default the geometry and topology of a mesh. Whenever a different output is needed, this method can be implemented in the subclass to get a different output format. No std::ostream& operator << needs to be defined in any subclass. This allows you to benefit from the virtual inheritance when using the output operator on an abstract class.

Reimplemented from MiTopologyExplicitI.

Definition at line 56 of file MiSurfaceTopologyExplicitI.h.


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