|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JiffleIndirectRuntime
Defines methods implemented by runtime classes adopting the indirect
evaluation model. In this model, there is only a single destination image
and the evaluate(int, int) method passes values back to the caller
rather than writing them to the destination image directly.
| Method Summary | |
|---|---|
double |
evaluate(int x,
int y)
Evaluates the script for the given image location. |
double |
readFromImage(String srcImageName,
int x,
int y,
int band)
Gets a value from a source image as a double. |
void |
setDestinationImage(String imageName)
Specifies the variable in the Jiffle script which refers to the destination image. |
void |
setSourceImage(String imageName,
RenderedImage image)
Associates a variable name in the Jiffle script with a source image. |
| Methods inherited from interface jaitools.jiffle.runtime.JiffleRuntime |
|---|
getVar, setBounds |
| Method Detail |
|---|
void setDestinationImage(String imageName)
imageName - variable name as used in the Jiffle script
void setSourceImage(String imageName,
RenderedImage image)
imageName - image name as used in the Jiffle scriptimage - writable image
double evaluate(int x,
int y)
x - destination X ordinatey - destination Y ordinate
double readFromImage(String srcImageName,
int x,
int y,
int band)
srcImageName - the source imagex - source X ordinatey - source Y ordinateband - source band
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||