23#ifndef _MoMeshPointProbe_H
24#define _MoMeshPointProbe_H
26#include <MeshVizXLM/mapping/nodes/MoActionNode.h>
27#include <MeshVizXLM/extrmesh/data/MeXDataSetI.h>
29#include <Inventor/fields/SoMFInt32.h>
33#pragma warning(disable:4251)
42class MxAttributesManager;
161 virtual void motionCallback(
size_t SO_UNUSED_PARAM(cellIdI),
size_t SO_UNUSED_PARAM(cellIdJ),
178 virtual void motionCallback(
size_t SO_UNUSED_PARAM(cellIdI),
size_t SO_UNUSED_PARAM(cellIdJ),
size_t SO_UNUSED_PARAM(cellIdK),
214 static void initClass() ;
215 static void exitClass() ;
218 virtual void doAction(
SoAction *action);
226 template<
typename _ScalarSet,
typename _VectorSet,
typename _MeshInterface,
typename _Probe>
227 void doProbing(
SoState * state,
const _MeshInterface* mesh, _Probe** probe);
229 template<
typename _Probe,
typename _ScalarSet,
typename _VectorSet>
230 void probeAtPosition(
SoState * state,_Probe* probe, std::vector<const _ScalarSet*>& sSets,
231 std::vector<const _VectorSet*>& vSets);
242 MxNodeSensor* m_sensor;
245 MxAttributesManager* m_attributesManager;
248 MxProbeCallback* m_probeCallback;
<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> Abstract mesh interface.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Probe at a given locatio...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Probe at a given locatio...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Probe at a given locatio...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Probe at a given locatio...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Utility class that provi...
This class specifies the interface used by this node to notify the application when the position of t...
virtual ~MoProbeCallback()
virtual void motionCallback(size_t cellId, const MeXScalardSetI &scalars, const MeXVec3dSetI &vectors)
Callback that is triggered each time the field MoMeshPointProbe::position changes on a unstructured m...
virtual void motionCallback(size_t cellIdI, size_t cellIdJ, const MeXScalardSetI &scalars, const MeXVec3dSetI &vectors)
Callback that is triggered each time the field MoMeshPointProbe::position changes on a structured IJ ...
virtual void motionCallback(size_t cellIdI, size_t cellIdJ, size_t cellIdK, const MeXScalardSetI &scalars, const MeXVec3dSetI &vectors)
Callback that is triggered each time the field MoMeshPointProbe::position changes on a structured IJK...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Action node that probes ...
SoMFInt32 scalarSetIds
Field representing the scalar set nodes to use when probing at the current position.
void removeProbeCallback()
remove the user defined probe callback (see setProbeCallback()) which will disable the node.
SoMFInt32 vectorSetIds
Field representing the vector set nodes to use when probing at the current position.
const MiPointProbeUnstructured * getPointProbeUnstructured()
Get probes for reuse outside this node.
MoMeshPointProbe()
Constructor.
const MiPointProbeIj * getPointProbeIj()
SoSFVec3f position
Field representing the position of the probe.
const MiPointProbeHexahedronIjk * getPointProbeUnstructuredIjk()
const MiPointProbeHexahedronIjk * getPointProbeHexahedronIjk()
void setProbeCallback(MoProbeCallback &probeCallback)
Set the user defined probe callback which will be called when the motion event occurs.
const MiPointProbeIjk * getPointProbeIjk()
Abstract base class for all actions.
Multiple-value field containing any number of int32_t integers.
Field containing a three-dimensional vector.
MeshType
All supported mesh types.