Convert polyhedral 3D mesh to mixed volume mesh. More...
#include <MeshVizXLM/extractors/MiPolyhedralToMixVolumeExtract.h>
Public Member Functions | |
virtual | ~MiPolyhedralToMixVolumeExtract () |
virtual const MeXVolumeMeshUnstructured & | convert (const MiCellFilterI *cellFilter=NULL)=0 |
Builds the topology and geometry of the mixed volume mesh. | |
virtual const MeXScalardSetI & | extractScalarSet (const MiScalardSetI &inputSet)=0 |
Extracts a scalar set from the original mesh. | |
virtual const MeXVec3dSetI & | extractVec3Set (const MiVec3dSetI &inputSet)=0 |
Extracts a vector set from the original mesh. | |
virtual const MeXVolumeMeshUnstructured & | getExtract () 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 MiPolyhedralToMixVolumeExtract * | getNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true) |
Factory method returning a new instance of a class implementing this abstract class. | |
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:
Definition at line 60 of file MiPolyhedralToMixVolumeExtract.h.
|
inlinevirtual |
Definition at line 63 of file MiPolyhedralToMixVolumeExtract.h.
|
pure virtual |
Builds the topology and geometry of the mixed volume mesh.
|
pure virtual |
Extracts a scalar set from the original mesh.
The scalars are mapped onto the current extracted mesh.
inputSet | The input scalar set defined on the original mesh. |
|
pure virtual |
Extracts a vector set from the original mesh.
The vectors are mapped onto the current extracted mesh.
inputSet | The input vector set defined on the original mesh. |
|
pure virtual |
Returns the result of the extraction as a mesh.
|
static |
Factory method returning a new instance of a class implementing this abstract class.
mesh | The input mesh |
parallel | When true, tries to create an extract module using a parallel algorithm to speed up the extraction. |