|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JiffleDirectRuntime
Defines methods implemented by runtime classes adopting the direct evaluation
model. In this model, the runtime object writes values to the destination
image(s) directly within its evaluate(int, int) method. It also
provides an evaluateAll(JiffleProgressListener) method.
| Method Summary | |
|---|---|
void |
evaluate(int x,
int y)
Evaluates the script for the given image location and writes the result to the destination image(s). |
void |
evaluateAll(JiffleProgressListener pl)
Evaluates the script for all locations in the destination image(s). |
double |
readFromImage(String srcImageName,
int x,
int y,
int band)
Gets a value from a source image as a double. |
void |
setDestinationImage(String imageName,
WritableRenderedImage image)
Associates a name, as used in the Jiffle script, with a destination image. |
void |
setSourceImage(String imageName,
RenderedImage image)
Associates a name, as used in the Jiffle script, with a source image. |
void |
writeToImage(String destImageName,
int x,
int y,
int band,
double value)
Writes a value to a destination image. |
| Methods inherited from interface jaitools.jiffle.runtime.JiffleRuntime |
|---|
getVar, setBounds |
| Method Detail |
|---|
void setDestinationImage(String imageName,
WritableRenderedImage image)
imageName - image name as used in the Jiffle scriptimage - writable image
void setSourceImage(String imageName,
RenderedImage image)
imageName - image name as used in the Jiffle scriptimage - writable image
void evaluate(int x,
int y)
x - destination X ordinatey - destination Y ordinatevoid evaluateAll(JiffleProgressListener pl)
pl - an optional progress listener (may be null
double readFromImage(String srcImageName,
int x,
int y,
int band)
srcImageName - the source imagex - source X ordinatey - source Y ordinateband - source band
void writeToImage(String destImageName,
int x,
int y,
int band,
double value)
destImageName - x - destination X ordinatey - destination Y ordinateband - destination bandvalue - the value to write
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||