Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MiLineExtract Class Referenceabstract

MeshViz line mesh extractor for unstructured line mesh. More...

#include <MeshVizXLM/extractors/MiLineExtract.h>

+ Inheritance diagram for MiLineExtract:

Public Member Functions

virtual ~MiLineExtract ()
 
virtual const MeXLineMeshUnstructuredextract (const MiCellFilterI *cellFilter=NULL)=0
 Builds a new linear line mesh by removing dead cells and filtered cells from the input mesh given to the factory method getNewInstance().
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
 Extracts a scalar set from the input line mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0
 Extracts a vector set from the input line mesh.
 
virtual const MeXLineMeshUnstructuredgetExtract () 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 MiLineExtractgetNewInstance (const MiLineMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this interface.
 
static MiLineExtractgetNewInstance (const MiLineMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 
static MiLineExtractgetNewInstance (const MiLineMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz line mesh extractor for unstructured line mesh.

Builds an unstructured line mesh from an input unstructured line mesh by removing dead cells and filtered cells.

Definition at line 45 of file MiLineExtract.h.

Constructor & Destructor Documentation

◆ ~MiLineExtract()

virtual MiLineExtract::~MiLineExtract ( )
inlinevirtual

Definition at line 48 of file MiLineExtract.h.

Member Function Documentation

◆ extract()

virtual const MeXLineMeshUnstructured & MiLineExtract::extract ( const MiCellFilterI cellFilter = NULL)
pure virtual

Builds a new linear line mesh by removing dead cells and filtered cells from the input mesh given to the factory method getNewInstance().

Parameters
[in]cellFilterThe optional cell filter. line cells excluded by this filter are removed in the build mesh.
Returns
The line mesh.

◆ extractScalarSet()

virtual const MeXScalardSetI & MiLineExtract::extractScalarSet ( const MiScalardSetI inputSet)
pure virtual

Extracts a scalar set from the input line mesh.

The scalars are mapped onto the current extracted line.

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

◆ extractVec3Set()

virtual const MeXVec3dSetI & MiLineExtract::extractVec3Set ( const MiVec3dSetI inputSet)
pure virtual

Extracts a vector set from the input line mesh.

The vectors are mapped onto the current extracted line.

Parameters
inputSetthe input vector set defined on the input line mesh
Returns
the output vector set defined on the latest extracted line mesh

◆ getExtract()

virtual const MeXLineMeshUnstructured & MiLineExtract::getExtract ( ) const
pure virtual

Returns the result of the extraction as a mesh.

◆ getNewInstance() [1/3]

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

◆ getNewInstance() [2/3]

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

◆ getNewInstance() [3/3]

static MiLineExtract * MiLineExtract::getNewInstance ( const MiLineMeshUnstructured 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
The extraction algorithm does not have a parallel implementation and does not take into account the the tessellator.

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