Clip line extractor for unstructured surface meshes More...
#include <MeshVizXLM/extractors/MiClipLineExtractUnstructured.h>
Public Member Functions | |
virtual | ~MiClipLineExtractUnstructured () |
virtual const MeXLineMeshUnstructured & | extractLine (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 MeXLineMeshUnstructured & | getExtract () const =0 |
Static Public Member Functions | |
static MiClipLineExtractUnstructured * | getNewInstance (const MiSurfaceMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
A clip line is the intersection of a given plane with the surface mesh. The extracted line is an unstructured line.
virtual MiClipLineExtractUnstructured::~MiClipLineExtractUnstructured | ( | ) | [inline, virtual] |
virtual const MeXLineMeshUnstructured& MiClipLineExtractUnstructured::extractLine | ( | const MbVec3< double > & | normal, | |
double | distance, | |||
const MiCellFilterI * | cellFilter = NULL | |||
) | [pure virtual] |
Builds the topology and geometry of a line intersecting the surface 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& MiClipLineExtractUnstructured::extractScalarSet | ( | const MiScalardSetI & | inputSet | ) | [pure virtual] |
Extracts a scalar set from the surface mesh. The scalars are mapped onto the current extracted clip sline.
inputSet | the input scalar set defined on the surface mesh |
virtual const MeXVec3dSetI& MiClipLineExtractUnstructured::extractVec3Set | ( | const MiVec3dSetI & | inputSet | ) | [pure virtual] |
Extracts a vector set from the surface mesh. The vectors are mapped onto the current extracted clip line.
inputSet | the input vec3 set defined on the surface mesh |
virtual const MeXLineMeshUnstructured& MiClipLineExtractUnstructured::getExtract | ( | ) | const [pure virtual] |
Returns the result of the extraction as a mesh.
static MiClipLineExtractUnstructured* MiClipLineExtractUnstructured::getNewInstance | ( | const MiSurfaceMeshUnstructured & | 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,...). |