23#ifndef _MiPointProbeUnstructured_h
24#define _MiPointProbeUnstructured_h
110 template <
typename _T>
129 virtual void getWeight(std::vector<double>& weight)
const = 0;
145template <
typename _T>
#define MESHVIZXLM_EXTR_API
valueRef getValue() const
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Interface class defining...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract cell...
virtual size_t getNodeIndex(size_t node) const =0
Gets the index (in the mesh) of a node.
virtual size_t getNumNodes() const =0
Gets the number of nodes.
virtual DataBinding getBinding() const =0
Returns the data binding of this data set.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Generic data set interfa...
virtual _T get(size_t i) const =0
Returns the i-th value of this set.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Probe at a given locatio...
virtual const MiCell * getCell() const =0
Gets the cell of the mesh containing the current location of the probe.
static MiPointProbeUnstructured * getNewInstance(const MiVolumeMeshUnstructured &mesh, bool parallel=true)
Factory method returning a new instance of a class implementing this abstract class.
virtual ~MiPointProbeUnstructured()
virtual const MbVec3d & getCoord() const =0
Gets the coordinates of the current location of the probe.
virtual bool setLocation(const MbVec3d &point, const MiCellFilterI *cellFilter=NULL)=0
Sets the current probe location at the given point and looks for the cell containing this point.
virtual size_t getCellId() const =0
Gets the id of the cell of the mesh containing the current location of the probe.
virtual void getWeight(std::vector< double > &weight) const =0
Gets the weights at the current probe location.
virtual bool moveLocation(const MbVec3d &point, size_t cellId, const MiCellFilterI *cellFilter=NULL)=0
Moves the current probe location at the given point.
virtual bool isFound() const =0
static MiPointProbeUnstructured * getNewInstance(const MiSurfaceMeshUnstructured &mesh, bool parallel=true)
_T getValue(const MiDataSetI< _T > &dataset) const
Gets the value at the current probe location in the given dataset.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Unstructured surface mes...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Unstructured volume mesh...