Interface MoMeshPointProbe.MoProbeCallback
-
- Enclosing class:
- MoMeshPointProbe
public static interface MoMeshPointProbe.MoProbeCallbackThis class specifies the interface used by this node to notify the application when thepositionof the probe is updated. A derived class must implement at least one of the event methodmotionCallbackdepending on the type of mesh.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmotionCallback(long cellIdI, long cellIdJ, long cellIdK, MeXScalardSetI scalars, MeXVec3dSetI vectors)Callback that is triggered each time the fieldpositionchanges for IJK volume meshes.voidmotionCallback(long cellIdI, long cellIdJ, MeXScalardSetI scalars, MeXVec3dSetI vectors)Callback that is triggered each time the fieldpositionchanges for IJ surface meshes.voidmotionCallback(long cellId, MeXScalardSetI scalars, MeXVec3dSetI vectors)Callback that is triggered each time the fieldpositionchanges for unstructured meshes.
-
-
-
Method Detail
-
motionCallback
void motionCallback(long cellId, MeXScalardSetI scalars, MeXVec3dSetI vectors)Callback that is triggered each time the fieldpositionchanges for unstructured meshes.- Parameters:
cellId- the index of cell in which the probe is located (-1 when the probe is outside the mesh)scalars- set of probed scalar values from the selected scalar sets at the current position (empty when the probe is outside the mesh).
The number of scalar values corresponds to the number of indices inMoMeshPointProbe.scalarSetIds. The ith value in scalars is associated with the ith index inscalarSetIds.vectors- set of probed vectors from the selected vector sets at the current position (empty when the probe is outside the mesh). The number of vectors corresponds to the number of indices inMoMeshPointProbe.vectorSetIds. The ith element in vectors is associated with the ith index invectorSetIds.
-
motionCallback
void motionCallback(long cellIdI, long cellIdJ, MeXScalardSetI scalars, MeXVec3dSetI vectors)Callback that is triggered each time the fieldpositionchanges for IJ surface meshes.- Parameters:
cellIdI- the I index of cell in which the probe is located (-1 when the probe is outside the mesh)cellIdJ- the J index of cell in which the probe is located (-1 when the probe is outside the mesh)scalars- set of probed scalar values from the selected scalar sets at the current position (empty when the probe is outside the mesh).
The number of scalar values corresponds to the number of indices inMoMeshPointProbe.scalarSetIds. The ith value in scalars is associated with the ith index inscalarSetIds.vectors- set of probed vectors from the selected vector sets at the current position (empty when the probe is outside the mesh). The number of vectors corresponds to the number of indices inMoMeshPointProbe.vectorSetIds. The ith element in vectors is associated with the ith index invectorSetIds.
-
motionCallback
void motionCallback(long cellIdI, long cellIdJ, long cellIdK, MeXScalardSetI scalars, MeXVec3dSetI vectors)Callback that is triggered each time the fieldpositionchanges for IJK volume meshes.- Parameters:
cellIdI- the I index of cell in which the probe is located (-1 when the probe is outside the mesh)cellIdJ- the J index of cell in which the probe is located (-1 when the probe is outside the mesh)cellIdK- the K index of cell in which the probe is located (-1 when the probe is outside the mesh)scalars- set of probed scalar values from the selected scalar sets at the current position (empty when the probe is outside the mesh).
The number of scalar values corresponds to the number of indices inMoMeshPointProbe.scalarSetIds. The ith value in scalars is associated with the ith index inscalarSetIds.vectors- set of probed vectors from the selected vector sets at the current position (empty when the probe is outside the mesh). The number of vectors corresponds to the number of indices inMoMeshPointProbe.vectorSetIds. The ith element in vectors is associated with the ith index invectorSetIds.
-
-