Cell extractor for structured surface meshes More...
#include <MeshVizXLM/extractors/MiCellExtractIj.h>
Classes | |
class | couple |
A pair of indices used to define the cells to be extracted. More... | |
Public Member Functions | |
virtual | ~MiCellExtractIj () |
virtual const MeXSurfaceMeshUnstructured & | extractCell (const std::vector< couple > &cellIndexes, double factor, const MiCellFilterIj *cellFilter=NULL)=0 |
virtual const MeXSurfaceMeshUnstructured & | extractCell (double factor, const MiCellFilterIj *cellFilter=NULL)=0 |
virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetIj &inputSet)=0 |
virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetIj &inputSet)=0 |
virtual const MeXStringSetI & | extractStringSet (const MiStringSetIj &inputSet)=0 |
virtual const MeXSurfaceMeshUnstructured & | getExtract () const =0 |
| |
static MiCellExtractIj * | getNewInstance (const MiSurfaceMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiCellExtractIj * | getNewInstance (const MiSurfaceMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiCellExtractIj * | getNewInstance (const MiSurfaceMeshCurvilinear &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 MiCellExtractIj::~MiCellExtractIj | ( | ) | [inline, virtual] |
virtual const MeXSurfaceMeshUnstructured& MiCellExtractIj::extractCell | ( | double | factor, | |
const MiCellFilterIj * | 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 resized according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1
virtual const MeXSurfaceMeshUnstructured& MiCellExtractIj::extractCell | ( | const std::vector< couple > & | cellIndexes, | |
double | factor, | |||
const MiCellFilterIj * | cellFilter = NULL | |||
) | [pure virtual] |
Creates an unstructured surface mesh from the cells faces corresponding to the given indices in the original volume mesh.
Cells are scaled depending on the given factor.
Shrinking: factor < 1
Expanding: factor > 1
virtual const MeXScalardSetI& MiCellExtractIj::extractScalarSet | ( | const MiScalardSetIj & | inputSet | ) | [pure virtual] |
Extracts a scalar set from the surface mesh.
The scalars are mapped onto the current extracted mesh.
inputSet | The input scalar set defined on the surface mesh. |
virtual const MeXStringSetI& MiCellExtractIj::extractStringSet | ( | const MiStringSetIj & | inputSet | ) | [pure virtual] |
Extracts a string set from the surface mesh.
The strings are mapped onto the current extracted mesh.
inputSet | The input string set defined on the surface mesh. |
virtual const MeXVec3dSetI& MiCellExtractIj::extractVec3Set | ( | const MiVec3dSetIj & | inputSet | ) | [pure virtual] |
Extracts a vector set from the surface mesh.
The vectors are mapped onto the current extracted mesh.
inputSet | The input vector set defined on the surface mesh. |
virtual const MeXSurfaceMeshUnstructured& MiCellExtractIj::getExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a mesh.
static MiCellExtractIj* MiCellExtractIj::getNewInstance | ( | const MiSurfaceMeshCurvilinear & | 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 MiCellExtractIj* MiCellExtractIj::getNewInstance | ( | const MiSurfaceMeshRectilinear & | 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 MiCellExtractIj* MiCellExtractIj::getNewInstance | ( | const MiSurfaceMeshRegular & | 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,...). |