MiPolyhedralToMixVolumeExtract Class Reference
[Utilities]

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

#include <MeshVizXLM/extractors/MiPolyhedralToMixVolumeExtract.h>

Inheritance diagram for MiPolyhedralToMixVolumeExtract:
MiBaseExtractor

List of all members.

Public Member Functions

virtual ~MiPolyhedralToMixVolumeExtract ()
virtual const
MeXVolumeMeshUnstructured
convert (const MiCellFilterI *cellFilter=NULL)=0
virtual const MeXScalardSetIextractScalarSet (const MiScalardSetI &inputSet)=0
virtual const MeXVec3dSetIextractVec3Set (const MiVec3dSetI &inputSet)=0
virtual const
MeXVolumeMeshUnstructured
getExtract () const =0

Static Public Member Functions

static
MiPolyhedralToMixVolumeExtract
getNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true)

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();
See related examples:

TessellatedPolyhedralMesh


Constructor & Destructor Documentation

virtual MiPolyhedralToMixVolumeExtract::~MiPolyhedralToMixVolumeExtract (  )  [inline, virtual]

Member Function Documentation

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

Builds the topology and geometry of the mixed volume mesh.

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:
inputSet The input scalar set defined on the original mesh.
Returns:
The output scalar set defined on the extracted mesh.

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:
inputSet The input vector set defined on the original mesh.
Returns:
The output vector set defined on the extracted mesh.

virtual const MeXVolumeMeshUnstructured& MiPolyhedralToMixVolumeExtract::getExtract (  )  const [pure virtual]

Returns the result of the extraction as a mesh.

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:
mesh The input mesh
parallel When 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:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/