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 Images.
 
Methods inherited from interface JSci.instruments.Control
getControlComponent
 

Method Detail

setSource

void setSource(ImageSource fs)
set the object that sends the Images.

Parameters:
fs - the object that sends the frames

receive

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

Parameters:
f - the new frame that must be displayed