Clip point extractor for all line meshes More...
#include <MeshVizXLM/extractors/MiClipPointExtract.h>
Public Member Functions | |
virtual const MeXPointMeshCurvilinear & | extractPoints (const MbVec3< double > &normal, double distance, const MiCellFilterI *cellFilter=NULL)=0 |
virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetI &inputSet)=0 |
virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetI &inputSet)=0 |
virtual const MeXPointMeshCurvilinear & | getExtract () const =0 |
| |
static MiClipPointExtract * | getNewInstance (const MiLineMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiClipPointExtract * | getNewInstance (const MiLineMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiClipPointExtract * | getNewInstance (const MiLineMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
A clip point is the intersection of a given plane with a line mesh. The extracted points are returned as a curvilinear point mesh.
virtual const MeXPointMeshCurvilinear& MiClipPointExtract::extractPoints | ( | const MbVec3< double > & | normal, | |
double | distance, | |||
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Builds the point mesh intersecting the line mesh and the given plane.
normal | Vector normal to the plane | |
distance | Position of the plane relatively to the origin along the normal | |
cellFilter | The cell filter object. |
virtual const MeXScalardSetI& MiClipPointExtract::extractScalarSet | ( | const MiScalardSetI & | inputSet | ) | [pure virtual] |
Extracts a scalar set from the line mesh.
The scalars are mapped onto the current extracted clip points.
inputSet | the input scalar set defined on the line mesh |
virtual const MeXVec3dSetI& MiClipPointExtract::extractVec3Set | ( | const MiVec3dSetI & | inputSet | ) | [pure virtual] |
Extracts a vector set from the line mesh.
The vectors are mapped onto the current extracted clip points.
inputSet | the input vec3 set defined on the line mesh |
virtual const MeXPointMeshCurvilinear& MiClipPointExtract::getExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a point mesh.
static MiClipPointExtract* MiClipPointExtract::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,...). |
static MiClipPointExtract* MiClipPointExtract::getNewInstance | ( | const MiLineMeshCurvilinear & | 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 MiClipPointExtract* MiClipPointExtract::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,...). |