Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MiClipPointExtract Class Referenceabstract

MeshViz Clip point extractor for all line meshes More...

#include <MeshVizXLM/extractors/MiClipPointExtract.h>

+ Inheritance diagram for MiClipPointExtract:

Public Member Functions

virtual const MeXPointMeshCurvilinearextractPoints (const MbVec3< double > &normal, double distance, const MiCellFilterI *cellFilter=NULL)=0
 Builds the point mesh intersecting the line mesh and the given plane.
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
 Extracts a scalar set from the line mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0
 Extracts a vector set from the line mesh.
 
virtual const MeXPointMeshCurvilineargetExtract () const =0
 Returns the result of the extraction as a point 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 MiClipPointExtractgetNewInstance (const MiLineMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this interface.
 
static MiClipPointExtractgetNewInstance (const MiLineMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 
static MiClipPointExtractgetNewInstance (const MiLineMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz Clip point extractor for all line meshes

A clip point is the intersection of a given plane with a line mesh. The extracted points are returned as a curvilinear point mesh.

See also
MeXPointMeshCurvilinear

Definition at line 47 of file MiClipPointExtract.h.

Member Function Documentation

◆ extractPoints()

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.

Parameters
normalVector normal to the plane
distancePosition of the plane relatively to the origin along the normal
cellFilterThe cell filter object.
Returns
A point mesh representing the extracted clipped points

◆ extractScalarSet()

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.

Parameters
inputSetthe input scalar set defined on the line mesh
Returns
the output scalar set defined on the resulting mesh

◆ extractVec3Set()

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.

Parameters
inputSetthe input vec3 set defined on the line mesh
Returns
the output scalar set defined on the resulting mesh

◆ getExtract()

virtual const MeXPointMeshCurvilinear & MiClipPointExtract::getExtract ( ) const
pure virtual

Returns the result of the extraction as a point mesh.

◆ getNewInstance() [1/3]

static MiClipPointExtract * MiClipPointExtract::getNewInstance ( const MiLineMeshCurvilinear mesh,
bool  parallel = true,
MiTessellator tessellator = NULL 
)
static

◆ getNewInstance() [2/3]

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.

Parameters
meshThe input mesh
parallelWhen true, tries to create an extract module using a parallel algorithm to speed up the extraction.
tessellatorThe tessellator object used for tessellating non linear cells (quadratic,...).
Note
Only some of the extraction algorithms have a parallel implementation.

◆ getNewInstance() [3/3]

static MiClipPointExtract * MiClipPointExtract::getNewInstance ( const MiLineMeshUnstructured mesh,
bool  parallel = true,
MiTessellator tessellator = NULL 
)
static

The documentation for this class was generated from the following file: