Class ALcdEarthTileSetMultilevelRaster

java.lang.Object
com.luciad.earth.tileset.util.ALcdEarthTileSetWrapper
com.luciad.earth.tileset.raster.ALcdEarthTileSetMultilevelRaster
All Implemented Interfaces:
ILcdEarthTileSet, ILcdMultilevelRaster, ILcdBounded, ILcdCache, ILcdDisposable, AutoCloseable
Direct Known Subclasses:
TLcdEarthTileSetElevationMultilevelRaster, TLcdEarthTileSetMultilevelRaster

public abstract class ALcdEarthTileSetMultilevelRaster extends ALcdEarthTileSetWrapper implements ILcdMultilevelRaster
Since:
8.2
  • Constructor Details

  • Method Details

    • getRasterTileSetCoverage

      public ILcdEarthTileSetCoverage getRasterTileSetCoverage()
      Returns the data coverage that is used to retrieve the raster data.
      Returns:
      A data coverage.
    • getRasterTileSet

      public ILcdEarthTileSet getRasterTileSet()
      Returns the tileset used to retrieve the raster data.
      Returns:
      A tileset.
    • isValidRasterCoverage

      protected abstract boolean isValidRasterCoverage(ILcdEarthTileSetCoverage aCoverage)
      Returns whether the given coverage is a valid raster coverage for this multi level raster.
      Parameters:
      aCoverage - An earth coverage.
      Returns:
      True if the coverage can be used as the raster data source.
    • createRaster

      protected abstract ILcdRaster createRaster(int aLevel)
      Creates the raster at the given level.
      Parameters:
      aLevel - A level.
      Returns:
      A raster.
    • getRasterCount

      public int getRasterCount()
      Specified by:
      getRasterCount in interface ILcdMultilevelRaster
      Returns:
      the number of ILcdRaster objects in this ILcdMultilevelRaster.
    • getRaster

      public ILcdRaster getRaster(int i)
      Specified by:
      getRaster in interface ILcdMultilevelRaster
      Returns:
      the ILcdRaster at level aLevel.
    • insertIntoCache

      public void insertIntoCache(Object o, Object o1)
      Description copied from interface: ILcdCache
      Inserts a cache Object corresponding to the given key Object.
      Specified by:
      insertIntoCache in interface ILcdCache
      Parameters:
      o - the key Object that will be used to identify the Object. The key must therefore be a unique identifier, typically the caller itself: insertIntoCache(this, ...).
      o1 - the Object to be cached.
    • removeCachedObject

      public Object removeCachedObject(Object o)
      Description copied from interface: ILcdCache
      Looks up and removes the cached Object corresponding to the given key.
      Specified by:
      removeCachedObject in interface ILcdCache
      Parameters:
      o - the key Object that was used for storing the cache Object.
      Returns:
      the cached Object, or null if there was no Object corresponding to the given key.
    • clearCache

      public void clearCache()
      Description copied from interface: ILcdCache
      Clears the cache.
      Specified by:
      clearCache in interface ILcdCache
    • getCachedObject

      public Object getCachedObject(Object o)
      Description copied from interface: ILcdCache
      Looks up and returns the cached Object corresponding to the given key.
      Specified by:
      getCachedObject in interface ILcdCache
      Parameters:
      o - the key Object that was used for storing the cache Object.
      Returns:
      the cached Object, or null if there is no Object corresponding to the given key.