Probe at a given location in an unstructured IJK volume mesh More...
#include <MeshVizXLM/extractors/MiPointProbeUnstructuredIjk.h>
Public Member Functions | |
template<typename _T > | |
_T | getValue (const MiDataSetI< _T > &dataset) const |
template<typename _T > | |
_T | getValue (const MiDataSetIjk< _T > &dataset) const |
Static Public Member Functions | |
static MiPointProbeUnstructuredIjk * | getNewInstance (const MiVolumeMeshHexahedronIjk &mesh, bool parallel=true) |
Protected Member Functions | |
virtual const MiVolumeCell * | getCell () const =0 |
Deprecated | |
| |
static SoDEPRECATED MiPointProbeUnstructuredIjk * | getNewInstance (const MiVolumeMeshUnstructuredIjk &mesh, bool parallel=true) |
This class can be used to evaluate the value of a data set in the given mesh at any location. The probe is internally building an octree onto the mesh. This octree can be optimized by setting three environment variables (see MiPointProbeUnstructured and SoPreferences).
virtual const MiVolumeCell* MiPointProbeUnstructuredIjk::getCell | ( | ) | const [protected, pure virtual] |
Gets the cell of the mesh containing the current location of the probe.
This method is protected to have a public api the most similar to the MiPointProbeIjk.
static SoDEPRECATED MiPointProbeUnstructuredIjk* MiPointProbeUnstructuredIjk::getNewInstance | ( | const MiVolumeMeshUnstructuredIjk & | mesh, | |
bool | parallel = true | |||
) | [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. |
static MiPointProbeUnstructuredIjk* MiPointProbeUnstructuredIjk::getNewInstance | ( | const MiVolumeMeshHexahedronIjk & | mesh, | |
bool | parallel = true | |||
) | [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. |
_T MiPointProbeUnstructuredIjk::getValue | ( | const MiDataSetIjk< _T > & | dataset | ) | const [inline] |
Gets the value at the current probe location in the given PER_CELL dataset.
The returned value is meaningless if the probe location is outside the mesh (when isFound() is false).
Reimplemented from MiPointProbeIjk.
_T MiPointProbeUnstructuredIjk::getValue | ( | const MiDataSetI< _T > & | dataset | ) | const [inline] |
Gets the value at the current probe location in the given PER_NODE dataset.
The returned value is meaningless if the probe location is outside the mesh (when isFound() is false).