|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gp.Operation
Operation2D
.
Provides descriptive information for a grid coverage processing operation. The descriptive information includes such information as the name of the operation, operation description, and number of source grid coverages required for the operation.
GP_Operation
,
Serialized FormField Summary | |
static javax.media.jai.ParameterListDescriptor |
MONADIC
Deprecated. Convenience constant for constructing monadic operation. |
Constructor Summary | |
Operation(java.lang.String name,
javax.media.jai.ParameterListDescriptor descriptor)
Deprecated. Construct an operation. |
Method Summary | |
protected abstract GridCoverage |
doOperation(javax.media.jai.ParameterList parameters,
java.awt.RenderingHints hints)
Deprecated. Apply a process operation to a grid coverage. |
boolean |
equals(java.lang.Object object)
Deprecated. Compares the specified object with this operation for equality. |
java.lang.String |
getDescription(java.util.Locale locale)
Deprecated. Returns the description of the processing operation. |
protected static GridCoverageProcessor |
getGridCoverageProcessor(java.awt.RenderingHints hints)
Deprecated. Returns the GridCoverageProcessor instance used for an operation.
|
java.lang.String |
getName()
Deprecated. Returns the name of the processing operation. |
int |
getNumParameters()
Deprecated. Returns the number of parameters for the operation, including source grid coverages. |
int |
getNumSources()
Deprecated. Returns the number of source grid coverages required for the operation. |
ParameterInfo |
getParameterInfo(int index)
Deprecated. Retrieve the parameter information for a given index. |
ParameterInfo |
getParameterInfo(java.lang.String name)
Deprecated. Retrieve the parameter information for a given name. |
javax.media.jai.ParameterList |
getParameterList()
Deprecated. Returns a default parameter list for this operation. |
javax.media.jai.ParameterListDescriptor |
getParameterListDescriptor()
Deprecated. Returns the parameter list descriptor. |
int |
hashCode()
Deprecated. Returns a hash value for this operation. |
void |
print(java.io.Writer out,
javax.media.jai.ParameterList param)
Deprecated. Print a description of this operation to the specified stream. |
java.lang.String |
toString()
Deprecated. Returns a string repr?sentation of this operation. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final javax.media.jai.ParameterListDescriptor MONADIC
GridCoverage
source with no parameter.
Constructor Detail |
public Operation(java.lang.String name, javax.media.jai.ParameterListDescriptor descriptor)
name
- The name of the processing operation.descriptor
- The parameters descriptor.Method Detail |
public java.lang.String getName()
GP_Operation.getName()
public java.lang.String getDescription(java.util.Locale locale)
null
. If no description is available in the specified
locale, a default one will be used.
locale
- The desired locale, or null
for the default locale.GP_Operation.getDescription()
public int getNumSources()
GP_Operation.getNumSources()
public int getNumParameters()
GP_Operation.getNumParameters()
public ParameterInfo getParameterInfo(int index)
ParameterListDescriptor
.
GP_Operation.getParameterInfo(int)
,
getParameterInfo(String)
public ParameterInfo getParameterInfo(java.lang.String name)
ParameterListDescriptor
.
getParameterInfo(int)
public javax.media.jai.ParameterList getParameterList()
public final javax.media.jai.ParameterListDescriptor getParameterListDescriptor()
protected abstract GridCoverage doOperation(javax.media.jai.ParameterList parameters, java.awt.RenderingHints hints)
GridCoverageProcessor
.
parameters
- List of name value pairs for the parameters
required for the operation.hints
- A set of rendering hints, or null
if none.
The GridCoverageProcessor
may provides hints
for the following keys: Hints.COORDINATE_TRANSFORMATION_FACTORY
and Hints.JAI_INSTANCE
.
protected static GridCoverageProcessor getGridCoverageProcessor(java.awt.RenderingHints hints)
GridCoverageProcessor
instance used for an operation.
The instance is fetch from the rendering hints given to the doOperation(javax.media.jai.ParameterList, java.awt.RenderingHints)
method.
hints
- The rendering hints, or null
if none.
GridCoverageProcessor
instance in use (never null
).public int hashCode()
public boolean equals(java.lang.Object object)
public java.lang.String toString()
public void print(java.io.Writer out, javax.media.jai.ParameterList param) throws java.io.IOException
out
- The destination stream.param
- A List of parameter values, or null
if none.
If null
, then default values will be printed instead
of actual values.
java.io.IOException
- if an error occured will writing to the stream.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |