Class BandOpImage

  • All Implemented Interfaces:
    RenderedImage, javax.media.jai.ImageJAI, javax.media.jai.PropertyChangeEmitter, javax.media.jai.PropertySource, javax.media.jai.WritablePropertySource

    public class BandOpImage
    extends RasterDataNodeOpImage
    An OpImage which retrieves its data from the product reader associated with the given RasterDataNode at a given pyramid level.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean prefetchTiles  
      • Fields inherited from class javax.media.jai.OpImage

        cache, cobbleSources, OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND, tileCacheMetric, tileRecycler
      • Fields inherited from class javax.media.jai.PlanarImage

        colorModel, eventManager, height, minX, minY, properties, sampleModel, tileFactory, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void computeProductData​(ProductData destData, Rectangle destRect)
      Computes the target pixel data for this level image.
      Band getBand()  
      • Methods inherited from class javax.media.jai.SourcelessOpImage

        computesUniqueTiles, computeTile, mapDestRect, mapSourceRect
      • Methods inherited from class javax.media.jai.OpImage

        addTileToCache, cancelTiles, createTile, dispose, getExpandedNumBands, getFormatTags, getOperationComputeType, getTile, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorize
      • Methods inherited from class javax.media.jai.PlanarImage

        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, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
    • Field Detail

      • prefetchTiles

        public static boolean prefetchTiles
    • Constructor Detail

      • BandOpImage

        public BandOpImage​(Band band)
    • Method Detail

      • getBand

        public Band getBand()
      • computeProductData

        protected void computeProductData​(ProductData destData,
                                          Rectangle destRect)
                                   throws IOException
        Description copied from class: RasterDataNodeOpImage
        Computes the target pixel data for this level image.
        Specified by:
        computeProductData in class RasterDataNodeOpImage
        Parameters:
        destData - The target pixel buffer to write to. The number of elements in this buffer will always be region.width * region.height.
        destRect - The target region in pixel coordinates valid for this image level.
        Throws:
        IOException - May be thrown if an I/O error occurs during the computation.