Cell extractor for unstructured line meshes
More...
#include <MeshVizXLM/extractors/MiLineCellExtractUnstructured.h>
Public Member Functions | |
| virtual | ~MiLineCellExtractUnstructured () |
| virtual const MeXPointMeshCurvilinear & | extractPoints (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0 |
| virtual const MeXPointMeshCurvilinear & | extractPoints (double factor, const MiCellFilterI *cellFilter=NULL)=0 |
| virtual const MeXPointMeshCurvilinear & | getPointExtract () const =0 |
Static Public Member Functions | |
| static MiLineCellExtractUnstructured * | getNewInstance (const MiLineMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
Cell extractor for unstructured line meshes
Extracts a list of cells from an input unstructured line mesh and builds a line mesh or a point mesh containing the extracted cells.
| virtual MiLineCellExtractUnstructured::~MiLineCellExtractUnstructured | ( | ) | [inline, virtual] |
| virtual const MeXPointMeshCurvilinear& MiLineCellExtractUnstructured::extractPoints | ( | double | factor, | |
| const MiCellFilterI * | cellFilter = NULL | |||
| ) | [pure virtual] |
Creates a point mesh from the points of the line cells of the entire input line mesh.
Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1
| virtual const MeXPointMeshCurvilinear& MiLineCellExtractUnstructured::extractPoints | ( | const std::vector< size_t > & | cellIndex, | |
| double | factor, | |||
| const MiCellFilterI * | cellFilter = NULL | |||
| ) | [pure virtual] |
Creates a point mesh from the points of the line cells corresponding to the given indices in the original line mesh.
Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1
| static MiLineCellExtractUnstructured* MiLineCellExtractUnstructured::getNewInstance | ( | const MiLineMeshUnstructured & | 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& MiLineCellExtractUnstructured::getPointExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a point mesh.