Cell extractor for line meshes
More...
#include <MeshVizXLM/extractors/MiLineCellExtractI.h>
Public Member Functions | |
| virtual | ~MiLineCellExtractI () |
| virtual const MeXLineMeshUnstructured & | extractCell (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0 |
| virtual const MeXLineMeshUnstructured & | extractCell (double factor, const MiCellFilterI *cellFilter=NULL)=0 |
| virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetI &inputSet)=0 |
| virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetI &inputSet)=0 |
| virtual const MeXLineMeshUnstructured & | getExtract () const =0 |
Static Public Member Functions | |
| static MiLineCellExtractI * | getNewInstance (const MiLineMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
| static MiLineCellExtractI * | getNewInstance (const MiLineMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
Cell extractor for line meshes
Extracts a list of cells from the input line mesh and builds a line mesh containing the extracted cells.
| virtual MiLineCellExtractI::~MiLineCellExtractI | ( | ) | [inline, virtual] |
| virtual const MeXLineMeshUnstructured& MiLineCellExtractI::extractCell | ( | double | factor, | |
| const MiCellFilterI * | cellFilter = NULL | |||
| ) | [pure virtual] |
Create unstructured line meshes from the lines of the cells in the entire line mesh.
Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1
| virtual const MeXLineMeshUnstructured& MiLineCellExtractI::extractCell | ( | const std::vector< size_t > & | cellIndex, | |
| double | factor, | |||
| const MiCellFilterI * | cellFilter = NULL | |||
| ) | [pure virtual] |
Create unstructured line meshes from the lines of the 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
| virtual const MeXScalardSetI& MiLineCellExtractI::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& MiLineCellExtractI::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 MeXLineMeshUnstructured& MiLineCellExtractI::getExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a mesh.
| static MiLineCellExtractI* MiLineCellExtractI::getNewInstance | ( | const MiLineMeshCurvilinear & | mesh, | |
| bool | parallel = true, |
|||
| MiTessellator * | tessellator = NULL | |||
| ) | [static] |
| static MiLineCellExtractI* MiLineCellExtractI::getNewInstance | ( | const MiLineMeshRegular & | 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,...). |