eap.fits
Interface RealImageConsumer

All Known Implementing Classes:
ImageDigitizer

public interface RealImageConsumer

This is the similar to an ImageConsumer, except that it handles double valued pixels. This whole paradigm for handling images may get scrapped.


Method Summary
 void imageComplete(int status)
          called by the image producer when it is done sending pixels.
 void setDimensions(int width, int height)
          called by the image producer to indicate the dimensions of the image.
 void setHints(int hintflags)
          Called by the image producer to indicate hints about how the pixels will be delivered.
 void setMinMax(double min, double max)
          Called by the producer to indicate the pixel value limits.
 void setPixels(int x, int y, int w, int h, double[] pixels, int offset, int scansize)
          the image producer calls this method to deliver a batch of pixels
 

Method Detail

imageComplete

public void imageComplete(int status)
called by the image producer when it is done sending pixels.


setDimensions

public void setDimensions(int width,
                          int height)
called by the image producer to indicate the dimensions of the image.


setMinMax

public void setMinMax(double min,
                      double max)
Called by the producer to indicate the pixel value limits.


setHints

public void setHints(int hintflags)
Called by the image producer to indicate hints about how the pixels will be delivered. The hint flags are the same as for an ImageConsumer.


setPixels

public void setPixels(int x,
                      int y,
                      int w,
                      int h,
                      double[] pixels,
                      int offset,
                      int scansize)
the image producer calls this method to deliver a batch of pixels