|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.psychomorph.batchable.BatchCorrectMouth
public class BatchCorrectMouth
Batch corrects the mouth in the "standard" template, by checking if the top -lip is below the bottom lip points and swapping if needed
Constructor Summary | |
---|---|
BatchCorrectMouth()
|
Method Summary | |
---|---|
void |
finish()
Performs any processing required at the end of the batch loading, |
java.lang.String |
getName()
Gets the name of the Batchable, used in to put them on the psychomorph menu in the form (for "My Bachable"): - My Batchable - Batch My Batchable |
boolean |
getReadTemplate()
Indicates if templates should be read in during batch operation |
boolean |
getWriteImage()
Indicates if images should be written out during batch operation |
boolean |
getWriteTemplate()
Indicates if templates should be written out during batch operation |
boolean |
initialise(PsychoMorphForm psychomorph)
Initialise the Batchable This is called each time the batchable is selected |
boolean |
process(ImageZoomPanel izp,
boolean single)
The process method is called for each image in the list, or for the current image in single mode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchCorrectMouth()
Method Detail |
---|
public boolean process(ImageZoomPanel izp, boolean single)
Batchable
process
in interface Batchable
izp
- The ImageZoomPanel holds the image and Template to processsingle
- this indicates that we are (or are not) in bacth mode. Useful for things like saving undo data (for single) or not (for batch)
public void finish()
Batchable
finish
in interface Batchable
public java.lang.String getName()
Batchable
getName
in interface Batchable
public boolean initialise(PsychoMorphForm psychomorph)
Batchable
initialise
in interface Batchable
psychomorph
- the main psychomorph object
public boolean getReadTemplate()
Batchable
getReadTemplate
in interface Batchable
public boolean getWriteTemplate()
Batchable
getWriteTemplate
in interface Batchable
public boolean getWriteImage()
Batchable
getWriteImage
in interface Batchable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |