A B C D E F G H I J L M N O P R S T U V W X _

A

AbstractDirectRuntime - Class in org.jaitools.jiffle.runtime
The default abstract base class for runtime classes that implement direct evaluation.
AbstractDirectRuntime() - Constructor for class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Creates a new instance and initializes script-option variables.
AbstractIndirectRuntime - Class in org.jaitools.jiffle.runtime
The default abstract base class for runtime classes that implement indirect evaluation.
AbstractIndirectRuntime() - Constructor for class org.jaitools.jiffle.runtime.AbstractIndirectRuntime
Creates a new instance and initializes script-option variables.
AbstractJiffleRuntime - Class in org.jaitools.jiffle.runtime
Provides default implementations of JiffleRuntime methods plus some common fields.
AbstractJiffleRuntime() - Constructor for class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Creates a new instance of this class and initializes its JiffleFunctions and IntegerStack objects.
AbstractJiffleRuntime.ImageScopeVar - Class in org.jaitools.jiffle.runtime
Holds information about an image-scope variable.
AbstractJiffleRuntime.ImageScopeVar(String, boolean) - Constructor for class org.jaitools.jiffle.runtime.AbstractJiffleRuntime.ImageScopeVar
Constructor.
AbstractProgressListener - Class in org.jaitools.jiffle.runtime
A simple progress listener base.
AbstractProgressListener() - Constructor for class org.jaitools.jiffle.runtime.AbstractProgressListener
Creates a new instance with an update interval of 1.
AbstractSourceGenerator - Class in org.jaitools.jiffle.parser
Base class for tree parsers that generate Jiffle runtime source.
AbstractSourceGenerator(TreeNodeStream) - Constructor for class org.jaitools.jiffle.parser.AbstractSourceGenerator
Constructor called by ANTLR.
AbstractSourceGenerator(TreeNodeStream, RecognizerSharedState) - Constructor for class org.jaitools.jiffle.parser.AbstractSourceGenerator
Constructor called by ANTLR.
activeChannels - Variable in class org.jaitools.jiffle.parser.MultiChannelTokenStream
The List of active channel indices.
add(String, Message) - Method in class org.jaitools.jiffle.parser.MessageTable
Adds a message.
add(Symbol) - Method in class org.jaitools.jiffle.parser.SymbolScope
Adds a symbol to this scope.
addActiveChannel(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Adds a channel to those active.
addError(String) - Method in class org.jaitools.jiffle.parser.DeferredErrorReporter
 
addError(String) - Method in class org.jaitools.jiffle.parser.NullErrorReporter
 
addError(String) - Method in interface org.jaitools.jiffle.parser.ParsingErrorReporter
Handles an error message.
addEventListener(JiffleEventListener) - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Adds an event listener.
addImport(String...) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Adds the given imports to those that will be included in the runtime source.
addLevel() - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Pushes a new scope level onto the stack.
addLevel(String) - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Pushes a new scope level onto the stack.
addSymbol(String, SymbolType, ScopeType) - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Adds a new symbol to the current scope level.
AffineCoordinateTransform - Class in org.jaitools.jiffle.runtime
Wraps an AffineTransform object for use as a Jiffle CoordinateTransform.
AffineCoordinateTransform(AffineTransform) - Constructor for class org.jaitools.jiffle.runtime.AffineCoordinateTransform
Creates a new instance to wrap the given AffineTransform.
AND(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if both x and y are non-zero.

B

baseClassName - Variable in class org.jaitools.jiffle.parser.AbstractSourceGenerator
The name of the base class for the runtime class.

C

call() - Method in class org.jaitools.jiffle.runtime.JiffleExecutorTask
Called by the system to execute this task on a thread provided by the JiffleExecutor.
CHUNK_SIZE - Static variable in class org.jaitools.jiffle.runtime.IntegerStack
Initial size of stack and grow increment
className - Variable in class org.jaitools.jiffle.parser.AbstractSourceGenerator
The runtime class name.
clear() - Method in class org.jaitools.jiffle.JiffleBuilder
Clears all attributes in this builder.
clear() - Method in class org.jaitools.jiffle.parser.DeferredErrorReporter
 
clear() - Method in class org.jaitools.jiffle.parser.NullErrorReporter
 
clear() - Method in interface org.jaitools.jiffle.parser.ParsingErrorReporter
Clears all previous messages.
clear() - Method in class org.jaitools.jiffle.runtime.IntegerStack
Clear the stack.
CLEAR_SIZE - Static variable in class org.jaitools.jiffle.runtime.IntegerStack
Stack size beyond which the data array will be shrunk when IntegerStack.clear() is called.
COMMON_SOURCE_TEMPLATES_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: common runtime source generation templates.
compile() - Method in class org.jaitools.jiffle.Jiffle
Compiles the script into Java source for the runtime class.
compileAndRun(File) - Method in class org.jaitools.demo.jiffle.DirectRuntimeDemo
Compiles a script read from a file and submits it for execution.
compileAndRun(File) - Method in class org.jaitools.demo.jiffle.JiffleExecutorDemo
Compiles a script read from a file and submits it for execution.
CompilerExitException - Exception in org.jaitools.jiffle.parser
Used by the Jiffle compiler to force early exit from one of its parsers.
CompilerExitException() - Constructor for exception org.jaitools.jiffle.parser.CompilerExitException
Default construct.
computeRect(PlanarImage[], WritableRaster, Rectangle) - Method in class org.jaitools.media.jai.jiffleop.JiffleOpImage
 
computeRect(Raster[], WritableRaster, Rectangle) - Method in class org.jaitools.media.jai.jiffleop.JiffleOpImage
 
computeTile(int, int) - Method in class org.jaitools.media.jai.jiffleop.JiffleOpImage
 
concatDL(double, List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Creates a new list by concatenating {2code x} and list.
concatLD(List, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Creates a new list by concatenating list and {2code x}.
concatLL(List, List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Creates a new list by concatenating two existing lists.
ConstantLookup - Class in org.jaitools.jiffle.parser
A lookup for named constants used by the Jiffle compiler.
ConstantLookup() - Constructor for class org.jaitools.jiffle.parser.ConstantLookup
 
consume() - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
 
CoordinateTransform - Interface in org.jaitools.jiffle.runtime
A transform used by Jiffle to convert from world (processing area) coordinates to image (pixel) coordinates.
CoordinateTransforms - Class in org.jaitools.jiffle.runtime
Utility class to create CoordinateTransform objects for simple cases.
CoordinateTransforms() - Constructor for class org.jaitools.jiffle.runtime.CoordinateTransforms
 
create(ParameterBlock, RenderingHints) - Method in class org.jaitools.media.jai.jiffleop.JiffleRIF
Create a new instance of JiffleOpImage in the rendered layer.

D

DEFAULT_DIRECT_BASE_CLASS - Static variable in class org.jaitools.jiffle.JiffleProperties
Default base class for direct runtime classes.
DEFAULT_INDIRECT_BASE_CLASS - Static variable in class org.jaitools.jiffle.JiffleProperties
Default base class for indirect runtime classes.
DEFAULT_POLLING_INTERVAL - Static variable in class org.jaitools.jiffle.runtime.JiffleExecutor
The default interval for polling tasks to check for completion (20 mS)
defaultTransform(CoordinateTransform) - Method in class org.jaitools.jiffle.JiffleBuilder
Sets a default CoordinateTransform instance to use with all images that are passed to the builder without an explicit transform of their own.
DeferredErrorReporter - Class in org.jaitools.jiffle.parser
Used by the Jiffle compiler to accumulate ANTLR parsing error messages.
DeferredErrorReporter() - Constructor for class org.jaitools.jiffle.parser.DeferredErrorReporter
 
degToRad(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Converts an angle in degrees to radians.
dest(String, Rectangle) - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a new destination image and associates it with a variable name in the script.
dest(String, Rectangle, CoordinateTransform) - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a new destination image and associates it with a variable name in the script.
dest(String, int, int) - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a new destination image and associates it with a variable name in the script.
dest(String, int, int, CoordinateTransform) - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a new destination image and associates it with a variable name in the script.
dest(String, int, int, int, int) - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a new destination image and associates it with a variable name in the script.
dest(String, int, int, int, int, CoordinateTransform) - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a new destination image and associates it with a variable name in the script.
dest(String, WritableRenderedImage) - Method in class org.jaitools.jiffle.JiffleBuilder
Sets a destination image associated with a variable name in the script.
dest(String, WritableRenderedImage, CoordinateTransform) - Method in class org.jaitools.jiffle.JiffleBuilder
Sets a destination image associated with a variable name in the script.
DIRECT_BASE_CLASS_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: direct runtime base class name.
DIRECT_CLASS_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: direct runtime class name.
DIRECT_SOURCE_TEMPLATES_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: direct runtime source generation templates.
DirectRuntimeDemo - Class in org.jaitools.demo.jiffle
Demonstrates how to retrieve and use a runtime object from a compiled Jiffle script.
DirectRuntimeDemo() - Constructor for class org.jaitools.demo.jiffle.DirectRuntimeDemo
 
dropLevel() - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Drops (ie.

E

emitErrorMessage(String) - Method in class org.jaitools.jiffle.parser.ErrorHandlingTreeParser
Overrides the ANTLR parser method to capture an error message that would otherwise be sent to std err.
EQ(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is equal to y.
equals(Object) - Method in class org.jaitools.jiffle.parser.Symbol
 
ErrorHandlingTreeParser - Class in org.jaitools.jiffle.parser
A base class for Jiffle tree parsers that want to intercept ANTLR error and warning messages.
ErrorHandlingTreeParser(TreeNodeStream) - Constructor for class org.jaitools.jiffle.parser.ErrorHandlingTreeParser
Constructor.
ErrorHandlingTreeParser(TreeNodeStream, RecognizerSharedState) - Constructor for class org.jaitools.jiffle.parser.ErrorHandlingTreeParser
Constructor.
errorReporter - Variable in class org.jaitools.jiffle.parser.ErrorHandlingTreeParser
Stores error and warning messages.
evaluate(double, double) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Evaluates the script for the given world position.
evaluate(double, double) - Method in interface org.jaitools.jiffle.runtime.JiffleIndirectRuntime
Evaluates the script for the given world position.
evaluateAll(JiffleProgressListener) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Evaluates the script for all pixel locations within the world bounds.
evaluateAll(JiffleProgressListener) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Evaluates the script for all pixel locations within the world bounds.

F

findSymbol(String) - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Gets the first symbol found with the given name.
findSymbolNamed(String) - Method in class org.jaitools.jiffle.parser.SymbolScope
Gets the symbol with the given name if one exists.
finish() - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the runtime object when the task finishes.
finish() - Method in class org.jaitools.jiffle.runtime.NullProgressListener
 
FunctionInfo - Class in org.jaitools.jiffle.parser
Used by the FunctionLookup class when servicing lookup requests from the Jiffle compiler.
FunctionInfo(String, String, FunctionInfo.Provider, boolean, String, String...) - Constructor for class org.jaitools.jiffle.parser.FunctionInfo
Creates a function info object.
FunctionInfo.Provider - Enum in org.jaitools.jiffle.parser
Constants to indicate the runtime provider of a function
FunctionLookup - Class in org.jaitools.jiffle.parser
A lookup service used by the Jiffle compiler when parsing function calls in scripts.
FunctionLookup() - Constructor for class org.jaitools.jiffle.parser.FunctionLookup
 

G

GameOfLife - Class in org.jaitools.demo.jiffle
John Conway's Game of Life implemented with Jiffle.
GameOfLife() - Constructor for class org.jaitools.demo.jiffle.GameOfLife
 
GE(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is greater than or equal to y.
generate(String) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Starts generating source code based on the abstract syntax tree produced by the Jiffle compiler.
get(Class<? extends JiffleRuntime>) - Static method in enum org.jaitools.jiffle.Jiffle.RuntimeModel
Gets the matching constant for the given runtime class.
get(String) - Static method in class org.jaitools.jiffle.JiffleProperties
Gets a property.
get(String) - Static method in enum org.jaitools.jiffle.parser.FunctionInfo.Provider
Gets the Provider for a given provider name.
getActiveRuntimExpr(String, String) - Static method in class org.jaitools.jiffle.parser.OptionLookup
Gets the runtime source for the given option name:value pair.
getDefaultValue(int) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the default value for an image-scope variable.
getDesc() - Method in enum org.jaitools.jiffle.parser.SymbolType
Gets the description of this type.
getDestImageVarName() - Method in enum org.jaitools.demo.ImageChoice
 
getDestinationVarNames() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the variable names associated with destination images.
getDestinationVarNames() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the variable names associated with destination images.
getErrorReporter() - Method in class org.jaitools.jiffle.parser.ErrorHandlingTreeParser
Gets the error reporter object.
getErrors() - Method in class org.jaitools.jiffle.parser.DeferredErrorReporter
 
getErrors() - Method in class org.jaitools.jiffle.parser.NullErrorReporter
 
getErrors() - Method in interface org.jaitools.jiffle.parser.ParsingErrorReporter
Gets the error messages.
getHeight() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the height of the processing area.
getHeight() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the height of the processing area.
getImage(String) - Method in class org.jaitools.jiffle.JiffleBuilder
Get an image associated with a script variable name.
getImageParams() - Method in class org.jaitools.jiffle.Jiffle
Gets the current image parameters.
getImages() - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Returns the images set for this runtime object as a Map with variable name as key and iamge as value.
getImages() - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Gets the images used by this object and returns them as a Map with variable names as keys and images as values.
getImages() - Method in class org.jaitools.jiffle.runtime.JiffleExecutorResult
Gets source and/or destination images that were used.
getInfo(String, List<String>) - Static method in class org.jaitools.jiffle.parser.FunctionLookup
Gets the info for a function.
getJiffleName() - Method in class org.jaitools.jiffle.parser.FunctionInfo
Gets the name of the function used in Jiffle scripts.
getMaxX() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the max X ordinate of the processing area.
getMaxX() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the max X ordinate of the processing area.
getMaxY() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the max Y ordinate of the processing area.
getMaxY() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the max Y ordinate of the processing area.
getMessages() - Method in class org.jaitools.jiffle.parser.MessageTable
Gets all messages.
getMinX() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the min X ordinate of the processing area.
getMinX() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the min X ordinate of the processing area.
getMinY() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the min Y ordinate of the processing area.
getMinY() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the min Y ordinate of the processing area.
getName() - Method in class org.jaitools.jiffle.Jiffle
Gets the name assigned to this object.
getName() - Method in class org.jaitools.jiffle.parser.Symbol
Gets this symbol's name.
getName() - Method in class org.jaitools.jiffle.parser.SymbolScope
Gets the scope label.
getNames() - Static method in class org.jaitools.jiffle.parser.OptionLookup
Gets the names known to the lookup service.
getNumArgs() - Method in class org.jaitools.jiffle.parser.FunctionInfo
Gets the number of arguments used by the function.
getNumErrors() - Method in class org.jaitools.jiffle.parser.DeferredErrorReporter
 
getNumErrors() - Method in class org.jaitools.jiffle.parser.NullErrorReporter
 
getNumErrors() - Method in interface org.jaitools.jiffle.parser.ParsingErrorReporter
Gets the number of errorss that have been handled.
getNumPixels() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
 
getNumPixels() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the total number of pixels in the processing area.
getNumSources() - Method in class org.jaitools.media.jai.jiffleop.JiffleDescriptor
 
getOptionExpr(String, String) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Gets the runtime source for a script option name:value pair.
getPollingInterval() - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Gets the interval in milliseconds for polling task completion.
getResult() - Method in class org.jaitools.jiffle.runtime.JiffleEvent
Gets the task result.
getReturnType() - Method in class org.jaitools.jiffle.parser.FunctionInfo
Gets the function return type.
getReturnType(String) - Static method in class org.jaitools.jiffle.parser.FunctionLookup
Searches for a function with a script name that matches jiffleName and gets its return type.
getRuntime() - Method in class org.jaitools.jiffle.JiffleBuilder
Creates a runtime object for the currently set script and images.
getRuntime() - Method in class org.jaitools.jiffle.runtime.JiffleExecutorResult
Gets the Jiffle object
getRuntimeClass() - Method in enum org.jaitools.jiffle.Jiffle.RuntimeModel
Gets the runtime interface.
getRuntimeExpr(String, List<String>) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Looks up the runtime source for a Jiffle function.
getRuntimeExpr(String, String...) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Looks up the runtime source for a Jiffle function.
getRuntimeExpr() - Method in class org.jaitools.jiffle.parser.FunctionInfo
Gets the Java source for the function provider and name used in the runtime class.
getRuntimeExpr(String, List<String>) - Static method in class org.jaitools.jiffle.parser.FunctionLookup
Gets the runtime source for the function.
getRuntimeInstance() - Method in class org.jaitools.jiffle.Jiffle
Creates an instance of the default runtime class.
getRuntimeInstance(Jiffle.RuntimeModel) - Method in class org.jaitools.jiffle.Jiffle
Creates a runtime object based using the class specified by model.
getRuntimeInstance(Class<T>) - Method in class org.jaitools.jiffle.Jiffle
Gets the runtime object for this script.
getRuntimeSource(boolean) - Method in class org.jaitools.jiffle.Jiffle
Gets a copy of the Java source for the runtime class.
getRuntimeSource(Jiffle.RuntimeModel, boolean) - Method in class org.jaitools.jiffle.Jiffle
Gets a copy of the Java source for the runtime class.
getRuntimeSource() - Method in class org.jaitools.jiffle.JiffleBuilder
Gets the Java run-time class code generated from the compiled script.
getScopeType() - Method in class org.jaitools.jiffle.parser.Symbol
Gets this symbol's scope type.
getScript(ImageChoice) - Static method in class org.jaitools.demo.jiffle.JiffleDemoHelper
Gets an example script.
getScript() - Method in class org.jaitools.jiffle.Jiffle
Gets the Jiffle script.
getScriptFile(String[], ImageChoice) - Static method in class org.jaitools.demo.jiffle.JiffleDemoHelper
Gets a file specified in the command line args, or the default example image if no name is supplied.
getSource(String) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Returns the source for the runtime class.
getSource(String) - Method in interface org.jaitools.jiffle.parser.SourceGenerator
Returns the source for the runtime class.
getSourceVarNames() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the variable names associated with source images.
getSourceVarNames() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the variable names associated with source images.
getSymbols() - Method in class org.jaitools.jiffle.parser.SymbolScope
Gets the list of symbols in this scope.
getTaskID() - Method in class org.jaitools.jiffle.runtime.JiffleExecutorResult
Gets the task ID assigned by the executor.
getTransform(String) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the coordinate transform to use with the image represented by imageVarName.
getTransform(Rectangle2D, Rectangle) - Static method in class org.jaitools.jiffle.runtime.CoordinateTransforms
Gets the transform which converts from worldBounds to imageBounds.
getTransform(Rectangle2D, Rectangle, boolean, boolean) - Static method in class org.jaitools.jiffle.runtime.CoordinateTransforms
Gets the transform which converts from worldBounds to imageBounds.
getType() - Method in class org.jaitools.jiffle.parser.Symbol
Gets this symbol's type.
getUpdateInterval() - Method in class org.jaitools.jiffle.runtime.AbstractProgressListener
Gets the update interval.
getUpdateInterval() - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the runtime object before processing begins to get the update interval as number of destination image pixels.
getUpdateInterval() - Method in class org.jaitools.jiffle.runtime.NullProgressListener
Gets the update interval.
getValue(String) - Static method in class org.jaitools.jiffle.parser.ConstantLookup
Gets the value of a named constant.
getVar(String) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Returns the value of a variable that was declared in the script's init block.
getVar(String) - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Returns the value of a variable that was declared in the script's init block.
getVarIndex(String) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the index for an image-scope variable by name.
getVarNames() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Returns the names of image scope variables that can be used with the JiffleRuntime.getVar(String) and JiffleRuntime.setVar(String, Double) methods.
getVarNames() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Returns the names of image scope variables that can be used with the JiffleRuntime.getVar(String) and JiffleRuntime.setVar(String, Double) methods.
getWidth() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the width of the processing area.
getWidth() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the width of the processing area.
getXRes() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the pixel width (resolution in X direction) in world units.
getXRes() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the pixel width (resolution in X direction) in world units.
getYRes() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Gets the pixel height (resolution in Y direction) in world units.
getYRes() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Gets the pixel height (resolution in Y direction) in world units.
GT(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is greater than y.

H

hasDefaultValue - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime.ImageScopeVar
Whether a default value was provided in the script init block.
hasErrors() - Method in class org.jaitools.jiffle.parser.MessageTable
Checks if this table contains any error messages.
hashCode() - Method in class org.jaitools.jiffle.parser.Symbol
 
hasSymbolNamed(String) - Method in class org.jaitools.jiffle.parser.SymbolScope
Tests if this scope contains a symbol with the given name.
hasWarnings() - Method in class org.jaitools.jiffle.parser.MessageTable
Checks if this table contains any warning messages.
HEIGHT - Static variable in class org.jaitools.demo.jiffle.JiffleDemoBase
 

I

identity() - Static method in class org.jaitools.jiffle.runtime.CoordinateTransforms
Creates an identity transform.
IdentityCoordinateTransform - Class in org.jaitools.jiffle.runtime
An implementation of CoordinateTransform which simple converts input coordinates to integers by rounding.
IdentityCoordinateTransform() - Constructor for class org.jaitools.jiffle.runtime.IdentityCoordinateTransform
 
ImageChoice - Enum in org.jaitools.demo
Constants to identify Jiffle scripts used to create example images for JAI-tools demo applications.
images - Variable in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Maps image variable names (String) to images (RenderedImage).
imports - Variable in class org.jaitools.jiffle.parser.AbstractSourceGenerator
The imports to be included with the runtime class.
IMPORTS_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: default runtime imports.
INDIRECT_BASE_CLASS_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: indirect runtime base class name.
INDIRECT_CLASS_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: indirect runtime class name.
INDIRECT_SOURCE_TEMPLATES_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: indirect runtime source generation templates.
initImageScopeVars() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Initializes image-scope variables.
initOptionVars() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Initializes runtime class fields related to Jiffle script options.
IntegerStack - Class in org.jaitools.jiffle.runtime
A simple, array-based stack for Integer values used by AbstractJiffleRuntime.
IntegerStack() - Constructor for class org.jaitools.jiffle.runtime.IntegerStack
 
isActiveChannel(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Tests if a channel is active.
isCompiled() - Method in class org.jaitools.jiffle.Jiffle
Tests whether the script has been compiled successfully.
isCompleted() - Method in class org.jaitools.jiffle.runtime.JiffleExecutorResult
Gets the completion status of the task.
isDefined(String) - Static method in class org.jaitools.jiffle.parser.ConstantLookup
Checks if a constant is recognized by Jiffle.
isDefined(String, List<String>) - Static method in class org.jaitools.jiffle.parser.FunctionLookup
Checks if a function is defined.
isDefined(String) - Static method in class org.jaitools.jiffle.parser.OptionLookup
Tests if an option name is defined.
isDefined(String) - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Tests if a symbol with the given name is defined within the top scope or any enclosing scopes.
isDefined(String, SymbolType) - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Tests if a symbol with the given name and type is defined within the top scope or any enclosing scopes.
isDefined(String, ScopeType) - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Tests if a symbol with the given name and scope type is defined within the top scope or any enclosing scopes.
isEmpty() - Method in class org.jaitools.jiffle.parser.SymbolScope
Tests if this scope is empty.
isEmpty() - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Tests if there are any scope levels.
isError() - Method in enum org.jaitools.jiffle.parser.Message
Tests if this is an error
isinf(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is infinite (equal to Double.POSITIVE_INFINITY or Double.NEGATIVE_INFINITY).
isListening(JiffleEventListener) - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Checks if a particular listener is registered with this executor.
isnan(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is equal to Double.NaN.
isnull(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is null.
isProxy() - Method in class org.jaitools.jiffle.parser.FunctionInfo
Tests if this is a proxy function, ie.
isSet - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime.ImageScopeVar
Whether a run-time value has been set.
isValidValue(String, String) - Static method in class org.jaitools.jiffle.parser.OptionLookup
Tests if a value is valid for the given option.
isVolatile() - Method in class org.jaitools.jiffle.parser.FunctionInfo
Tests if this function is volatile, ie.
isWarning() - Method in enum org.jaitools.jiffle.parser.Message
Tests if this is a warning.
isWorldSet() - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Checks whether the world bounds and pixel dimensions have been set.
isWorldSet() - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Checks whether the world bounds and pixel dimensions have been set.

J

Jiffle - Class in org.jaitools.jiffle
Compiles scripts and generates Java sources and executable bytecode for runtime classes.
Jiffle() - Constructor for class org.jaitools.jiffle.Jiffle
Creates a new instance.
Jiffle(String, Map<String, Jiffle.ImageRole>) - Constructor for class org.jaitools.jiffle.Jiffle
Creates a new instance by compiling the provided script.
Jiffle(File, Map<String, Jiffle.ImageRole>) - Constructor for class org.jaitools.jiffle.Jiffle
Creates a new instance by compiling the script read from scriptFile.
Jiffle.ImageRole - Enum in org.jaitools.jiffle
Used to specify the roles of images referenced in a Jiffle script.
Jiffle.RuntimeModel - Enum in org.jaitools.jiffle
Constants for runtime model.
JiffleBuilder - Class in org.jaitools.jiffle
A builder class which makes it easier to compile and run basic Jiffle scripts.
JiffleBuilder() - Constructor for class org.jaitools.jiffle.JiffleBuilder
Creates a new JiffleBuilder instance.
JiffleBuilderDemo - Class in org.jaitools.demo.jiffle
Demonstrates using JiffleBuilder to compile and run a script.
JiffleBuilderDemo() - Constructor for class org.jaitools.demo.jiffle.JiffleBuilderDemo
 
JiffleDemo - Class in org.jaitools.demo.jiffle
A browser for Jiffle example scripts.
JiffleDemoBase - Class in org.jaitools.demo.jiffle
Defines some common fields for use in Jiffle demo applications.
JiffleDemoBase() - Constructor for class org.jaitools.demo.jiffle.JiffleDemoBase
 
JiffleDemoHelper - Class in org.jaitools.demo.jiffle
Helper class with for Jiffle demo applications.
JiffleDemoHelper() - Constructor for class org.jaitools.demo.jiffle.JiffleDemoHelper
 
JiffleDescriptor - Class in org.jaitools.media.jai.jiffleop
Jiffle operation.
JiffleDescriptor() - Constructor for class org.jaitools.media.jai.jiffleop.JiffleDescriptor
 
JiffleDirectRuntime - Interface in org.jaitools.jiffle.runtime
Defines methods implemented by runtime classes adopting the direct evaluation model.
JiffleEvent - Class in org.jaitools.jiffle.runtime
Used by JiffleExecutor to send task completion and failure messages listeners.
JiffleEvent(JiffleExecutorResult) - Constructor for class org.jaitools.jiffle.runtime.JiffleEvent
Creates a new event.
JiffleEventListener - Interface in org.jaitools.jiffle.runtime
Interface implemented by classes wishing to receive task progress information from JiffleExecutor.
JiffleException - Exception in org.jaitools.jiffle
Exception class for errors encountered while compiling a script or working with runtime objects.
JiffleException(Throwable) - Constructor for exception org.jaitools.jiffle.JiffleException
Create a new instance from an incoming exception.
JiffleException(String) - Constructor for exception org.jaitools.jiffle.JiffleException
Creates a new instance with the given message.
JiffleException(List<String>) - Constructor for exception org.jaitools.jiffle.JiffleException
Creates a new instance with the given list of messages.
JiffleException(String, Throwable) - Constructor for exception org.jaitools.jiffle.JiffleException
Creates a new instance from the given message and base object.
JiffleExecutor - Class in org.jaitools.jiffle.runtime
A multi-threaded, event-driven executor service for Jiffle scripts.
JiffleExecutor() - Constructor for class org.jaitools.jiffle.runtime.JiffleExecutor
Creates an executor with default settings.
JiffleExecutor(int) - Constructor for class org.jaitools.jiffle.runtime.JiffleExecutor
Creates an executor that can have, at most,maxTasks running concurrently, with further tasks being placed in a queue.
JiffleExecutorDemo - Class in org.jaitools.demo.jiffle
Demonstrates the use of JiffleExecutor to run a script.
JiffleExecutorDemo() - Constructor for class org.jaitools.demo.jiffle.JiffleExecutorDemo
Constructor.
JiffleExecutorException - Exception in org.jaitools.jiffle.runtime
Exception thrown by JiffleExecutor to signal runtime errors.
JiffleExecutorException(String) - Constructor for exception org.jaitools.jiffle.runtime.JiffleExecutorException
Creates a new exception.
JiffleExecutorException(Throwable) - Constructor for exception org.jaitools.jiffle.runtime.JiffleExecutorException
Creates a new exception.
JiffleExecutorResult - Class in org.jaitools.jiffle.runtime
Used by JiffleExecutor to send the results of a task to JiffleEventListeners.
JiffleExecutorResult(int, JiffleDirectRuntime, boolean) - Constructor for class org.jaitools.jiffle.runtime.JiffleExecutorResult
Creates a new result object.
JiffleExecutorTask - Class in org.jaitools.jiffle.runtime
Executes a runtime object in a thread provided by a JiffleExecutor.
JiffleExecutorTask(JiffleExecutor, int, JiffleDirectRuntime, JiffleProgressListener) - Constructor for class org.jaitools.jiffle.runtime.JiffleExecutorTask
Creates a new task.
JiffleFunctions - Class in org.jaitools.jiffle.runtime
Provides functions for Jiffle runtime objects.
JiffleFunctions() - Constructor for class org.jaitools.jiffle.runtime.JiffleFunctions
 
JiffleIndirectRuntime - Interface in org.jaitools.jiffle.runtime
Defines methods implemented by runtime classes adopting the indirect evaluation model.
JiffleOpImage - Class in org.jaitools.media.jai.jiffleop
Jiffle operation.
JiffleOpImage(Map<String, RenderedImage>, ImageLayout, Map, String, String, Rectangle) - Constructor for class org.jaitools.media.jai.jiffleop.JiffleOpImage
 
JiffleParserException - Exception in org.jaitools.jiffle.parser
An exception thrown when the Jiffle parser aborts due to errors.
JiffleParserException(Throwable) - Constructor for exception org.jaitools.jiffle.parser.JiffleParserException
Creates a new exception.
JiffleParserException(String) - Constructor for exception org.jaitools.jiffle.parser.JiffleParserException
Creates a new exception.
JiffleProgressListener - Interface in org.jaitools.jiffle.runtime
An interface implemented by classes wishing to receive task progress information from a JiffleExecutor.
JiffleProperties - Class in org.jaitools.jiffle
Helper class which reads the Jiffle properties file and provides values to other classes.
JiffleProperties() - Constructor for class org.jaitools.jiffle.JiffleProperties
 
JiffleRIF - Class in org.jaitools.media.jai.jiffleop
The image factory for the "Jiffle" operation.
JiffleRIF() - Constructor for class org.jaitools.media.jai.jiffleop.JiffleRIF
Constructor
JiffleRuntime - Interface in org.jaitools.jiffle.runtime
The root interface for Jiffle runtime classes.
JiffleRuntimeException - Exception in org.jaitools.jiffle.runtime
Thrown by Jiffle runtime objects when errors are trapped at runtime.
JiffleRuntimeException(String) - Constructor for exception org.jaitools.jiffle.runtime.JiffleRuntimeException
Creates a new instance.
JiffleSpi - Class in org.jaitools.media.jai.jiffleop
OperationRegistrySpi implementation to register the "Jiffle" operation and its associated image factories.
JiffleSpi() - Constructor for class org.jaitools.media.jai.jiffleop.JiffleSpi
Default constructor.

L

LB(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Looks backwards for the kth token on any of the active channels.
LE(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is less than or equal to y.
Level - Enum in org.jaitools.jiffle.parser
Constants used by the Jiffle script and tree parsers to identify the level of a parser message (error or warning).
log2Arg(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the log of x to base b.
LOGGER - Static variable in class org.jaitools.jiffle.Jiffle
 
LT(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Looks forwards for the kth token on any of the active channels.
LT(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is less than y.

M

main(String[]) - Static method in class org.jaitools.demo.jiffle.DirectRuntimeDemo
Run the demonstration.
main(String[]) - Static method in class org.jaitools.demo.jiffle.GameOfLife
 
main(String[]) - Static method in class org.jaitools.demo.jiffle.JiffleBuilderDemo
Compiles and runs the "ripple" script using JiffleBuilder.
main(String[]) - Static method in class org.jaitools.demo.jiffle.JiffleDemo
 
main(String[]) - Static method in class org.jaitools.demo.jiffle.JiffleExecutorDemo
Run the demonstration.
main(String[]) - Static method in class org.jaitools.demo.jiffle.ProgressListenerDemo
Runs the demo.
mapDestRect(Rectangle, int) - Method in class org.jaitools.media.jai.jiffleop.JiffleOpImage
For testing: returns the source image bounds.
mapSourceRect(Rectangle, int) - Method in class org.jaitools.media.jai.jiffleop.JiffleOpImage
For testing: returns null to indicate that all of the destination could be affected.
matches(String, List<String>) - Method in class org.jaitools.jiffle.parser.FunctionInfo
Tests if this object matches the given name and argument types.
max(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the maximum of the input values.
mean(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the mean of the input values.
median(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the median of the input values.
Message - Enum in org.jaitools.jiffle.parser
Constants used by the Jiffle script and tree parsers to report errors and warnings.
MessageTable - Class in org.jaitools.jiffle.parser
Used by Jiffle parsers to record errors and warnings.
MessageTable() - Constructor for class org.jaitools.jiffle.parser.MessageTable
 
min(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the minimum of the input values.
mode(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the mode of the input values.
model - Variable in class org.jaitools.jiffle.parser.AbstractSourceGenerator
The runtime model to generate source for.
MultiChannelTokenStream - Class in org.jaitools.jiffle.parser
A TokenStream that can work with multiple active channels.
MultiChannelTokenStream(TokenSource) - Constructor for class org.jaitools.jiffle.parser.MultiChannelTokenStream
Creates a new stream with the default ANTLR channel active.
MultiChannelTokenStream(TokenSource, int[]) - Constructor for class org.jaitools.jiffle.parser.MultiChannelTokenStream
Creates a new stream with the given channels active.

N

name - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime.ImageScopeVar
Variable name.
NAME_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: default toot name for a Jiffle instance.
NE(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if x is not equal to y.
NOT(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Treats x as true if non-zero, or false if zero and then returns the logical complement.
NullErrorReporter - Class in org.jaitools.jiffle.parser
Used by the Jiffle compiler to intercept and discard ANTLR parsing error messages.
NullErrorReporter() - Constructor for class org.jaitools.jiffle.parser.NullErrorReporter
 
NullProgressListener - Class in org.jaitools.jiffle.runtime
A no-action progress listener.
NullProgressListener() - Constructor for class org.jaitools.jiffle.runtime.NullProgressListener
 

O

onCompletionEvent(JiffleEvent) - Method in interface org.jaitools.jiffle.runtime.JiffleEventListener
Called when the task has been completed successfully.
onFailureEvent(JiffleEvent) - Method in interface org.jaitools.jiffle.runtime.JiffleEventListener
Called when the task has failed.
OptionLookup - Class in org.jaitools.jiffle.parser
A lookup service used by the Jiffle compiler when parsing script options.
OptionLookup() - Constructor for class org.jaitools.jiffle.parser.OptionLookup
 
OR(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if either x or y is non-zero.
org.jaitools.demo - package org.jaitools.demo
Support classes for Jiffle example programs.
org.jaitools.demo.jiffle - package org.jaitools.demo.jiffle
Example applications for the Jiffle scripting language.
org.jaitools.jiffle - package org.jaitools.jiffle
Jiffle is a scripting language for creating and analysing raster images.
org.jaitools.jiffle.parser - package org.jaitools.jiffle.parser
Jiffle parser and support classes.
org.jaitools.jiffle.runtime - package org.jaitools.jiffle.runtime
Jiffle runtime classes.
org.jaitools.media.jai.jiffleop - package org.jaitools.media.jai.jiffleop
Jiffle as an image operator.

P

ParsingErrorReporter - Interface in org.jaitools.jiffle.parser
Defines methods to intercept parsing error messages.
peek() - Method in class org.jaitools.jiffle.runtime.IntegerStack
Peek at the top value without removing it.
pkgName - Variable in class org.jaitools.jiffle.parser.AbstractSourceGenerator
The package name to use for the runtime class.
pop() - Method in class org.jaitools.jiffle.runtime.IntegerStack
Pop the top value off the stack.
prepareScriptForComments(String) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Prepares the Jiffle source for inclusion in the run-time class javadocs.
ProgressListenerDemo - Class in org.jaitools.demo.jiffle
Demonstrates using a JiffleProgressListener with JiffleExecutor.
ProgressListenerDemo() - Constructor for class org.jaitools.demo.jiffle.ProgressListenerDemo
 
PROPERTIES_FILE - Static variable in class org.jaitools.jiffle.JiffleProperties
Properties file name.
push(Integer) - Method in class org.jaitools.jiffle.runtime.IntegerStack
Push a value onto the stack.

R

radToDeg(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Converts an angle in radians to degrees.
rand(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets a random value between 0 (inclusive) and x (exclusive).
randInt(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets a random integer value (actually a truncated double) between 0 (inclusive) and floor(x) (exclusive).
range(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the range of the input values.
readers - Variable in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Maps source image variable names (String) to image iterators (RandomIter).
readFromImage(String, double, double, int) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Gets a value from a source image for a given world position and image band.
readFromImage(String, double, double, int) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Gets a value from a source image for a given world position and image band.
readScriptFile(File) - Static method in class org.jaitools.demo.jiffle.JiffleDemoHelper
Reads the contents of a script file.
registerVar(String, boolean) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Registers a variable as having image scope.
removeActiveChannel(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Removes a channel from those active.
removeAllActiveChannels() - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Removes all active channels.
removeEventListener(JiffleEventListener) - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Removes an event listener.
removeImage(String) - Method in class org.jaitools.jiffle.JiffleBuilder
Removes an image associated with a script variable name.
result - Variable in class org.jaitools.jiffle.runtime.JiffleEvent
Holds results and other objects passed by the JiffleExecutor.
round2Arg(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Rounds the input value to the given precision.
run() - Method in class org.jaitools.jiffle.JiffleBuilder
Runs the script.
RUNTIME_IMPORTS_DELIM - Static variable in class org.jaitools.jiffle.JiffleProperties
Delimiter used to separate multiple import entries
RUNTIME_PACKAGE_KEY - Static variable in class org.jaitools.jiffle.JiffleProperties
Key: runtime class package

S

scale(double, double) - Static method in class org.jaitools.jiffle.runtime.CoordinateTransforms
Creates a scaling transform.
ScopeType - Enum in org.jaitools.jiffle.parser
Constants for variable scope type.
script(String) - Method in class org.jaitools.jiffle.JiffleBuilder
Sets the script to be compiled.
script(File) - Method in class org.jaitools.jiffle.JiffleBuilder
Reads the script from scriptFile.
sdev(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the sample standard deviation of the input values.
setBaseClassName(String) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Sets the runtime base class name.
setBaseClassName(String) - Method in interface org.jaitools.jiffle.parser.SourceGenerator
Sets the runtime base class name.
setDefaultBounds() - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Sets default bounds for the processing area.
setDefaultBounds() - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Sets default bounds for the processing area.
setDefaultTransform(CoordinateTransform) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Sets a coordinate transform to be used by any source and destination images submitted to the runtime object without their own transforms.
setDefaultTransform(CoordinateTransform) - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Sets a coordinate transform to be used by any source and destination images submitted to the runtime object without their own transforms.
setDestinationImage(String, WritableRenderedImage) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Associates a variable name with a destination image.
setDestinationImage(String, WritableRenderedImage, CoordinateTransform) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Associates a variable name with a destination image and coordinate transform.
setDestinationImage(String) - Method in class org.jaitools.jiffle.runtime.AbstractIndirectRuntime
 
setDestinationImage(String, CoordinateTransform) - Method in class org.jaitools.jiffle.runtime.AbstractIndirectRuntime
 
setDestinationImage(String, WritableRenderedImage, CoordinateTransform) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Associates a variable name with a destination image and coordinate transform.
setDestinationImage(String, WritableRenderedImage) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Associates a variable name with a destination image.
setDestinationImage(String, CoordinateTransform) - Method in interface org.jaitools.jiffle.runtime.JiffleIndirectRuntime
Specifies the name of the script variable which represents the destination image and defines the coordinate transform.
setDestinationImage(String) - Method in interface org.jaitools.jiffle.runtime.JiffleIndirectRuntime
Specifies the name of the script variable which represents the destination image.
setErrorReporter(ParsingErrorReporter) - Method in class org.jaitools.jiffle.parser.ErrorHandlingTreeParser
Sets the error reporter.
setImageParams(Map<String, Jiffle.ImageRole>) - Method in class org.jaitools.jiffle.Jiffle
Sets the image parameters.
setImageParams(Map) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Supplies the runtime object with the names and roles if image variables used in the script.
setImageParams(Map<String, Jiffle.ImageRole>) - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Supplies the runtime object with the names and roles if image variables used in the script.
setName(String) - Method in class org.jaitools.jiffle.Jiffle
Replaces the default name set for this object with a user-supplied name.
setPollingInterval(long) - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Sets the polling interval for task completion.
setRuntimeModel(Jiffle.RuntimeModel) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Sets the runtime model.
setRuntimeModel(Jiffle.RuntimeModel) - Method in interface org.jaitools.jiffle.parser.SourceGenerator
Sets the runtime model.
setScript(String) - Method in class org.jaitools.jiffle.Jiffle
Sets the script.
setScript(File) - Method in class org.jaitools.jiffle.Jiffle
Sets the script.
setSourceImage(String, RenderedImage) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Associates a variable name with a source image.
setSourceImage(String, RenderedImage, CoordinateTransform) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Associates a variable name with a source image and coordinate transform.
setSourceImage(String) - Method in class org.jaitools.jiffle.runtime.AbstractIndirectRuntime
 
setSourceImage(String, CoordinateTransform) - Method in class org.jaitools.jiffle.runtime.AbstractIndirectRuntime
 
setSourceImage(String, RenderedImage, CoordinateTransform) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Associates a variable name with a source image and coordinate transform.
setSourceImage(String, RenderedImage) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Associates a variable name with a source image.
setSourceImage(String, CoordinateTransform) - Method in interface org.jaitools.jiffle.runtime.JiffleIndirectRuntime
Associates a variable name with a source image and coordinate transform.
setSourceImage(String) - Method in interface org.jaitools.jiffle.runtime.JiffleIndirectRuntime
Associates a variable name with a source image.
setTaskSize(long) - Method in class org.jaitools.jiffle.runtime.AbstractProgressListener
Called by the runtime object at the start of processing to set this listener's task size field.
setTaskSize(long) - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the runtime object to inform the listener of the total number of pixels in the largest destination image that will be processed.
setTemplateLib(StringTemplateGroup) - Method in class org.jaitools.jiffle.parser.AbstractSourceGenerator
Used internally to set the string templates for source generation.
setTokenSource(TokenSource) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
 
setTransform(String, CoordinateTransform) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Sets a coordinate transform to use with the image represented by imageVarName.
setup() - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Positions the stream at the first token on an active channel.
setUpdateInterval(long) - Method in class org.jaitools.jiffle.runtime.AbstractProgressListener
Sets the update interval.
setUpdateInterval(double) - Method in class org.jaitools.jiffle.runtime.AbstractProgressListener
Sets the update interval expressed a proportion of the total number of pixels.
setUpdateInterval(long) - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the client to request that the listener be notified of task progress after each numPixels number of destination pixels have been processed by the runtime object.
setUpdateInterval(double) - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the client to request that the listener be notified of task progress after each propPixels proportion of the destination pixels has been processed by the runtime object.
setVar(String, Double) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Sets the value of a variable that was declared in the script's init block, overriding the default value in the script if present.
setVar(String, Double) - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Sets the value of a variable that was declared in the script's init block, overriding the default value in the script if present.
setVarValue(int, Double) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Sets the value of an image-scope variable.
setVisible(boolean) - Method in class org.jaitools.demo.jiffle.JiffleDemo
 
setWorldByNumPixels(Rectangle2D, int, int) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Sets the world (processing area) bounds and the number of pixels in the X and Y directions.
setWorldByNumPixels(Rectangle2D, int, int) - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Sets the world (processing area) bounds and the number of pixels in the X and Y directions.
setWorldByResolution(Rectangle2D, double, double) - Method in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Sets the world (processing area) bounds and resolution (pixel dimensions).
setWorldByResolution(Rectangle2D, double, double) - Method in interface org.jaitools.jiffle.runtime.JiffleRuntime
Sets the world (processing area) bounds and resolution (pixel dimensions).
shutdown() - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Requests that the executor shutdown after completing any tasks already submitted.
shutdownAndWait(long, TimeUnit) - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Requests that the executor shutdown after completing any tasks already submitted.
shutdownNow() - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Attempts to shutdown the executor immediately.
sign(double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Return the sign of x as an integer.
size() - Method in class org.jaitools.jiffle.parser.SymbolScope
Gets the number of symbols in this scope.
size() - Method in class org.jaitools.jiffle.parser.SymbolScopeStack
Gets the number of scope levels.
size() - Method in class org.jaitools.jiffle.runtime.IntegerStack
Gets the number of items on the stack.
skipOffTokenChannels(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Gets the index of the next token on an active channel, starting from pos.
skipOffTokenChannelsReverse(int) - Method in class org.jaitools.jiffle.parser.MultiChannelTokenStream
Gets the index of the next token on an active channel, starting from pos and scanning backwards.
source(String, RenderedImage) - Method in class org.jaitools.jiffle.JiffleBuilder
Associates a variable name with a source image.
source(String, RenderedImage, CoordinateTransform) - Method in class org.jaitools.jiffle.JiffleBuilder
Associates a variable name with a source image and coordinate transform.
SourceGenerator - Interface in org.jaitools.jiffle.parser
Defines methods for classes that generate runtime Java source from compiled Jiffle scripts.
start() - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the runtime object when the task starts.
start() - Method in class org.jaitools.jiffle.runtime.NullProgressListener
 
submit(JiffleDirectRuntime, JiffleProgressListener) - Method in class org.jaitools.jiffle.runtime.JiffleExecutor
Submits an JiffleDirectRuntime object for execution.
sum(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the sum of the input values.
Symbol - Class in org.jaitools.jiffle.parser
Represents a symbol in a Jiffle script.
Symbol(String, SymbolType, ScopeType) - Constructor for class org.jaitools.jiffle.parser.Symbol
Creates a new symbol.
SymbolScope - Class in org.jaitools.jiffle.parser
Stores symbols in a Jiffle script at a single scope level.
SymbolScope(String) - Constructor for class org.jaitools.jiffle.parser.SymbolScope
Creates a new scope.
SymbolScopeStack - Class in org.jaitools.jiffle.parser
Used in the Jiffle tree parser grammars to track symbols defined at different scopes in a script.
SymbolScopeStack() - Constructor for class org.jaitools.jiffle.parser.SymbolScopeStack
Creates a new scope stack.
SymbolType - Enum in org.jaitools.jiffle.parser
Constants representing the type of symbols tracked through scopes during JIffle script compilation.

T

taskSize - Variable in class org.jaitools.jiffle.runtime.AbstractProgressListener
The total number of pixels to process.
toString() - Method in enum org.jaitools.demo.ImageChoice
 
toString() - Method in enum org.jaitools.jiffle.parser.Message
Returns a formatted string for the error or warning.
toString() - Method in enum org.jaitools.jiffle.parser.SymbolType
 
translation(double, double) - Static method in class org.jaitools.jiffle.runtime.CoordinateTransforms
Creates a translation transform.

U

UndefinedFunctionException - Exception in org.jaitools.jiffle.parser
An exception thrown by FunctionLookup when the Jiffle compiler is attempting to parse a call to an undefined function.
UndefinedFunctionException(String) - Constructor for exception org.jaitools.jiffle.parser.UndefinedFunctionException
Creates a new exception with the unrecognized function name in the message.
UndefinedOptionException - Exception in org.jaitools.jiffle.parser
An exception thrown by OptionLookup when the Jiffle compiler is attempting to parse a call to an undefined option.
UndefinedOptionException(String) - Constructor for exception org.jaitools.jiffle.parser.UndefinedOptionException
Creates a new exception with the unrecognized option name in the message.
UnexpectedInputException - Exception in org.jaitools.jiffle.parser
Used by Jiffle parsers to complain about unexpected input in a acript.
UnexpectedInputException(String) - Constructor for exception org.jaitools.jiffle.parser.UnexpectedInputException
Creates a new excpetion with the given error message.
unitBounds(Rectangle) - Static method in class org.jaitools.jiffle.runtime.CoordinateTransforms
Creates a transform for working in the unit rectangle, ie.
update(long) - Method in interface org.jaitools.jiffle.runtime.JiffleProgressListener
Called by the runtime object at update intervals as specified by either JiffleProgressListener.setUpdateInterval(long) or JiffleProgressListener.setUpdateInterval(double).
update(long) - Method in class org.jaitools.jiffle.runtime.NullProgressListener
 
updateInterval - Variable in class org.jaitools.jiffle.runtime.AbstractProgressListener
The number of pixels processed between each call to the listener.
updateProp - Variable in class org.jaitools.jiffle.runtime.AbstractProgressListener
The proportion of pixels processed between each call to the listener.
updateRegistry(OperationRegistry) - Method in class org.jaitools.media.jai.jiffleop.JiffleSpi
Registers the MaskedConvolve operation and its associated image factories across all supported operation modes.

V

value - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime.ImageScopeVar
The current value.
valueOf(String) - Static method in enum org.jaitools.demo.ImageChoice
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.Jiffle.ImageRole
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.Jiffle.RuntimeModel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.parser.FunctionInfo.Provider
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.parser.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.parser.Message
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.parser.ScopeType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jaitools.jiffle.parser.SymbolType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jaitools.demo.ImageChoice
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.Jiffle.ImageRole
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.Jiffle.RuntimeModel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.parser.FunctionInfo.Provider
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.parser.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.parser.Message
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.parser.ScopeType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jaitools.jiffle.parser.SymbolType
Returns an array containing the constants of this enum type, in the order they are declared.
VAR_STRING - Static variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Advertizes the image-scope variable getter syntax to source generators.
variance(List) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Gets the sample variance of the input values.
varIndex - Variable in class org.jaitools.jiffle.parser.AbstractSourceGenerator
A counter used in naming variables inserted into the runtime source.

W

WIDTH - Static variable in class org.jaitools.demo.jiffle.JiffleDemoBase
 
worldAndNumPixels(Rectangle2D, int, int) - Method in class org.jaitools.jiffle.JiffleBuilder
Sets the bound and resolution of the processing area.
worldAndRes(Rectangle2D, double, double) - Method in class org.jaitools.jiffle.JiffleBuilder
Sets the bound and resolution of the processing area.
worldToImage(double, double, Point) - Method in class org.jaitools.jiffle.runtime.AffineCoordinateTransform
Converts from world to image coordinates.
worldToImage(double, double, Point) - Method in interface org.jaitools.jiffle.runtime.CoordinateTransform
Converts from world to image coordinates.
worldToImage(double, double, Point) - Method in class org.jaitools.jiffle.runtime.IdentityCoordinateTransform
Converts from world to image coordinates.
writers - Variable in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Maps destination image variable names (String to image iterators (WritableRandomIter).
writeToImage(String, double, double, int, double) - Method in class org.jaitools.jiffle.runtime.AbstractDirectRuntime
Writes a value to a destination image for a given world position and image band.
writeToImage(String, double, double, int, double) - Method in interface org.jaitools.jiffle.runtime.JiffleDirectRuntime
Writes a value to a destination image for a given world position and image band.

X

XOR(double, double) - Method in class org.jaitools.jiffle.runtime.JiffleFunctions
Tests if just one of x or y is non-zero.

_

_FN - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Provides runtime function support.
_imageScopeVarsInitialized - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Whether the image-scope variables have been initialized.
_numVars - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
The number of image-scope variables defined.
_outsideValue - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
The value to return for out-of-bounds image data requests if the outside option is set.
_outsideValueSet - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Whether the outside option is set.
_stk - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
A stack of integer values used in the evaluation of if statements.
_vars - Variable in class org.jaitools.jiffle.runtime.AbstractJiffleRuntime
Image-scope variables.

A B C D E F G H I J L M N O P R S T U V W X _

Copyright © 2011. All Rights Reserved.