Abstract interface to write unstructured volume mesh topology. More...
#include <MeshVizXLM/extrmesh/topology/MeWVolumeTopologyExplicitI.h>
Public Member Functions | |
virtual void | addTetrahedron (const size_t nodeIds[4])=0 |
virtual void | addPyramid (const size_t nodeIds[5])=0 |
virtual void | addWedge (const size_t nodeIds[6])=0 |
virtual void | addHexahedron (const size_t nodeIds[8])=0 |
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.
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
[in] | nodeIds | List of nodes id in the tessellated hexahedron cell. |
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
[in] | nodeIds | List of nodes id in the tessellated pyramid cell. |
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
[in] | nodeIds | List of nodes id in the tessellated tetrahedron cell. |
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
[in] | nodeIds | List of nodes id in the tessellated wedge cell. |