|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaitools.jiffle.runtime.AbstractJiffleRuntime
jaitools.jiffle.runtime.AbstractIndirectRuntime
public abstract class AbstractIndirectRuntime
The default abstract base class for runtime classes that implement indirect evaluation.
| Field Summary | |
|---|---|
protected int |
_height
Processing bounds height |
protected int |
_minx
Processing bounds min X ordinate |
protected int |
_miny
Processing bounds min Y ordinate |
protected int |
_width
Processing bounds width |
| Fields inherited from class jaitools.jiffle.runtime.AbstractJiffleRuntime |
|---|
_FN, _outsideValue, _outsideValueSet, _stk |
| Constructor Summary | |
|---|---|
AbstractIndirectRuntime()
|
|
| Method Summary | |
|---|---|
protected abstract void |
initImageScopeVars()
Initializes image-scope variables. |
double |
readFromImage(String srcImageName,
int x,
int y,
int band)
Gets a value from a source image as a double. |
void |
setBounds(int minx,
int miny,
int width,
int height)
Set the bounds of the processing area. |
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 class jaitools.jiffle.runtime.AbstractJiffleRuntime |
|---|
getVar, initOptionVars |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jaitools.jiffle.runtime.JiffleIndirectRuntime |
|---|
evaluate |
| Methods inherited from interface jaitools.jiffle.runtime.JiffleRuntime |
|---|
getVar |
| Field Detail |
|---|
protected int _minx
protected int _miny
protected int _width
protected int _height
| Constructor Detail |
|---|
public AbstractIndirectRuntime()
| Method Detail |
|---|
public void setDestinationImage(String imageName)
JiffleIndirectRuntime
setDestinationImage in interface JiffleIndirectRuntimeimageName - variable name as used in the Jiffle script
public void setSourceImage(String imageName,
RenderedImage image)
JiffleIndirectRuntime
setSourceImage in interface JiffleIndirectRuntimeimageName - image name as used in the Jiffle scriptimage - writable image
public void setBounds(int minx,
int miny,
int width,
int height)
JiffleRuntime
setBounds in interface JiffleRuntimeminx - min X pixel ordinateminy - min Y pixel ordinatewidth - width of processing areaheight - height of processing area
public double readFromImage(String srcImageName,
int x,
int y,
int band)
JiffleIndirectRuntime
readFromImage in interface JiffleIndirectRuntimesrcImageName - the source imagex - source X ordinatey - source Y ordinateband - source band
protected abstract void initImageScopeVars()
initImageScopeVars in class AbstractJiffleRuntime
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||