Package com.luciad.earth.tileset.raster
Class TLcdEarthTileSetMultilevelRaster
java.lang.Object
com.luciad.earth.tileset.util.ALcdEarthTileSetWrapper
com.luciad.earth.tileset.raster.ALcdEarthTileSetMultilevelRaster
com.luciad.earth.tileset.raster.TLcdEarthTileSetMultilevelRaster
- All Implemented Interfaces:
ILcdEarthTileSet
,ILcdMultilevelRaster
,ILcdBounded
,ILcdCache
,ILcdDisposable
,AutoCloseable
Views an
ILcdEarthTileSet
with an ILcdEarthRasterTileSetCoverage
as an ILcdMultilevelRaster
.
This tileset is thread-safe for tile reading if the delegate tileset is also thread-safe for tile
reading.- Since:
- 8.2
-
Constructor Summary
ConstructorDescriptionCreates a multilevel raster from the given tileset.TLcdEarthTileSetMultilevelRaster
(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage) Creates a multilevel raster from the given tileset using the specified data coverage. -
Method Summary
Modifier and TypeMethodDescriptionprotected ILcdRaster
createRaster
(int aLevel) Creates the raster at the given level.protected boolean
isValidRasterCoverage
(ILcdEarthTileSetCoverage aCoverage) Returns whether the given coverage is a valid raster coverage for this multi level raster.Methods inherited from class com.luciad.earth.tileset.raster.ALcdEarthTileSetMultilevelRaster
clearCache, getCachedObject, getRaster, getRasterCount, getRasterTileSet, getRasterTileSetCoverage, insertIntoCache, removeCachedObject
Methods inherited from class com.luciad.earth.tileset.util.ALcdEarthTileSetWrapper
cancelTile, containsTile, containsTileSetCoverage, dispose, getBounds, getDelegateTileSet, getLevelCount, getTileColumnCount, getTileRowCount, getTileSetCoverage, getTileSetCoverage, getTileSetCoverageCount, isFormatSupported, isGeoReferenceSupported, produceTile, produceTile, updateTile, updateTile
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdDisposable
close
-
Constructor Details
-
TLcdEarthTileSetMultilevelRaster
Creates a multilevel raster from the given tileset.- Parameters:
aTileSet
- A tileset with raster data.- Throws:
IllegalArgumentException
- If no valid coverage is available.- See Also:
-
TLcdEarthTileSetMultilevelRaster
public TLcdEarthTileSetMultilevelRaster(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage) Creates a multilevel raster from the given tileset using the specified data coverage.- Parameters:
aTileSet
- A tileset with raster data.aCoverage
- The data coverage in the tileset that contains the raster data.- Throws:
IllegalArgumentException
- If the given coverage is not null and not valid or no valid coverage is available.- See Also:
-
-
Method Details
-
isValidRasterCoverage
Description copied from class:ALcdEarthTileSetMultilevelRaster
Returns whether the given coverage is a valid raster coverage for this multi level raster.- Specified by:
isValidRasterCoverage
in classALcdEarthTileSetMultilevelRaster
- Parameters:
aCoverage
- An earth coverage.- Returns:
- True if the coverage can be used as the raster data source.
-
createRaster
Description copied from class:ALcdEarthTileSetMultilevelRaster
Creates the raster at the given level.- Specified by:
createRaster
in classALcdEarthTileSetMultilevelRaster
- Parameters:
aLevel
- A level.- Returns:
- A raster.
-