Cell extractor for unstructured meshes More...
#include <MeshVizXLM/extractors/MiCellExtractUnstructured.h>
Public Member Functions | |
virtual | ~MiCellExtractUnstructured () |
virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetI &inputSet)=0 |
virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetI &inputSet)=0 |
| |
virtual const MeXSurfaceMeshUnstructured & | extractCell (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXLineMeshUnstructured & | extractLineCell (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXPointMeshCurvilinear & | extractPoints (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXSurfaceMeshUnstructured & | extractCell (double factor, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXLineMeshUnstructured & | extractLineCell (double factor, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXPointMeshCurvilinear & | extractPoints (double factor, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXSurfaceMeshUnstructured & | getExtract () const =0 |
virtual const MeXLineMeshUnstructured & | getLineExtract () const =0 |
virtual const MeXPointMeshCurvilinear & | getPointExtract () const =0 |
static MiCellExtractUnstructured * | getNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiCellExtractUnstructured * | getNewInstance (const MiSurfaceMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
Extracts a list of cells from the input unstructured mesh and builds a surface mesh or a line mesh representing the extracted cells.
virtual MiCellExtractUnstructured::~MiCellExtractUnstructured | ( | ) | [inline, virtual] |
virtual const MeXSurfaceMeshUnstructured& MiCellExtractUnstructured::extractCell | ( | double | factor, | |
const MiCellFilterI * | 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& MiCellExtractUnstructured::extractCell | ( | const std::vector< size_t > & | cellIndex, | |
double | factor, | |||
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Create unstructured surface and line meshes 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 MeXLineMeshUnstructured& MiCellExtractUnstructured::extractLineCell | ( | double | factor, | |
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Create unstructured surface and line meshes 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 MeXLineMeshUnstructured& MiCellExtractUnstructured::extractLineCell | ( | const std::vector< size_t > & | cellIndex, | |
double | factor, | |||
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Create unstructured surface and line meshes 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 MeXPointMeshCurvilinear& MiCellExtractUnstructured::extractPoints | ( | double | factor, | |
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Create unstructured surface and line meshes 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 MeXPointMeshCurvilinear& MiCellExtractUnstructured::extractPoints | ( | const std::vector< size_t > & | cellIndex, | |
double | factor, | |||
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Create unstructured surface and line meshes 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& MiCellExtractUnstructured::extractScalarSet | ( | const MiScalardSetI & | 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. |
virtual const MeXVec3dSetI& MiCellExtractUnstructured::extractVec3Set | ( | const MiVec3dSetI & | 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. |
virtual const MeXSurfaceMeshUnstructured& MiCellExtractUnstructured::getExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a mesh.
virtual const MeXLineMeshUnstructured& MiCellExtractUnstructured::getLineExtract | ( | ) | const [pure virtual] |
Create unstructured surface and line meshes 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
static MiCellExtractUnstructured* MiCellExtractUnstructured::getNewInstance | ( | const MiSurfaceMeshUnstructured & | mesh, | |
bool | parallel = true , |
|||
MiTessellator * | tessellator = NULL | |||
) | [static] |
Create unstructured surface and line meshes 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
static MiCellExtractUnstructured* MiCellExtractUnstructured::getNewInstance | ( | const MiVolumeMeshUnstructured & | 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,...). |
virtual const MeXPointMeshCurvilinear& MiCellExtractUnstructured::getPointExtract | ( | ) | const [pure virtual] |
Create unstructured surface and line meshes 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