Package com.luciad.earth.tileset.raster
Class TLcdEarthTileSetElevationMultilevelRaster
java.lang.Object
com.luciad.earth.tileset.util.ALcdEarthTileSetWrapper
com.luciad.earth.tileset.raster.ALcdEarthTileSetMultilevelRaster
com.luciad.earth.tileset.raster.TLcdEarthTileSetElevationMultilevelRaster
- All Implemented Interfaces:
ILcdEarthTileSet,ILcdMultilevelRaster,ILcdBounded,ILcdCache,ILcdDisposable,AutoCloseable
Views an
ILcdEarthTileSet with elevation data 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
ConstructorsConstructorDescriptionCreates a multilevel elevation raster wrapper for the given tileset.TLcdEarthTileSetElevationMultilevelRaster(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage) Creates a multilevel elevation raster wrapper for the given tileset. -
Method Summary
Modifier and TypeMethodDescriptionprotected ILcdRastercreateRaster(int aLevel) Creates the raster at the given level.protected booleanisValidRasterCoverage(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, removeCachedObjectMethods 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, updateTileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.util.ILcdDisposable
close
-
Constructor Details
-
TLcdEarthTileSetElevationMultilevelRaster
Creates a multilevel elevation raster wrapper for the given tileset. The first valid coverage in the given tileset will be used to retrieve the raster data.- Parameters:
aTileSet- A tileset.- Throws:
IllegalArgumentException- If no valid coverage is available.- See Also:
-
TLcdEarthTileSetElevationMultilevelRaster
public TLcdEarthTileSetElevationMultilevelRaster(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage) Creates a multilevel elevation raster wrapper for the given tileset. If the given coverage is not null, it will be used to retrieve the data. Otherwise the first valid coverage is used instead.- Parameters:
aTileSet- A tileset.aCoverage- The coverage that contains the raster data or null to use the first valid coverage from the given tileset.- 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:ALcdEarthTileSetMultilevelRasterReturns whether the given coverage is a valid raster coverage for this multi level raster.- Specified by:
isValidRasterCoveragein classALcdEarthTileSetMultilevelRaster- Parameters:
aCoverage- An earth coverage.- Returns:
- True if the coverage can be used as the raster data source.
-
createRaster
Description copied from class:ALcdEarthTileSetMultilevelRasterCreates the raster at the given level.- Specified by:
createRasterin classALcdEarthTileSetMultilevelRaster- Parameters:
aLevel- A level.- Returns:
- A raster.
-