public class Scale extends BaseScaleOperationJAI
ScaleDescriptor,
Serialized FormOperationJAI.Parametersoperation, RENDERED_MODEPRIMARY_SOURCE_INDEX, SOURCE_0descriptor| Constructor and Description |
|---|
Scale()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected RenderedImage |
createRenderedImage(ParameterBlockJAI parameters,
RenderingHints hints)
Applies the JAI operation.
|
protected Map<String,?> |
getProperties(RenderedImage data,
CoordinateReferenceSystem crs,
InternationalString name,
MathTransform gridToCRS,
GridCoverage2D[] sources,
OperationJAI.Parameters parameters)
Prepares the properties to be given to the coverage created by the
deriveGridCoverage method. |
protected void |
handleJAIEXTParams(ParameterBlockJAI parameters,
ParameterValueGroup parameters2)
Extension point for adding to the JAI
ParameterBlockJAI object the parameters defined
in the ParameterValueGroup, which can be read by the JAI-EXT operations. |
deriveGridCoveragederiveCategory, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, extractSources, getJAI, getOperationDescriptor, getQuantitative, handleROINoDataInternal, handleROINoDataProperties, hashCode, prepareParameters, resampleToCommonGeometryextractSources, getFactorygetDescription, getDocURL, getName, getNumSources, getParameters, getVendor, getVersion, toStringprotected RenderedImage createRenderedImage(ParameterBlockJAI parameters, RenderingHints hints)
OperationJAIOperationJAI.operation. The JAI
instance to use can be fetch from OperationJAI.getJAI(java.awt.RenderingHints). The default implementation returns the
following:
Subclasses may override this method in order to invokes a different JAI operation according the parameters.getJAI(hints).createNS(OperationJAI.operation.getName(), parameters, hints)
createRenderedImage in class OperationJAIparameters - The parameters to be given to JAI.hints - The rendering hints to be given to JAI.protected void handleJAIEXTParams(ParameterBlockJAI parameters,
ParameterValueGroup parameters2)
OperationJAIParameterBlockJAI object the parameters defined
in the ParameterValueGroup, which can be read by the JAI-EXT operations.
Notice that if you are using JAI, the new parameters will not be accepted by the ParameterBlockJAI instance.
handleJAIEXTParams in class OperationJAIparameters - ParameterBlockJAI instance used by the current JAI-EXT/JAI
operationparameters2 - ParameterValueGroup instance containing input operation parametersprotected Map<String,?> getProperties(RenderedImage data, CoordinateReferenceSystem crs, InternationalString name, MathTransform gridToCRS, GridCoverage2D[] sources, OperationJAI.Parameters parameters)
OperationJAIderiveGridCoverage method. The default implementation returns null.getProperties in class OperationJAIdata - The RenderedImage created by this operation.crs - The coordinate reference system assigned to the coverage this OperationJAI
will produce.name - The name assigned to the coverage this OperationJAI will produce.gridToCRS - The transform from grid to crs to be
assigned to the coverage this OperationJAI will produce.sources - The sources to be assigned to the coverage this OperationJAI will
produce.parameters - The parameters that were used by this OperationJAI.Map with the properties generated by this OperationJAI or null if
we haven't any.Copyright © 1996–2019 Geotools. All rights reserved.