NASA World Wind

gov.nasa.worldwind.layers.mercator
Class MercatorTextureTile

java.lang.Object
  extended by gov.nasa.worldwind.util.Tile
      extended by gov.nasa.worldwind.layers.TextureTile
          extended by gov.nasa.worldwind.layers.mercator.MercatorTextureTile
All Implemented Interfaces:
Cacheable, SurfaceTile, Comparable<Tile>

public class MercatorTextureTile
extends TextureTile


Field Summary
 
Fields inherited from class gov.nasa.worldwind.layers.TextureTile
hasMipmapData, updateTime
 
Constructor Summary
MercatorTextureTile(MercatorSector mercatorSector, Level level, int row, int col)
           
 
Method Summary
 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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 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

NASA World Wind