Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MeWVolumeTopologyExplicitI Class Referenceabstract

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

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

+ Inheritance diagram for MeWVolumeTopologyExplicitI:

Public Member Functions

virtual void addTetrahedron (const size_t nodeIds[4])=0
 Add a new tessellated tetrahedron cell in the topology.
 
virtual void addPyramid (const size_t nodeIds[5])=0
 Add a new tessellated pyramid cell in the topology.
 
virtual void addWedge (const size_t nodeIds[6])=0
 Add a new tessellated wedge cell in the topology.
 
virtual void addHexahedron (const size_t nodeIds[8])=0
 Add a new tessellated volume cell in the topology.
 
- Public Member Functions inherited from MeXVolumeTopologyExplicitI
virtual const MeXVolumeCellgetCell (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

Detailed Description

MeshViz Abstract interface to write unstructured volume mesh topology.

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

Definition at line 40 of file MeWVolumeTopologyExplicitI.h.

Member Function Documentation

◆ addHexahedron()

virtual void MeWVolumeTopologyExplicitI::addHexahedron ( const size_t  nodeIds[8])
pure virtual

Add a new tessellated volume cell in the topology.

For instance if the tessellator builds the tessellated mesh using hexahedron, this method must be called by giving the 8 node ids for each hexahedron of the tessellation. The following image shows the expected nodes numbering.

Nodes and faces numbering
Parameters
[in]nodeIdsList of nodes id in the tessellated hexahedron cell.

◆ addPyramid()

virtual void MeWVolumeTopologyExplicitI::addPyramid ( const size_t  nodeIds[5])
pure virtual

Add a new tessellated pyramid cell in the topology.

For instance if the tessellator builds the tessellated mesh using pyramids, this method must be called by giving the 5 node ids for each pyramid of the tessellation. The first 4 node ids must represent the base. The following image shows the expected nodes numbering.

Nodes and faces numbering
Parameters
[in]nodeIdsList of nodes id in the tessellated pyramid cell.

◆ addTetrahedron()

virtual void MeWVolumeTopologyExplicitI::addTetrahedron ( const size_t  nodeIds[4])
pure virtual

Add a new tessellated tetrahedron cell in the topology.

For instance, if the tessellator builds the tessellated mesh using tetrahedrons, this method must be called by giving the 4 node ids for each tetrahedron of the tessellation. The following image shows the expected nodes numbering.

Nodes and faces numbering
Parameters
[in]nodeIdsList of nodes id in the tessellated tetrahedron cell.

◆ addWedge()

virtual void MeWVolumeTopologyExplicitI::addWedge ( const size_t  nodeIds[6])
pure virtual

Add a new tessellated wedge cell in the topology.

For instance if the tessellator builds the tessellated mesh using wedges, this method must be called by giving the 6 node ids for each wedge of the tessellation. The following image shows the expected nodes numbering.

Nodes and faces numbering
Parameters
[in]nodeIdsList of nodes id in the tessellated wedge cell.

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