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, tileRecycler
Fields inherited from class javax.media.jai.PlanarImage
colorModel, eventManager, height, minX, minY, properties, sampleModel, tileFactory, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
Fields inherited from interface com.bc.ceres.multilevel.MultiLevelSource
NULL
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MultiLevelImage
(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, mapSourceRect
Methods 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, vectorize
Methods 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, YToTileY
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getTile
in interfaceRenderedImage
- Overrides:
getTile
in classjavax.media.jai.OpImage
-
getData
- Specified by:
getData
in interfaceRenderedImage
- Overrides:
getData
in classjavax.media.jai.PlanarImage
-
getData
- Specified by:
getData
in interfaceRenderedImage
- Overrides:
getData
in classjavax.media.jai.PlanarImage
-
copyData
- Specified by:
copyData
in interfaceRenderedImage
- Overrides:
copyData
in 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:
dispose
in classjavax.media.jai.OpImage
-