Clip line extractor for structured surface meshes More...
#include <MeshVizXLM/extractors/MiClipLineExtractIj.h>
Public Member Functions | |
virtual | ~MiClipLineExtractIj () |
virtual const MeXLineMeshUnstructured & | extractLine (const MbVec3< double > &normal, double distance, const MiCellFilterIj *cellFilter=NULL)=0 |
Computes a 3D polyline as the result of the intersection of the surface mesh and the given plane. | |
virtual const MeXLineMeshUnstructured & | extractLine (const MbVec3d &direction, const std::vector< MbVec3d > &polyline, const MiCellFilterIj *cellFilter=NULL)=0 |
Computes a 3D polyline as the result of the intersection of several planes and the surface mesh. | |
virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetIj &inputSet)=0 |
Extracts a scalar set from the surface mesh. | |
virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetIj &inputSet)=0 |
Extracts a vector set from the surface mesh. | |
virtual const MeXLineMeshUnstructured & | getExtract () const =0 |
Returns the result of the extraction as a mesh. | |
Public Member Functions inherited from MiBaseExtractor | |
virtual | ~MiBaseExtractor () |
virtual void | setExtractorCallback (MiExtractorCallback *extractorCallback)=0 |
Set the user defined extractor callback which will be called before each extraction, during each extraction and after each extraction. | |
virtual SoDEPRECATED void | setExtractorCallback (MiExtractorCallback &extractorCallback) |
Static Public Member Functions | |
static MiClipLineExtractIj * | getNewInstance (const MiSurfaceMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
Factory method returning a new instance of a class implementing this interface. | |
static MiClipLineExtractIj * | getNewInstance (const MiSurfaceMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
static MiClipLineExtractIj * | getNewInstance (const MiSurfaceMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL) |
Clip line extractor for structured surface meshes
A clip line is the intersection of a plane or a list of planes with the surface mesh. The extracted line is an unstructured line.
Definition at line 47 of file MiClipLineExtractIj.h.
|
inlinevirtual |
Definition at line 50 of file MiClipLineExtractIj.h.
|
pure virtual |
Computes a 3D polyline as the result of the intersection of 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. |
|
pure virtual |
Computes a 3D polyline as the result of the intersection of several planes and the surface mesh.
The arbitrary planes (or fences) are defined by a polyline and a direction. The clip line extracted is returned as an unstructured line mesh.
direction | vector defining the direction of the fences |
polyline | set of points defining the position of the fences |
cellFilter | the cell filter object. |
Since Open Inventor 2023.1
|
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 |
|
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 |
|
pure virtual |
Returns the result of the extraction as a mesh.
|
static |
|
static |
|
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,...). |