JSci.instruments
Interface ParticleTrackerListener
public interface ParticleTrackerListener
Interface for an object that is interested to receive the coordinates
measured by a ParticleTracker. The object can be registered to a
ParticleTracker.
Method Summary |
void |
receivePosition(long time,
int[] n,
double[] x,
double[] y,
double[] z)
This method is called by the ParticleTracker whenever it measures
the coordinates of the objects in the image. |
receivePosition
void receivePosition(long time,
int[] n,
double[] x,
double[] y,
double[] z)
- This method is called by the ParticleTracker whenever it measures
the coordinates of the objects in the image.
- Parameters:
time
- the timestamp of the imagen
- the number of the object (can be different from the index)x
- the x coordinates of the templatesy
- the y coordinates of the templatesz
- the z coordinates of the templates; can be null if no z measure is made