Package com.bc.ceres.multilevel
Class MultiLevelImage
java.lang.Object
javax.media.jai.PlanarImage
javax.media.jai.OpImage
javax.media.jai.SourcelessOpImage
com.bc.ceres.multilevel.MultiLevelImage
- All Implemented Interfaces:
MultiLevelSource,RenderedImage,javax.media.jai.ImageJAI,javax.media.jai.PropertyChangeEmitter,javax.media.jai.PropertySource,javax.media.jai.WritablePropertySource
- Direct Known Subclasses:
DefaultMultiLevelImage
public abstract class MultiLevelImage
extends javax.media.jai.SourcelessOpImage
implements MultiLevelSource
A
PlanarImage which can act as a MultiLevelSource. The image data
provided by this image corresponds to the level zero image of the MultiLevelSource.-
Field Summary
Fields inherited from class javax.media.jai.OpImage
cache, cobbleSources, OP_COMPUTE_BOUND, OP_IO_BOUND, OP_NETWORK_BOUND, tileCacheMetric, tileRecyclerFields inherited from class javax.media.jai.PlanarImage
colorModel, eventManager, height, minX, minY, properties, sampleModel, tileFactory, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, widthFields inherited from interface com.bc.ceres.multilevel.MultiLevelSource
NULL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMultiLevelImage(javax.media.jai.ImageLayout layout, MultiLevelSource levelSource, Map properties) Constructs a newMultiLevelImage. -
Method Summary
Methods inherited from class javax.media.jai.SourcelessOpImage
computesUniqueTiles, computeTile, mapDestRect, mapSourceRectMethods inherited from class javax.media.jai.OpImage
addTileToCache, cancelTiles, computeRect, computeRect, createTile, getExpandedNumBands, getFormatTags, getOperationComputeType, getTileCache, getTileCacheMetric, getTileDependencies, getTileFromCache, getTileRecycler, getTiles, hasExtender, mapDestPoint, mapSourcePoint, prefetchTiles, queueTiles, recycleTile, setTileCache, vectorize, vectorize, vectorizeMethods inherited from class javax.media.jai.PlanarImage
addPropertyChangeListener, addPropertyChangeListener, addSink, addSink, addSource, addTileComputationListener, copyData, copyExtendedData, createColorModel, createSnapshot, createWritableRaster, finalize, getAsBufferedImage, getAsBufferedImage, getBounds, getColorModel, 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, YToTileYMethods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.bc.ceres.multilevel.MultiLevelSource
getImage, getImageShape, getModel, reset
-
Constructor Details
-
MultiLevelImage
protected MultiLevelImage(javax.media.jai.ImageLayout layout, MultiLevelSource levelSource, Map properties) Constructs a newMultiLevelImage.- Parameters:
layout- The layout of this image or null.levelSource- The level source of this image.properties- A Map containing the properties of this image or null.
-
-
Method Details
-
getTile
- Specified by:
getTilein interfaceRenderedImage- Overrides:
getTilein classjavax.media.jai.OpImage
-
getData
- Specified by:
getDatain interfaceRenderedImage- Overrides:
getDatain classjavax.media.jai.PlanarImage
-
getData
- Specified by:
getDatain interfaceRenderedImage- Overrides:
getDatain classjavax.media.jai.PlanarImage
-
copyData
- Specified by:
copyDatain interfaceRenderedImage- Overrides:
copyDatain classjavax.media.jai.PlanarImage
-
dispose
public void dispose()Provides a hint that an image will no longer be accessed from a reference in user space. The results are equivalent to those that occur when the program loses its last reference to this image, the garbage collector discovers this, and finalize is called. This can be used as a hint in situations where waiting for garbage collection would be overly conservative.The results of referencing an image after a call to
dispose()are undefined.Overrides shall call
super.dispose()in a final step.- Overrides:
disposein classjavax.media.jai.OpImage
-