org.geotools.coverage.processing.operation
Class Scale
Object
AbstractOperation
Operation2D
OperationJAI
BaseScaleOperationJAI
Scale
- All Implemented Interfaces:
- Serializable, Operation
public class Scale
- extends BaseScaleOperationJAI
This operation is simply a wrapper for the JAI scale operation which allows
me to arbitrarly scale and translate a rendered image.
- Since:
- 2.3
- Author:
- Simone Giannecchini
- See Also:
ScaleDescriptor
,
Serialized Form
- Module:
Constructor Summary |
Scale()
Default constructor. |
Methods inherited from class OperationJAI |
deriveCategory, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, prepareParameters, resampleToCommonGeometry |
Methods inherited from class AbstractOperation |
ensureNonNull, getDescription, getDocURL, getName, getNumSources, getParameters, getProcessor, getVendor, getVersion, hashCode, toString |
Scale
public Scale()
- Default constructor.
createRenderedImage
protected RenderedImage createRenderedImage(ParameterBlockJAI parameters,
RenderingHints hints)
- Description copied from class:
OperationJAI
- Applies the JAI operation. The operation name can be fetch from
OperationJAI.operation
.
The JAI instance to use can be fetch from OperationJAI.getJAI(java.awt.RenderingHints)
. The default implementation
returns the following:
getJAI(hints).createNS(OperationJAI.operation.getName(), parameters, hints)
Subclasses may override this method in order to invokes a different JAI operation
according the parameters.
- Overrides:
createRenderedImage
in class OperationJAI
- Parameters:
parameters
- The parameters to be given to JAI.hints
- The rendering hints to be given to JAI.
- Returns:
- The result of JAI operation using the given parameters and hints.
Copyright © 1996-2009 Geotools. All Rights Reserved.