Cell extractor for structured volume meshes More...
#include <MeshVizXLM/extractors/MiCellExtractIjk.h>
Classes | |
class | triplet |
A triplet of indices used to define the cells to be extracted. More... | |
Public Member Functions | |
virtual | ~MiCellExtractIjk () |
virtual const MeXSurfaceMeshUnstructured & | extractCell (const std::vector< triplet > &cellIndexes, double factor, const MiCellFilterIjk *cellFilter=NULL)=0 |
virtual const MeXSurfaceMeshUnstructured & | extractCell (double factor, const MiCellFilterIjk *cellFilter=NULL)=0 |
virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetIjk &inputSet)=0 |
virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetIjk &inputSet)=0 |
virtual const MeXSurfaceMeshUnstructured & | getExtract () const =0 |
| |
static MiCellExtractIjk * | getNewInstance (const MiVolumeMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiCellExtractIjk * | getNewInstance (const MiVolumeMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiCellExtractIjk * | getNewInstance (const MiVolumeMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
Extracts a list of cells from the input structured mesh and builds a surface mesh representing the extracted cells.
virtual MiCellExtractIjk::~MiCellExtractIjk | ( | ) | [inline, virtual] |
virtual const MeXSurfaceMeshUnstructured& MiCellExtractIjk::extractCell | ( | double | factor, | |
const MiCellFilterIjk * | cellFilter = NULL | |||
) | [pure virtual] |
Creates an unstructured surface mesh from the faces of all the cells in the original volume mesh.
Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1
virtual const MeXSurfaceMeshUnstructured& MiCellExtractIjk::extractCell | ( | const std::vector< triplet > & | cellIndexes, | |
double | factor, | |||
const MiCellFilterIjk * | cellFilter = NULL | |||
) | [pure virtual] |
Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original volume mesh.
Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1
virtual const MeXScalardSetI& MiCellExtractIjk::extractScalarSet | ( | const MiScalardSetIjk & | inputSet | ) | [pure virtual] |
Extracts a scalar set from the original mesh.
The scalars are mapped onto the current extracted mesh.
inputSet | The input scalar set defined on the original mesh. |
Implemented in MiCellExtractUnstructuredIjk.
virtual const MeXVec3dSetI& MiCellExtractIjk::extractVec3Set | ( | const MiVec3dSetIjk & | inputSet | ) | [pure virtual] |
Extracts a vector set from the original mesh.
The vectors are mapped onto the current extracted mesh.
inputSet | The input vector set defined on the original mesh. |
Implemented in MiCellExtractUnstructuredIjk.
virtual const MeXSurfaceMeshUnstructured& MiCellExtractIjk::getExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a mesh.
static MiCellExtractIjk* MiCellExtractIjk::getNewInstance | ( | const MiVolumeMeshCurvilinear & | mesh, | |
bool | parallel = true , |
|||
MiTessellator * | tessellator = NULL | |||
) | [static] |
Factory method returning a new instance of a class implementing this interface.
mesh | The input mesh | |
parallel | When true, tries to create an extract module using a parallel algorithm to speed up the extraction. | |
tessellator | The tessellator object used for tessellating non linear cells (quadratic,...). |
static MiCellExtractIjk* MiCellExtractIjk::getNewInstance | ( | const MiVolumeMeshRectilinear & | mesh, | |
bool | parallel = true , |
|||
MiTessellator * | tessellator = NULL | |||
) | [static] |
Factory method returning a new instance of a class implementing this interface.
mesh | The input mesh | |
parallel | When true, tries to create an extract module using a parallel algorithm to speed up the extraction. | |
tessellator | The tessellator object used for tessellating non linear cells (quadratic,...). |
static MiCellExtractIjk* MiCellExtractIjk::getNewInstance | ( | const MiVolumeMeshRegular & | mesh, | |
bool | parallel = true , |
|||
MiTessellator * | tessellator = NULL | |||
) | [static] |
Factory method returning a new instance of a class implementing this interface.
mesh | The input mesh | |
parallel | When true, tries to create an extract module using a parallel algorithm to speed up the extraction. | |
tessellator | The tessellator object used for tessellating non linear cells (quadratic,...). |