JSci.instruments
Interface ImageSink

All Superinterfaces:
Control
All Known Subinterfaces:
ImageFilter, ParticleTracker
All Known Implementing Classes:
ImageFilterAdapter, Player, PTCroquette, PTTemplate, PTTwoDBarycentre

public interface ImageSink
extends Control

An object that reads frames


Method Summary
 void receive(Image f)
          This method is called by the ImageSource to send a Image
 void setSource(ImageSource fs)
          set the object that sends the Image<\code>s.
 
Methods inherited from interface JSci.instruments.Control
getControlComponent
 

Method Detail

setSource

public void setSource(ImageSource fs)
set the object that sends the Image<\code>s.

Parameters:
fs - the object that sends the frames

receive

public void receive(Image f)
This method is called by the ImageSource to send a Image

Parameters:
f - the new frame that must be displayed