public abstract class AbstractIndirectRuntime extends AbstractJiffleRuntime implements JiffleIndirectRuntime
AbstractJiffleRuntime.SourceImage
_defaultTransform, _FN, _images, _imageScopeVarsInitialized, _outsideValue, _outsideValueSet, _stk
Constructor and Description |
---|
AbstractIndirectRuntime(String[] variableNames)
Creates a new instance and initializes script-option variables.
|
Modifier and Type | Method and Description |
---|---|
void |
setDefaultBounds() |
void |
setDestinationImage(String varName)
Specifies the name of the script variable which represents the destination
image.
|
void |
setDestinationImage(String varName,
CoordinateTransform tr)
Specifies the name of the script variable which represents the destination
image and defines the coordinate transform.
|
get_images, getDestinationVarNames, getHeight, getMaxX, getMaxY, getMinX, getMinY, getNumPixels, getSourceVarNames, getTransform, getVar, getVariableField, getVarNames, getWidth, getXRes, getYRes, initImageScopeVars, initOptionVars, isWorldSet, readFromImage, setDefaultTransform, setImageParams, setSourceImage, setSourceImage, setSourceImageBandTransform, setSourceImageCoordinateTransform, setVar, setWorldByNumPixels, setWorldByResolution
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate
get_images, getDestinationVarNames, getHeight, getMaxX, getMaxY, getMinX, getMinY, getNumPixels, getSourceVarNames, getVar, getVarNames, getWidth, getXRes, getYRes, isWorldSet, readFromImage, setDefaultTransform, setImageParams, setSourceImage, setSourceImage, setSourceImageBandTransform, setSourceImageCoordinateTransform, setVar, setWorldByNumPixels, setWorldByResolution
public AbstractIndirectRuntime(String[] variableNames)
public void setDestinationImage(String varName)
JiffleIndirectRuntime
setDestinationImage(varName, null)
This convenience method is defined in the interface because it will be
commonly when working directly with image coordinates.setDestinationImage
in interface JiffleIndirectRuntime
varName
- script variable representing the destination imagepublic void setDestinationImage(String varName, CoordinateTransform tr) throws JiffleException
JiffleIndirectRuntime
tr
is null
the default
identify transform will be used.
Note that Jiffle uses rounding to reduce the transformed coordinates to integers.
setDestinationImage
in interface JiffleIndirectRuntime
varName
- script variable representing the destination imagetr
- transform for processing area to image coordinatesJiffleException
- if the world bounds and resolution have not
been set previouslypublic void setDefaultBounds()
setDefaultBounds
in class AbstractJiffleRuntime
Copyright © 2006–2018 GeoSolutions. All rights reserved.