Package | Description |
---|---|
it.geosolutions.jaiext.jiffle |
Jiffle is a scripting language for creating and analysing raster images.
|
it.geosolutions.jaiext.jiffle.demo |
Example applications for the Jiffle scripting language.
|
it.geosolutions.jaiext.jiffle.docs | |
it.geosolutions.jaiext.jiffle.runtime |
Jiffle runtime classes.
|
Modifier and Type | Method and Description |
---|---|
void |
Jiffle.compile()
Compiles the script into Java source for the runtime class.
|
static Set<GetSourceValue> |
Jiffle.getReadPositions(String script,
List<String> sourceImageNames)
A utility method returning the source positions used in a given script
|
JiffleDirectRuntime |
JiffleBuilder.getRuntime()
Creates a runtime object for the currently set script and images.
|
JiffleDirectRuntime |
Jiffle.getRuntimeInstance()
Creates an instance of the default runtime class.
|
<T extends JiffleRuntime> |
Jiffle.getRuntimeInstance(Class<T> baseClass)
Gets the runtime object for this script.
|
JiffleRuntime |
Jiffle.getRuntimeInstance(Jiffle.RuntimeModel model)
Creates a runtime object based using the class specified by
model . |
String |
JiffleBuilder.getRuntimeSource()
Gets the Java run-time class code generated from the compiled script.
|
String |
Jiffle.getRuntimeSource(boolean scriptInDocs)
Gets a copy of the Java source for the runtime class.
|
String |
Jiffle.getRuntimeSource(Jiffle.RuntimeModel model,
boolean scriptInDocs)
Gets a copy of the Java source for the runtime class.
|
JiffleBuilder |
JiffleBuilder.run()
Runs the script.
|
JiffleBuilder |
JiffleBuilder.script(File scriptFile)
Reads the script from
scriptFile . |
void |
Jiffle.setScript(File scriptFile)
Sets the script.
|
void |
Jiffle.setScript(String script)
Sets the script.
|
Constructor and Description |
---|
Jiffle(File scriptFile,
Map<String,Jiffle.ImageRole> params)
Creates a new instance by compiling the script read from
scriptFile . |
Jiffle(String script,
Map<String,Jiffle.ImageRole> params)
Creates a new instance by compiling the provided script.
|
Modifier and Type | Method and Description |
---|---|
static String |
JiffleDemoHelper.getScript(ImageChoice choice)
Gets an example script.
|
static File |
JiffleDemoHelper.getScriptFile(String[] args,
ImageChoice defaultScript)
Gets a file specified in the command line args, or the default
example image if no name is supplied.
|
static void |
SentinelNDVI.main(String[] args) |
static String |
JiffleDemoHelper.readScriptFile(File scriptFile)
Reads the contents of a script file.
|
Modifier and Type | Method and Description |
---|---|
RenderedImage |
FirstJiffleBuilderExample.buildAndRunScript(File scriptFile,
RenderedImage inputImage) |
void |
GetRuntimeSource.getSourceFromJiffleBuilder(String script) |
void |
GetRuntimeSource.getSourceFromJiffleObject(String script) |
static void |
RunProportionalRipples.main(String[] args) |
void |
RunProportionalRipples.runScriptWithBuilder(String script,
String destVar,
WritableRenderedImage destImage) |
void |
RunProportionalRipples.runScriptWithJiffle(String script,
String destVar,
WritableRenderedImage destImage) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDirectRuntime.setDefaultTransform(CoordinateTransform tr) |
void |
JiffleRuntime.setDefaultTransform(CoordinateTransform tr)
Sets a coordinate transform to be used by any source and destination images
submitted to the runtime object without their own transforms.
|
void |
AbstractJiffleRuntime.setDefaultTransform(CoordinateTransform tr)
Sets a coordinate transform to be used by any source and destination images
submitted to the runtime object without their own transforms.
|
void |
JiffleIndirectRuntime.setDestinationImage(String varName,
CoordinateTransform tr)
Specifies the name of the script variable which represents the destination
image and defines the coordinate transform.
|
void |
AbstractIndirectRuntime.setDestinationImage(String varName,
CoordinateTransform tr) |
void |
AbstractDirectRuntime.setDestinationImage(String varName,
WritableRenderedImage image,
CoordinateTransform tr)
Associates a variable name with a destination image and coordinate transform.
|
void |
JiffleDirectRuntime.setDestinationImage(String varName,
WritableRenderedImage image,
CoordinateTransform tr)
Associates a variable name with a destination image and coordinate transform.
|
void |
JiffleRuntime.setSourceImage(String varName,
RenderedImage image,
CoordinateTransform tr)
Associates a variable name with a source image and coordinate transform.
|
void |
AbstractJiffleRuntime.setSourceImage(String varName,
RenderedImage image,
CoordinateTransform tr)
Associates a variable name with a source image and coordinate transform.
|
void |
JiffleRuntime.setSourceImageBandTransform(String varName,
BandTransform br)
Associates a given source image with a BandTransform
|
void |
AbstractJiffleRuntime.setSourceImageBandTransform(String varName,
BandTransform btr) |
void |
JiffleRuntime.setSourceImageCoordinateTransform(String varName,
CoordinateTransform tr)
Associates a given source image with a CoordinateTransform
|
void |
AbstractJiffleRuntime.setSourceImageCoordinateTransform(String varName,
CoordinateTransform tr) |
Copyright © 2006–2018 GeoSolutions. All rights reserved.