Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
MiLineCellExtractI Class Referenceabstract

MeshViz Cell extractor for line meshes More...

#include <MeshVizXLM/extractors/MiLineCellExtractI.h>

+ Inheritance diagram for MiLineCellExtractI:

Public Member Functions

virtual ~MiLineCellExtractI ()
 
virtual const MeXLineMeshUnstructuredextractCell (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
 Create unstructured line meshes from the lines of the cells corresponding to the given indices in the original line mesh.
 
virtual const MeXLineMeshUnstructuredextractCell (double factor, const MiCellFilterI *cellFilter=NULL)=0
 Create unstructured line meshes from the lines of the cells in the entire line mesh.
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
 Extracts a scalar set from the original mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0
 Extracts a vector set from the original 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 MiLineCellExtractIgetNewInstance (const MiLineMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this interface.
 
static MiLineCellExtractIgetNewInstance (const MiLineMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz Cell extractor for line meshes

Extracts a list of cells from the input line mesh and builds a line mesh containing the extracted cells.

Definition at line 48 of file MiLineCellExtractI.h.

Constructor & Destructor Documentation

◆ ~MiLineCellExtractI()

virtual MiLineCellExtractI::~MiLineCellExtractI ( )
inlinevirtual

Definition at line 52 of file MiLineCellExtractI.h.

Member Function Documentation

◆ extractCell() [1/2]

virtual const MeXLineMeshUnstructured & MiLineCellExtractI::extractCell ( const std::vector< size_t > &  cellIndex,
double  factor,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

Create unstructured line meshes from the lines of the cells corresponding to the given indices in the original line mesh.

Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1

◆ extractCell() [2/2]

virtual const MeXLineMeshUnstructured & MiLineCellExtractI::extractCell ( double  factor,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

Create unstructured line meshes from the lines of the cells in the entire line mesh.

Cells are scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1

◆ extractScalarSet()

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

Extracts a scalar set from the original mesh.

The scalars are mapped onto the current extracted mesh.

Parameters
inputSetThe input scalar set defined on the original mesh.
Returns
The output scalar set defined on the extracted mesh.

◆ extractVec3Set()

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

Extracts a vector set from the original mesh.

The vectors are mapped onto the current extracted mesh.

Parameters
inputSetThe input vector set defined on the original mesh.
Returns
The output vector set defined on the extracted mesh.

◆ getExtract()

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

Returns the result of the extraction as a mesh.

◆ getNewInstance() [1/2]

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

◆ getNewInstance() [2/2]

static MiLineCellExtractI * MiLineCellExtractI::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.

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