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
,java.lang.Comparable<Tile>
public class MercatorTextureTile extends TextureTile
-
-
Field Summary
-
Fields inherited from class gov.nasa.worldwind.layers.TextureTile
hasMipmapData, updateTime
-
-
Constructor Summary
Constructors Constructor Description MercatorTextureTile(MercatorSector mercatorSector, Level level, int row, int col)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MercatorTextureTile[]
createSubTiles(Level nextLevel)
Splits this texture tile into four tiles; one for each sub quadrant of this texture tile.MercatorSector
getMercatorSector()
protected MercatorTextureTile
getTileFromMemoryCache(TileKey tileKey)
-
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
-
Methods inherited from interface gov.nasa.worldwind.render.SurfaceTile
getSector
-
-
-
-
Constructor Detail
-
MercatorTextureTile
public MercatorTextureTile(MercatorSector mercatorSector, Level level, int row, int col)
-
-
Method Detail
-
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 callsTextureTile.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 classTextureTile
- Parameters:
nextLevel
- the level for the sub tiles.- Returns:
- a four-element array containing this texture tile's sub tiles.
-
getTileFromMemoryCache
protected MercatorTextureTile getTileFromMemoryCache(TileKey tileKey)
- Overrides:
getTileFromMemoryCache
in classTextureTile
-
getMercatorSector
public MercatorSector getMercatorSector()
-
-