|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.coverage.processing.AbstractOperation
org.geotools.coverage.processing.Operation2D
org.geotools.coverage.processing.OperationJAI
org.geotools.coverage.processing.BaseScaleOperationJAI
org.geotools.coverage.processing.operation.Scale
public class Scale
This operation is simply a wrapper for the JAI scale operation which allows me to arbitrarly scale and translate a rendered image.
ScaleDescriptor
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class org.geotools.coverage.processing.OperationJAI |
---|
OperationJAI.Parameters |
Field Summary |
---|
Fields inherited from class org.geotools.coverage.processing.OperationJAI |
---|
operation, RENDERED_MODE |
Fields inherited from class org.geotools.coverage.processing.Operation2D |
---|
PRIMARY_SOURCE_INDEX, SOURCE_0 |
Fields inherited from class org.geotools.coverage.processing.AbstractOperation |
---|
descriptor |
Constructor Summary | |
---|---|
Scale()
Default constructor. |
Method Summary | |
---|---|
protected java.awt.image.RenderedImage |
createRenderedImage(javax.media.jai.ParameterBlockJAI parameters,
java.awt.RenderingHints hints)
Applies the JAI operation. |
Methods inherited from class org.geotools.coverage.processing.BaseScaleOperationJAI |
---|
deriveGridCoverage |
Methods inherited from class org.geotools.coverage.processing.OperationJAI |
---|
deriveCategory, deriveName, deriveRange, deriveSampleDimension, deriveUnit, doOperation, equals, getJAI, getOperationDescriptor, getProperties, getQuantitative, prepareParameters, resampleToCommonGeometry |
Methods inherited from class org.geotools.coverage.processing.Operation2D |
---|
computeOnGeophysicsValues, extractSources, getFactory |
Methods inherited from class org.geotools.coverage.processing.AbstractOperation |
---|
ensureNonNull, 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 |
Constructor Detail |
---|
public Scale()
Method Detail |
---|
protected java.awt.image.RenderedImage createRenderedImage(javax.media.jai.ParameterBlockJAI parameters, java.awt.RenderingHints hints)
OperationJAI
OperationJAI.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 OperationJAI
parameters
- The parameters to be given to JAI.hints
- The rendering hints to be given to JAI.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |