Facemorph
Interface TransformerListener

All Known Implementing Classes:
ImageZoomPanel, PsychoMorphForm

public interface TransformerListener

Listner for display of the transforming process


Method Summary
 void drawAverage(java.awt.Image img, Template tem, int i, int count)
          Called when the average needs to be redrawn
 void drawImage(java.awt.Image img, Template tem, boolean warped)
          Called when the image needs to be drawn
 

Method Detail

drawImage

void drawImage(java.awt.Image img,
               Template tem,
               boolean warped)
Called when the image needs to be drawn

Parameters:
img - the image to draw
tem - the template to draw
warped - indicates if this is the warped image

drawAverage

void drawAverage(java.awt.Image img,
                 Template tem,
                 int i,
                 int count)
Called when the average needs to be redrawn

Parameters:
img - the image to draw
tem - the template to draw
i - the number of this image in the average
count - the total number of images to be put in the average