Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
MiGridPlaneSliceExtractIjk Class Referenceabstract

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

#include <MeshVizXLM/extractors/MiGridPlaneSliceExtractIjk.h>

+ Inheritance diagram for MiGridPlaneSliceExtractIjk:

Public Member Functions

virtual ~MiGridPlaneSliceExtractIjk ()
 
virtual const MeXSurfaceMeshCurvilinearextractGrid (const MbVec3< double > &normal, double distance, double step, const MiCellFilterIjk *cellFilter=NULL)=0
 Builds the topology and geometry of a curvilinear surface mesh defined by the given plane normal and distance to origin.
 
virtual const MeXScalardSetIjextractScalarSet (const MiScalardSetIjk &inputSet)=0
 Extracts a scalar set from the original mesh.
 
virtual const MeXVec3dSetIjextractVec3Set (const MiVec3dSetIjk &inputSet)=0
 Extracts a vector set from the original mesh.
 
virtual const MeXSurfaceMeshCurvilineargetExtract () 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 MiGridPlaneSliceExtractIjkgetNewInstance (const MiVolumeMeshRegular &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 Factory method returning a new instance of a class implementing this abstract class.
 
static MiGridPlaneSliceExtractIjkgetNewInstance (const MiVolumeMeshRectilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 
static MiGridPlaneSliceExtractIjkgetNewInstance (const MiVolumeMeshCurvilinear &mesh, bool parallel=true, MiTessellator *tessellator=NULL)
 

Detailed Description

MeshViz Grid plane slice extractor on structured 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 on curvilinear mesh). 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.

Definition at line 52 of file MiGridPlaneSliceExtractIjk.h.

Constructor & Destructor Documentation

◆ ~MiGridPlaneSliceExtractIjk()

virtual MiGridPlaneSliceExtractIjk::~MiGridPlaneSliceExtractIjk ( )
inlinevirtual

Definition at line 56 of file MiGridPlaneSliceExtractIjk.h.

Member Function Documentation

◆ extractGrid()

virtual const MeXSurfaceMeshCurvilinear & MiGridPlaneSliceExtractIjk::extractGrid ( const MbVec3< double > &  normal,
double  distance,
double  step,
const MiCellFilterIjk 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
normalVector normal to the grid plane slice
distancePosition of the plane relatively to the origin along the normal
stepDistance between two consecutive nodes in both directions of the plane
cellFilterThe cell filter object.
Returns
A curvilinear surface mesh representing the grid plane slice

◆ extractScalarSet()

virtual const MeXScalardSetIj & MiGridPlaneSliceExtractIjk::extractScalarSet ( const MiScalardSetIjk 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.

Implemented in MiGridPlaneSliceExtractHexahedronIjk.

◆ extractVec3Set()

virtual const MeXVec3dSetIj & MiGridPlaneSliceExtractIjk::extractVec3Set ( const MiVec3dSetIjk 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.

Implemented in MiGridPlaneSliceExtractHexahedronIjk.

◆ getExtract()

virtual const MeXSurfaceMeshCurvilinear & MiGridPlaneSliceExtractIjk::getExtract ( ) const
pure virtual

Returns the result of the extraction as a mesh.

◆ getNewInstance() [1/3]

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

◆ getNewInstance() [2/3]

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

◆ getNewInstance() [3/3]

static MiGridPlaneSliceExtractIjk * MiGridPlaneSliceExtractIjk::getNewInstance ( const MiVolumeMeshRegular mesh,
bool  parallel = true,
MiTessellator tessellator = NULL 
)
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.
tessellatorThe 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: