org.geotools.coverage.processing
Class Operation2D
java.lang.Object
org.geotools.coverage.processing.AbstractOperation
org.geotools.coverage.processing.Operation2D
- All Implemented Interfaces:
- org.opengis.coverage.processing.Operation, java.io.Serializable
- Direct Known Subclasses:
- Interpolate, OperationJAI, Resample, SelectSampleDimension
- public abstract class Operation2D
- extends AbstractOperation
An operation working on GridCoverage2D
sources.
- Since:
- 2.1
- Version:
- $Id: Operation2D.java 17672 2006-01-19 00:25:55Z desruisseaux $
- Author:
- Martin Desruisseaux
- See Also:
- Serialized Form
Field Summary |
static org.opengis.parameter.ParameterDescriptor |
SOURCE_0
Convenience constant for the first source GridCoverage2D . |
Constructor Summary |
Operation2D(org.opengis.parameter.ParameterDescriptorGroup descriptor)
Constructs an operation. |
Methods inherited from class org.geotools.coverage.processing.AbstractOperation |
doOperation, ensureNonNull, equals, getDescription, getDocURL, getName, getNumSources, getParameters, getProcessor, getVendor, getVersion, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SOURCE_0
public static final org.opengis.parameter.ParameterDescriptor SOURCE_0
- Convenience constant for the first source
GridCoverage2D
. The parameter name
is (as specified in OGC implementation specification) and the alias
is (for compatibility with Java Advanced Imaging).
Operation2D
public Operation2D(org.opengis.parameter.ParameterDescriptorGroup descriptor)
- Constructs an operation. The operation name will be the same than the
parameter descriptor name.
- Parameters:
descriptor
- The parameters descriptor.
getGridCoverageProcessor
protected static GridCoverageProcessor2D getGridCoverageProcessor(java.awt.RenderingHints hints)
- Deprecated. Replaced by
AbstractOperation.getProcessor(java.awt.RenderingHints)
.
- Returns the
GridCoverageProcessor2D
instance used for an operation.
The instance is fetch from the rendering hints given to the AbstractOperation.doOperation(org.opengis.parameter.ParameterValueGroup, org.geotools.factory.Hints)
method.
- Parameters:
hints
- The rendering hints, or if none.
- Returns:
- The instance in use (never ).
getFactory
protected static GridCoverageFactory getFactory(Hints hints)
- Returns the factory to use for creating new
GridCoverage2D
objects.
- Since:
- 2.2
Copyright © GeoTools. All Rights Reserved.