Abstract interface to write unstructured volume mesh topology.
More...
#include <MeshVizXLM/extrmesh/topology/MeWVolumeTopologyExplicitI.h>
|
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.
|
|
virtual const MeXVolumeCell * | getCell (size_t id) const =0 |
| 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.
|
|
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.
|
|
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.
|
|
virtual const SoBufferObject * | getBuffer () const =0 |
| Returns the buffer that stores the topology of the extracted shape.
|
|
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 |
|
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.
◆ 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] | nodeIds | List 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] | nodeIds | List 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] | nodeIds | List 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] | nodeIds | List of nodes id in the tessellated wedge cell. |
The documentation for this class was generated from the following file: