MiGridPlaneSliceExtractUnstructured Class Reference
[Slice]

MeshViz Grid plane slice extractor on unstructured volume meshes More...

#include <MeshVizXLM/extractors/MiGridPlaneSliceExtractUnstructured.h>

Inheritance diagram for MiGridPlaneSliceExtractUnstructured:
MiBaseExtractor

List of all members.

Public Member Functions

virtual ~MiGridPlaneSliceExtractUnstructured ()
virtual const
MeXSurfaceMeshCurvilinear
extractGrid (const MbVec3< double > &normal, double distance, double step, const MiCellFilterI *cellFilter=NULL)=0
virtual const MeXScalardSetIjextractScalarSet (const MiScalardSetI &inputSet)=0
virtual const MeXVec3dSetIjextractVec3Set (const MiVec3dSetI &inputSet)=0
virtual const
MeXSurfaceMeshCurvilinear
getExtract () const =0

Static Public Member Functions

static
MiGridPlaneSliceExtractUnstructured
getNewInstance (const MiVolumeMeshUnstructured &mesh, bool parallel=true, MiTessellator *tessellator=NULL)

Detailed Description

MeshViz Grid plane slice extractor on unstructured volume meshes

This extractor is similar to the plane slice extractor except that it creates a structured mesh and probes the input volume to compute the values at the surface nodes and cells (See MiPointProbeUnstructured for settings). The grid created by this extractor is computed so that it encloses completely the cross section of the input volume mesh marking as dead the cells outside the volume.

See related examples:

Bench_GridSlice


Constructor & Destructor Documentation

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

Member Function Documentation

virtual const MeXSurfaceMeshCurvilinear& MiGridPlaneSliceExtractUnstructured::extractGrid ( const MbVec3< double > &  normal,
double  distance,
double  step,
const MiCellFilterI cellFilter = NULL 
) [pure virtual]

Builds the topology and geometry of a curvilinear surface mesh defined by the given plane normal and distance to origin. This grid is computed so that it encloses completely the cross section of the input volume mesh.

Parameters:
normal Vector normal to the grid plane slice
distance Position of the plane relatively to the origin along the normal
step Distance between two consecutive nodes in both directions of the plane
cellFilter The cell filter object.
Returns:
A curvilinear surface mesh representing the grid plane slice

virtual const MeXScalardSetIj& MiGridPlaneSliceExtractUnstructured::extractScalarSet ( const MiScalardSetI inputSet  )  [pure virtual]

Extracts a PER_NODE scalar set from the volume mesh.

The scalars are mapped onto the current extracted grid. Even if the binding of the input scalar set is PER_CELL, this extractor cannot produce a PER_CELL extract because it uses the probing mechanism at each grid plane node to extract values and so does not contain PER_CELL values.

Parameters:
inputSet the input scalar set defined on the volume mesh
Returns:
the output scalar set defined on the resulting grid volume mesh
virtual const MeXVec3dSetIj& MiGridPlaneSliceExtractUnstructured::extractVec3Set ( const MiVec3dSetI inputSet  )  [pure virtual]

Extracts a PER_NODE vector set from the volume mesh.

The vectors are mapped onto the current extracted grid. Even if the binding of the input vector set is PER_CELL, this extractor cannot produce a PER_CELL extract because it uses the probing mechanism at each grid plane node to extract values and so does not contain PER_CELL values.

Parameters:
inputSet the input vec3 set defined on the volume mesh
Returns:
the output scalar set defined on the resulting grid volume mesh
virtual const MeXSurfaceMeshCurvilinear& MiGridPlaneSliceExtractUnstructured::getExtract (  )  const [pure virtual]

Returns the result of the extraction as a mesh.

static MiGridPlaneSliceExtractUnstructured* MiGridPlaneSliceExtractUnstructured::getNewInstance ( const MiVolumeMeshUnstructured mesh,
bool  parallel = true,
MiTessellator tessellator = NULL 
) [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.
tessellator The 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:

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