Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
MiCellExtractUnstructured Class Referenceabstract

MeshViz Cell extractor for unstructured meshes More...

#include <MeshVizXLM/extractors/MiCellExtractUnstructured.h>

+ Inheritance diagram for MiCellExtractUnstructured:

Public Member Functions

virtual ~MiCellExtractUnstructured ()
 
virtual const MeXSurfaceMeshUnstructuredextractCell (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
 Create unstructured surface and line meshes from the faces of the cells corresponding to the given indices in the original volume mesh.
 
virtual const MeXLineMeshUnstructuredextractLineCell (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
 
virtual const MeXPointMeshCurvilinearextractPoints (const std::vector< size_t > &cellIndex, double factor, const MiCellFilterI *cellFilter=NULL)=0
 
virtual const MeXSurfaceMeshUnstructuredextractCell (double factor, const MiCellFilterI *cellFilter=NULL)=0
 Creates an unstructured surface mesh from the faces of all the cells in the original volume mesh.
 
virtual const MeXLineMeshUnstructuredextractLineCell (double factor, const MiCellFilterI *cellFilter=NULL)=0
 
virtual const MeXPointMeshCurvilinearextractPoints (double factor, const MiCellFilterI *cellFilter=NULL)=0
 
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 MeXStringSetIextractStringSet (const MiStringSetI &inputSet)=0
 Extracts a string set from the original mesh.
 
virtual const MeXSurfaceMeshUnstructuredgetExtract () const =0
 Returns the result of the extraction as a mesh.
 
virtual const MeXLineMeshUnstructuredgetLineExtract () const =0
 
virtual const MeXPointMeshCurvilineargetPointExtract () const =0
 
- 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 MiCellExtractUnstructuredgetNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this interface.
 
static MiCellExtractUnstructuredgetNewInstance (const MiSurfaceMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz Cell extractor for unstructured meshes

Extracts a list of cells from the input unstructured mesh and builds a surface mesh or a line mesh representing the extracted cells.

Definition at line 54 of file MiCellExtractUnstructured.h.

Constructor & Destructor Documentation

◆ ~MiCellExtractUnstructured()

virtual MiCellExtractUnstructured::~MiCellExtractUnstructured ( )
inlinevirtual

Definition at line 58 of file MiCellExtractUnstructured.h.

Member Function Documentation

◆ extractCell() [1/2]

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

Create unstructured surface and line meshes 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 & MiCellExtractUnstructured::extractCell ( double  factor,
const MiCellFilterI 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

◆ extractLineCell() [1/2]

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

◆ extractLineCell() [2/2]

virtual const MeXLineMeshUnstructured & MiCellExtractUnstructured::extractLineCell ( double  factor,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

◆ extractPoints() [1/2]

virtual const MeXPointMeshCurvilinear & MiCellExtractUnstructured::extractPoints ( const std::vector< size_t > &  cellIndex,
double  factor,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

◆ extractPoints() [2/2]

virtual const MeXPointMeshCurvilinear & MiCellExtractUnstructured::extractPoints ( double  factor,
const MiCellFilterI cellFilter = NULL 
)
pure virtual

◆ extractScalarSet()

virtual const MeXScalardSetI & MiCellExtractUnstructured::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.

◆ extractStringSet()

virtual const MeXStringSetI & MiCellExtractUnstructured::extractStringSet ( const MiStringSetI 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.

◆ extractVec3Set()

virtual const MeXVec3dSetI & MiCellExtractUnstructured::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 MeXSurfaceMeshUnstructured & MiCellExtractUnstructured::getExtract ( ) const
pure virtual

Returns the result of the extraction as a mesh.

◆ getLineExtract()

virtual const MeXLineMeshUnstructured & MiCellExtractUnstructured::getLineExtract ( ) const
pure virtual

◆ getNewInstance() [1/2]

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

◆ getNewInstance() [2/2]

static MiCellExtractUnstructured * MiCellExtractUnstructured::getNewInstance ( const MiVolumeMeshUnstructured 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.

◆ getPointExtract()

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

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