Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
MiPerCellToPerNodeExtractIjk Class Referenceabstract

MeshViz Convert data sets bound per cell into data sets bound per node on a given structured volume mesh. More...

#include <MeshVizXLM/extractors/MiPerCellToPerNodeExtractIjk.h>

+ Inheritance diagram for MiPerCellToPerNodeExtractIjk:

Public Member Functions

virtual ~MiPerCellToPerNodeExtractIjk ()
 
virtual const MeXScalardSetIjkextractScalarSet (const MiScalardSetIjk &inputSet)=0
 Converts a PER_CELL scalar set defined on the input mesh into a PER_NODE scalar set.
 
virtual const MeXVec3dSetIjkextractVec3Set (const MiVec3dSetIjk &inputSet)=0
 Converts a PER_CELL vector set defined on the input mesh into a PER_NODE vecto set.
 
- 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 MiPerCellToPerNodeExtractIjkgetNewInstance (const MiVolumeMeshRegular &mesh, bool parallel=true)
 Factory method returning a new instance of a class implementing this abstract class.
 
static MiPerCellToPerNodeExtractIjkgetNewInstance (const MiVolumeMeshRectilinear &mesh, bool parallel=true)
 
static MiPerCellToPerNodeExtractIjkgetNewInstance (const MiVolumeMeshCurvilinear &mesh, bool parallel=true)
 

Detailed Description

MeshViz Convert data sets bound per cell into data sets bound per node on a given structured volume mesh.

This conversion tool is another type of extractor which takes a data set bound per cell on a structured volume mesh as input and produces a new data set bound per node on the same mesh.

The value computed at a given node is the average of values from the surrounding cells, except dead cells.

The following example shows how to convert data sets bound per cell:

const MeXScalardSetIjk& perNodeScalarSet = extract->extractScalarSet(perCellScalarSet);
const MeXVec3dSetIjk& perNodeVectorSet = extract->extractVec3Set(perCellVectorSet);
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic data set interfa...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Convert data sets bound ...
virtual const MeXVec3dSetIjk & extractVec3Set(const MiVec3dSetIjk &inputSet)=0
Converts a PER_CELL vector set defined on the input mesh into a PER_NODE vecto set.
virtual const MeXScalardSetIjk & extractScalarSet(const MiScalardSetIjk &inputSet)=0
Converts a PER_CELL scalar set defined on the input mesh into a PER_NODE scalar set.
static MiPerCellToPerNodeExtractIjk * getNewInstance(const MiVolumeMeshRegular &mesh, bool parallel=true)
Factory method returning a new instance of a class implementing this abstract class.

Definition at line 62 of file MiPerCellToPerNodeExtractIjk.h.

Constructor & Destructor Documentation

◆ ~MiPerCellToPerNodeExtractIjk()

virtual MiPerCellToPerNodeExtractIjk::~MiPerCellToPerNodeExtractIjk ( )
inlinevirtual

Definition at line 65 of file MiPerCellToPerNodeExtractIjk.h.

Member Function Documentation

◆ extractScalarSet()

virtual const MeXScalardSetIjk & MiPerCellToPerNodeExtractIjk::extractScalarSet ( const MiScalardSetIjk inputSet)
pure virtual

Converts a PER_CELL scalar set defined on the input mesh into a PER_NODE scalar set.

Parameters
inputSetThe input PER_CELL scalar set defined on the input mesh.
Returns
The output PER_NODE scalar set defined on the input mesh.

◆ extractVec3Set()

virtual const MeXVec3dSetIjk & MiPerCellToPerNodeExtractIjk::extractVec3Set ( const MiVec3dSetIjk inputSet)
pure virtual

Converts a PER_CELL vector set defined on the input mesh into a PER_NODE vecto set.

Parameters
inputSetThe input PER_CELL vector set defined on the input mesh.
Returns
The output PER_NODE vector set defined on the input mesh.

◆ getNewInstance() [1/3]

static MiPerCellToPerNodeExtractIjk * MiPerCellToPerNodeExtractIjk::getNewInstance ( const MiVolumeMeshCurvilinear mesh,
bool  parallel = true 
)
static

◆ getNewInstance() [2/3]

static MiPerCellToPerNodeExtractIjk * MiPerCellToPerNodeExtractIjk::getNewInstance ( const MiVolumeMeshRectilinear mesh,
bool  parallel = true 
)
static

◆ getNewInstance() [3/3]

static MiPerCellToPerNodeExtractIjk * MiPerCellToPerNodeExtractIjk::getNewInstance ( const MiVolumeMeshRegular 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: