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

MeshViz Abstract interface to write unstructured surface mesh topology. More...

#include <MeshVizXLM/extrmesh/topology/MeWSurfaceTopologyExplicitI.h>

+ Inheritance diagram for MeWSurfaceTopologyExplicitI:

Public Member Functions

virtual void addPolygon (size_t numNodes, const size_t *nodeIds)=0
 Add a new tessellated surface cell in the topology.
 
- Public Member Functions inherited from MeXSurfaceTopologyExplicitI
virtual const MeXSurfaceCellgetCell (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.
 
- Public Member Functions inherited from MeXTopologyExplicitI
virtual const SoBufferObjectgetBuffer () const =0
 Returns the buffer that stores the topology of the extracted shape.
 
- Public Member Functions inherited from MeXTopologyI
virtual bool hasInputCellMapping () const =0
 Returns true if the input cell mapping is available.
 
virtual size_t getInputCellIdI (size_t id) const =0
 Returns cell indices (I/J/K) of the input cell containing the extracted cell with the given id.
 
virtual size_t getInputCellIdJ (size_t id) const =0
 
virtual size_t getInputCellIdK (size_t id) const =0
 

Additional Inherited Members

- Protected Member Functions inherited from MiSurfaceTopologyExplicitI
virtual std::ostream & toStream (std::ostream &s) const
 Performs an output operation on a stream which is returned afterward.
 

Detailed Description

MeshViz Abstract interface to write unstructured surface mesh topology.

This interface is used by the existing tessellator instances (see MiTessellator) to write the topology of the tessellated surface meshes. It is designed to allow the application to implement its own tessellator class.

Definition at line 40 of file MeWSurfaceTopologyExplicitI.h.

Member Function Documentation

◆ addPolygon()

virtual void MeWSurfaceTopologyExplicitI::addPolygon ( size_t  numNodes,
const size_t *  nodeIds 
)
pure virtual

Add a new tessellated surface cell in the topology.

For instance if the tessellator builds the tessellated mesh using always triangles, this method is called by giving the 3 node ids for each triangle of the tessellation.

Parameters
[in]numNodesNumber of nodes in the tessellated surface cell.
[in]nodeIdsList of nodes id in the tessellated surface cell.

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