gov.nasa.worldwind.layers.mercator
Class MercatorTextureTile
java.lang.Object
gov.nasa.worldwind.util.Tile
gov.nasa.worldwind.layers.TextureTile
gov.nasa.worldwind.layers.mercator.MercatorTextureTile
- All Implemented Interfaces:
- Cacheable, SurfaceTile, Comparable<Tile>
public class MercatorTextureTile
- extends TextureTile
| Methods inherited from class gov.nasa.worldwind.layers.TextureTile |
applyInternalTransform, applyResourceTextureTransform, bind, createSubTile, createSubTileKey, equals, getCentroidPoint, getCorners, getExtent, getFallbackTile, getMemoryCache, getSizeInBytes, getTexture, getTextureData, getUpdateTime, hashCode, initializeTexture, isTextureExpired, isTextureExpired, isTextureInMemory, setFallbackTile, setTexture, setTextureData, setTextureParameters, toString, updateMemoryCache |
| Methods inherited from class gov.nasa.worldwind.util.Tile |
compareTo, computeColumn, computeColumnLongitude, computeRow, computeRowLatitude, getCacheName, getColumn, getFormatSuffix, getHeight, getLabel, getLevel, getLevelName, getLevelNumber, getPath, getPathBase, getPriority, getResourceURL, getResourceURL, getRow, getSector, getTileKey, getWidth, setPriority |
MercatorTextureTile
public MercatorTextureTile(MercatorSector mercatorSector,
Level level,
int row,
int col)
createSubTiles
public MercatorTextureTile[] createSubTiles(Level nextLevel)
- Description copied from class:
TextureTile
- Splits this texture tile into four tiles; one for each sub quadrant of this texture tile. This attempts to
retrieve each sub tile from the texture tile cache. This calls
TextureTile.createSubTile(gov.nasa.worldwind.geom.Sector,
gov.nasa.worldwind.util.Level, int, int) to create sub tiles not found in the cache.
- Overrides:
createSubTiles in class TextureTile
- Parameters:
nextLevel - the level for the sub tiles.
- Returns:
- a four-element array containing this texture tile's sub tiles.
getMercatorSector
public MercatorSector getMercatorSector()
getTileFromMemoryCache
protected MercatorTextureTile getTileFromMemoryCache(TileKey tileKey)
- Overrides:
getTileFromMemoryCache in class TextureTile