Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MiTessellatedLineExtract Class Referenceabstract

MeshViz Tessellated line mesh extractor for unstructured non linear 1D mesh. More...

#include <MeshVizXLM/extractors/MiTessellatedLineExtract.h>

+ Inheritance diagram for MiTessellatedLineExtract:

Public Member Functions

virtual ~MiTessellatedLineExtract ()
 
virtual const MeXLineMeshUnstructuredtessellate (MiTessellator &tesselator, const MiCellFilterI *cellFilter=NULL)=0
 Builds a new linear line mesh by tessellating each non linear cell of the input mesh given to the factory method getNewInstance().
 
virtual const MeXPointMeshCurvilinearextractPoints (const MiCellFilterI *cellFilter=NULL)=0
 Builds a new point mesh by collecting all cell nodes of the input mesh given to the factory method getNewInstance().
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
 Extracts a scalar set from the input mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0
 Extracts a vector set from the input mesh.
 
virtual const MeXLineMeshUnstructuredgetExtract () const =0
 Returns the tessellated mesh extracted by the previous call to tessellate().
 
virtual const MeXPointMeshCurvilineargetPointExtract () const =0
 Returns the result mesh extracted by the previous call to extractPoints().
 
- 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 MiTessellatedLineExtractgetNewInstance (const MiLineMeshUnstructured &mesh, bool parallel=true)
 Factory method returning a new instance of a class implementing this abstract class.
 

Detailed Description

MeshViz Tessellated line mesh extractor for unstructured non linear 1D mesh.

Builds a tessellated line mesh from a non linear 1D mesh. The tessellation is done by using the given MiTessellator (see tessellate()).

Definition at line 48 of file MiTessellatedLineExtract.h.

Constructor & Destructor Documentation

◆ ~MiTessellatedLineExtract()

virtual MiTessellatedLineExtract::~MiTessellatedLineExtract ( )
inlinevirtual

Definition at line 51 of file MiTessellatedLineExtract.h.

Member Function Documentation

◆ extractPoints()

virtual const MeXPointMeshCurvilinear & MiTessellatedLineExtract::extractPoints ( const MiCellFilterI cellFilter = NULL)
pure virtual

Builds a new point mesh by collecting all cell nodes of the input mesh given to the factory method getNewInstance().

Parameters
[in]cellFilterThe optional cell filter. Line cells excluded by this filter are not included "as is" in the build mesh.
Returns
The point mesh.

◆ extractScalarSet()

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

Extracts a scalar set from the input mesh.

For PER_NODE dataset, the value of each point of the tessellation is calculated by using the shape functions of the input cell and the parametric coordinates of the each tessellated point. For PER_CELL dataset, the value of each tessellated cell is just a copy of the value of each input cell. The scalars are mapped onto the current tessellated mesh refering to either the line mesh or the point mesh depending on whether tessellate() or extractPoints() was last called.

Parameters
[in]inputSetthe input scalar set defined on the input mesh.
Returns
the output scalar set defined on the tessellated mesh.

◆ extractVec3Set()

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

Extracts a vector set from the input mesh.

For PER_NODE dataset, the value of each point of the tessellation is calculated by using the shape functions of the input cell and the parametric coordinates of the each tessellated point. For PER_CELL dataset, the value of each tessellated cell is just a copy of the value of each input cell. The vectors are mapped onto the current tessellated mesh refering to either the line mesh or the point mesh depending on whether tessellate() or extractPoints() was last called.

Parameters
[in]inputSetthe input vector set defined on the input mesh.
Returns
the output vector set defined on the tessellated mesh.

◆ getExtract()

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

Returns the tessellated mesh extracted by the previous call to tessellate().

◆ getNewInstance()

static MiTessellatedLineExtract * MiTessellatedLineExtract::getNewInstance ( const MiLineMeshUnstructured mesh,
bool  parallel = true 
)
static

Factory method returning a new instance of a class implementing this abstract class.

Parameters
meshThe input mesh
parallelWhen true, tries to create an extract module using a parallel algorithm to speed up the extraction.
Note
Only some of the extraction algorithms have a parallel implementation.

◆ getPointExtract()

virtual const MeXPointMeshCurvilinear & MiTessellatedLineExtract::getPointExtract ( ) const
pure virtual

Returns the result mesh extracted by the previous call to extractPoints().

◆ tessellate()

virtual const MeXLineMeshUnstructured & MiTessellatedLineExtract::tessellate ( MiTessellator tesselator,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

Builds a new linear line mesh by tessellating each non linear cell of the input mesh given to the factory method getNewInstance().

Parameters
[in]tesselatorThe instance used to tessellate.
[in]cellFilterThe optional cell filter. Line cells excluded by this filter are neither tessellated nor included "as is" in the build mesh.
Returns
The tessellated mesh.

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