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

MeshViz Cell extractor for structured volume meshes More...

#include <MeshVizXLM/extractors/MiCellExtractIjk.h>

+ Inheritance diagram for MiCellExtractIjk:

Classes

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

Public Member Functions

virtual ~MiCellExtractIjk ()
 
virtual const MeXSurfaceMeshUnstructuredextractCell (const std::vector< triplet > &cellIndexes, double factor, const MiCellFilterIjk *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 MeXSurfaceMeshUnstructuredextractCell (double factor, const MiCellFilterIjk *cellFilter=NULL)=0
 Creates an unstructured surface mesh from the faces of all the cells in the original volume mesh.
 
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetIjk &inputSet)=0
 Extracts a scalar set from the original mesh.
 
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetIjk &inputSet)=0
 Extracts a vector set from the original mesh.
 
virtual const MeXStringSetIextractStringSet (const MiStringSetIjk &inputSet)=0
 Extracts a string set from the original 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 MiCellExtractIjkgetNewInstance (const MiVolumeMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this interface.
 
static MiCellExtractIjkgetNewInstance (const MiVolumeMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 
static MiCellExtractIjkgetNewInstance (const MiVolumeMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz Cell extractor for structured volume 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 MiCellExtractIjk.h.

Constructor & Destructor Documentation

◆ ~MiCellExtractIjk()

virtual MiCellExtractIjk::~MiCellExtractIjk ( )
inlinevirtual

Definition at line 56 of file MiCellExtractIjk.h.

Member Function Documentation

◆ extractCell() [1/2]

virtual const MeXSurfaceMeshUnstructured & MiCellExtractIjk::extractCell ( const std::vector< triplet > &  cellIndexes,
double  factor,
const MiCellFilterIjk 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 scaled according to the given factor.
Shrinking: factor < 1
Expanding: factor > 1

◆ extractCell() [2/2]

virtual const MeXSurfaceMeshUnstructured & MiCellExtractIjk::extractCell ( double  factor,
const MiCellFilterIjk cellFilter = NULL 
)
pure virtual

Creates an unstructured surface mesh from the faces of all the cells in the original volume mesh.

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

◆ extractScalarSet()

virtual const MeXScalardSetI & MiCellExtractIjk::extractScalarSet ( const MiScalardSetIjk 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.

Implemented in MiCellExtractHexahedronIjk.

◆ extractStringSet()

virtual const MeXStringSetI & MiCellExtractIjk::extractStringSet ( const MiStringSetIjk inputSet)
pure virtual

Extracts a string set from the original mesh.

The strings are mapped onto the current extracted mesh.

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

Implemented in MiCellExtractHexahedronIjk.

◆ extractVec3Set()

virtual const MeXVec3dSetI & MiCellExtractIjk::extractVec3Set ( const MiVec3dSetIjk 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.

Implemented in MiCellExtractHexahedronIjk.

◆ getExtract()

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

Returns the result of the extraction as a mesh.

◆ getNewInstance() [1/3]

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

◆ getNewInstance() [2/3]

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

◆ getNewInstance() [3/3]

static MiCellExtractIjk * MiCellExtractIjk::getNewInstance ( const MiVolumeMeshRegular 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: