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

MeshViz Cell extractor for structured surface meshes More...

#include <MeshVizXLM/extractors/MiCellExtractIj.h>

+ Inheritance diagram for MiCellExtractIj:

Classes

class  couple
 A pair of indices used to define the cells to be extracted. More...
 

Public Member Functions

virtual ~MiCellExtractIj ()
 
virtual const MeXSurfaceMeshUnstructuredextractCell (const std::vector< couple > &cellIndexes, double factor, const MiCellFilterIj *cellFilter=NULL)=0
 Creates an unstructured surface mesh from the cells faces corresponding to the given indices in the original volume mesh.
 
virtual const MeXSurfaceMeshUnstructuredextractCell (double factor, const MiCellFilterIj *cellFilter=NULL)=0
 Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original volume mesh.
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetIj &inputSet)=0
 Extracts a scalar set from the surface mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetIj &inputSet)=0
 Extracts a vector set from the surface mesh.
 
virtual const MeXStringSetIextractStringSet (const MiStringSetIj &inputSet)=0
 Extracts a string set from the surface mesh.
 
virtual const MeXSurfaceMeshUnstructuredgetExtract () 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 MiCellExtractIjgetNewInstance (const MiSurfaceMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this interface.
 
static MiCellExtractIjgetNewInstance (const MiSurfaceMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 
static MiCellExtractIjgetNewInstance (const MiSurfaceMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz Cell extractor for structured surface meshes

Extracts a list of cells from the input structured mesh and builds a surface mesh representing the extracted cells.

Definition at line 52 of file MiCellExtractIj.h.

Constructor & Destructor Documentation

◆ ~MiCellExtractIj()

virtual MiCellExtractIj::~MiCellExtractIj ( )
inlinevirtual

Definition at line 56 of file MiCellExtractIj.h.

Member Function Documentation

◆ extractCell() [1/2]

virtual const MeXSurfaceMeshUnstructured & MiCellExtractIj::extractCell ( const std::vector< couple > &  cellIndexes,
double  factor,
const MiCellFilterIj cellFilter = NULL 
)
pure virtual

Creates an unstructured surface mesh from the cells faces corresponding to the given indices in the original volume mesh.

Cells are scaled depending on the given factor.
Shrinking: factor < 1
Expanding: factor > 1

◆ extractCell() [2/2]

virtual const MeXSurfaceMeshUnstructured & MiCellExtractIj::extractCell ( double  factor,
const MiCellFilterIj cellFilter = NULL 
)
pure virtual

Creates an unstructured surface mesh from the faces of the cells corresponding to the given indices in the original volume mesh.

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

◆ extractScalarSet()

virtual const MeXScalardSetI & MiCellExtractIj::extractScalarSet ( const MiScalardSetIj inputSet)
pure virtual

Extracts a scalar set from the surface mesh.

The scalars are mapped onto the current extracted mesh.

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

◆ extractStringSet()

virtual const MeXStringSetI & MiCellExtractIj::extractStringSet ( const MiStringSetIj inputSet)
pure virtual

Extracts a string set from the surface mesh.

The strings are mapped onto the current extracted mesh.

Parameters
inputSetThe input string set defined on the surface mesh.
Returns
The output string set defined on the extracted mesh.

◆ extractVec3Set()

virtual const MeXVec3dSetI & MiCellExtractIj::extractVec3Set ( const MiVec3dSetIj inputSet)
pure virtual

Extracts a vector set from the surface mesh.

The vectors are mapped onto the current extracted mesh.

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

◆ getExtract()

virtual const MeXSurfaceMeshUnstructured & MiCellExtractIj::getExtract ( ) const
pure virtual

Returns the result of the extraction as a mesh.

◆ getNewInstance() [1/3]

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

◆ getNewInstance() [2/3]

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

◆ getNewInstance() [3/3]

static MiCellExtractIj * MiCellExtractIj::getNewInstance ( const MiSurfaceMeshRegular 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: