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

MeshViz Convert polyhedral 3D mesh to mixed volume mesh. More...

#include <MeshVizXLM/extractors/MiPolyhedralToMixVolumeExtract.h>

+ Inheritance diagram for MiPolyhedralToMixVolumeExtract:

Public Member Functions

virtual ~MiPolyhedralToMixVolumeExtract ()
 
virtual const MeXVolumeMeshUnstructuredconvert (const MiCellFilterI *cellFilter=NULL)=0
 Builds the topology and geometry of the mixed volume 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 MeXVolumeMeshUnstructuredgetExtract () 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 MiPolyhedralToMixVolumeExtractgetNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true)
 Factory method returning a new instance of a class implementing this abstract class.
 

Detailed Description

MeshViz Convert polyhedral 3D mesh to mixed volume mesh.

This conversion tool is another type of extractor which takes a polyhedral volume mesh as input and produces a mixed volume mesh made up of a combination of tetrahedrons and pyramids compatible with the marching cube algorithm.

The following example shows how to convert a polyhedral volume mesh to a mixed volume mesh:

MiPolyhedralToMixVolume* extract =
MiPolyhedralToMixVolume::getNewInstance(mesh);
const MeXVolumeMeshUnstructured tessMesh = extract->convert();
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Extracted unstructured v...

Definition at line 60 of file MiPolyhedralToMixVolumeExtract.h.

Constructor & Destructor Documentation

◆ ~MiPolyhedralToMixVolumeExtract()

virtual MiPolyhedralToMixVolumeExtract::~MiPolyhedralToMixVolumeExtract ( )
inlinevirtual

Definition at line 63 of file MiPolyhedralToMixVolumeExtract.h.

Member Function Documentation

◆ convert()

virtual const MeXVolumeMeshUnstructured & MiPolyhedralToMixVolumeExtract::convert ( const MiCellFilterI cellFilter = NULL)
pure virtual

Builds the topology and geometry of the mixed volume mesh.

◆ extractScalarSet()

virtual const MeXScalardSetI & MiPolyhedralToMixVolumeExtract::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 & MiPolyhedralToMixVolumeExtract::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 MeXVolumeMeshUnstructured & MiPolyhedralToMixVolumeExtract::getExtract ( ) const
pure virtual

Returns the result of the extraction as a mesh.

◆ getNewInstance()

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

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