gov.nasa.worldwind.data
Class MipMappedBufferedImageRaster
java.lang.Object
gov.nasa.worldwind.data.BufferedImageRaster
gov.nasa.worldwind.data.MipMappedBufferedImageRaster
- All Implemented Interfaces:
- Cacheable, DataRaster, Disposable
public class MipMappedBufferedImageRaster - extends BufferedImageRaster
| Methods inherited from class gov.nasa.worldwind.data.BufferedImageRaster |
computeClipRect, computeGeographicToRasterTransform, computeSourceToDestTransform, createCompatibleImage, drawOnCanvas, drawOnCanvas, fill, getBufferedImage, getDefaultGraphicsConfiguration, getGraphics, getHeight, getSector, getWidth, isCompatibleImage, toCompatibleImage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
levelRasters
protected BufferedImageRaster[] levelRasters
MipMappedBufferedImageRaster
protected MipMappedBufferedImageRaster(Sector sector,
BufferedImage image)
chooseRasterForCanvas
protected BufferedImageRaster chooseRasterForCanvas(BufferedImageRaster canvas)
computeMipmapLevel
protected int computeMipmapLevel(int sourceWidth,
int sourceHeight,
Sector sourceSector,
int destWidth,
int destHeight,
Sector destSector)
dispose
public void dispose()
- Specified by:
dispose in interface Disposable- Overrides:
dispose in class BufferedImageRaster
doDrawOnCanvas
protected void doDrawOnCanvas(BufferedImageRaster canvas,
Sector clipSector)
- Overrides:
doDrawOnCanvas in class BufferedImageRaster
getSizeInBytes
public long getSizeInBytes()
- Description copied from interface:
Cacheable
- Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size
for smaller objects, but use approximate values for objects that include such large components that the
approximation would produce an error so small that the extra computation would be wasteful.
- Specified by:
getSizeInBytes in interface Cacheable- Overrides:
getSizeInBytes in class BufferedImageRaster
- Returns:
- this
Cacheable object's size in bytes
|
|