public abstract class SingleBandedOpImage
extends javax.media.jai.SourcelessOpImage
OpImages
retrieving data at a given pyramid level.Modifier | Constructor and Description |
---|---|
protected |
SingleBandedOpImage(int dataBufferType,
int sourceWidth,
int sourceHeight,
Dimension tileSize,
Map configuration,
ResolutionLevel level)
Constructor.
|
protected |
SingleBandedOpImage(int dataBufferType,
Point sourcePos,
int sourceWidth,
int sourceHeight,
Dimension tileSize,
Map configuration,
ResolutionLevel level)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
computeRect(Raster[] sources,
WritableRaster dest,
Rectangle destRect)
Empty implementation.
|
protected NoDataRaster |
createNoDataRaster(double noDataValue)
Creates a new raster containing solely no-data (non-interpretable data, missing data) samples.
|
int |
getLevel() |
protected LevelImageSupport |
getLevelImageSupport() |
protected double |
getScale() |
protected int |
getSourceCoord(double targetCoord,
int min,
int max) |
protected int |
getSourceHeight(int targetHeight) |
protected int |
getSourceWidth(int targetWidth) |
protected int |
getSourceX(int targetX) |
protected int |
getSourceY(int targetY) |
computesUniqueTiles, computeTile, mapDestRect, mapSourceRect
addTileToCache, cancelTiles, computeRect, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize
addPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, getData, getData, getDefaultColorModel, getExtendedData, getGraphics, getHeight, getImageID, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumBands, getNumSources, getNumXTiles, getNumYTiles, getProperties, getProperty, getPropertyClass, getPropertyNames, getPropertyNames, getSampleModel, getSinks, getSource, getSourceImage, getSourceObject, getSources, getSplits, getTileComputationListeners, getTileFactory, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileIndices, getTileRect, getTiles, getTileWidth, getWidth, overlapsMultipleTiles, removeProperty, removePropertyChangeListener, removePropertyChangeListener, removeSink, removeSink, removeSinks, removeSource, removeSources, removeTileComputationListener, setImageLayout, setProperties, setProperty, setSource, setSources, tileXToX, tileXToX, tileYToY, tileYToY, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
protected SingleBandedOpImage(int dataBufferType, int sourceWidth, int sourceHeight, Dimension tileSize, Map configuration, ResolutionLevel level)
dataBufferType
- The data type.sourceWidth
- The width of the level 0 image.sourceHeight
- The height of the level 0 image.tileSize
- The tile size for this image.configuration
- The configuration map. May be null
.level
- The resolution level.protected SingleBandedOpImage(int dataBufferType, Point sourcePos, int sourceWidth, int sourceHeight, Dimension tileSize, Map configuration, ResolutionLevel level)
dataBufferType
- The data type.sourcePos
- The position of the level 0 image. May be null
.sourceWidth
- The width of the level 0 image.sourceHeight
- The height of the level 0 image.tileSize
- The tile size for this image.configuration
- The configuration map. May be null
.level
- The resolution level.public final int getLevel()
protected final double getScale()
protected final int getSourceX(int targetX)
protected final int getSourceY(int targetY)
protected final int getSourceWidth(int targetWidth)
protected final int getSourceHeight(int targetHeight)
protected final int getSourceCoord(double targetCoord, int min, int max)
protected LevelImageSupport getLevelImageSupport()
protected NoDataRaster createNoDataRaster(double noDataValue)
The raster's origin is (0, 0). In order to translate the raster,
use Raster.createTranslatedChild(int x, int y)
.
noDataValue
- The no-data value used to fill the data buffer
of the raster created.NoDataRaster
protected final void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)
OpImage.computeRect(javax.media.jai.PlanarImage[], java.awt.image.WritableRaster, java.awt.Rectangle)
.computeRect
in class javax.media.jai.OpImage
sources
- The sources.dest
- The destination raster.destRect
- The destination rectangle.Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.