Class VirtualBandOpImage

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

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

      • 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 Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static VirtualBandOpImage.Builder builder​(String expression, int contextSourceIndex, Product... sources)  
      static VirtualBandOpImage.Builder builder​(String expression, Product source)  
      static VirtualBandOpImage.Builder builder​(Term term)  
      protected void computeRect​(javax.media.jai.PlanarImage[] planarImages, WritableRaster writableRaster, Rectangle destRect)  
      Raster computeTile​(int tileX, int tileY)  
      void dispose()  
      int getDataType()  
      String getExpression()  
      boolean isMask()  
      static Term parseExpression​(String expression, int contextSourceIndex, Product... sources)  
      static Term parseExpression​(String expression, Product source)  
      • Methods inherited from class javax.media.jai.SourcelessOpImage

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

        addTileToCache, cancelTiles, createTile, 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, toString, wrapRenderedImage, XToTileX, XToTileX, YToTileY, YToTileY
    • Method Detail

      • parseExpression

        public static Term parseExpression​(String expression,
                                           Product source)
      • parseExpression

        public static Term parseExpression​(String expression,
                                           int contextSourceIndex,
                                           Product... sources)
      • getDataType

        public int getDataType()
      • isMask

        public boolean isMask()
      • getExpression

        public String getExpression()
      • dispose

        public void dispose()
        Overrides:
        dispose in class javax.media.jai.OpImage
      • computeTile

        public Raster computeTile​(int tileX,
                                  int tileY)
        Overrides:
        computeTile in class javax.media.jai.SourcelessOpImage
      • computeRect

        protected void computeRect​(javax.media.jai.PlanarImage[] planarImages,
                                   WritableRaster writableRaster,
                                   Rectangle destRect)
        Overrides:
        computeRect in class javax.media.jai.OpImage