gov.nasa.worldwind.layers
Class TextureTile
java.lang.Object
gov.nasa.worldwind.util.Tile
gov.nasa.worldwind.layers.TextureTile
- All Implemented Interfaces:
- Cacheable, SurfaceTile, Comparable<Tile>
public class TextureTile
- extends Tile
- implements SurfaceTile
| Methods inherited from class gov.nasa.worldwind.util.Tile |
compareTo, computeColumn, computeColumnLongitude, computeRow, computeRowLatitude, getCacheName, getColumn, getFormatSuffix, getLabel, getLevel, getLevelName, getLevelNumber, getPath, getPathBase, getPriority, getResourceURL, getResourceURL, getRow, getSector, getTileKey, setPriority |
TextureTile
public TextureTile(Sector sector)
TextureTile
public TextureTile(Sector sector,
Level level,
int row,
int col)
applyInternalTransform
public void applyInternalTransform(DrawContext dc)
- Specified by:
applyInternalTransform in interface SurfaceTile
bind
public boolean bind(DrawContext dc)
- Specified by:
bind in interface SurfaceTile
createSubTiles
public TextureTile[] createSubTiles(Level nextLevel)
equals
public boolean equals(Object o)
- Overrides:
equals in class Tile
getCentroidPoint
public Vec4 getCentroidPoint(Globe globe)
getExtent
public Extent getExtent(DrawContext dc)
- Specified by:
getExtent in interface SurfaceTile
getFallbackTile
public TextureTile getFallbackTile()
getMinDistanceToEye
public double getMinDistanceToEye()
getSizeInBytes
public final long getSizeInBytes()
- Description copied from interface:
Cacheable
- Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size
for smaller objects, but use approximate values for objects that include such large components that the
approximation would produce an error so small that the extra computation would be wasteful.
- Specified by:
getSizeInBytes in interface Cacheable- Overrides:
getSizeInBytes in class Tile
- Returns:
- this
Cacheable object's size in bytes
getTexture
public Texture getTexture(TextureCache tc)
getTextureData
public TextureData getTextureData()
hashCode
public int hashCode()
- Overrides:
hashCode in class Tile
isTextureInMemory
public boolean isTextureInMemory(TextureCache tc)
setFallbackTile
public void setFallbackTile(TextureTile fallbackTile)
setMinDistanceToEye
public void setMinDistanceToEye(double minDistanceToEye)
setTexture
public void setTexture(TextureCache tc,
Texture texture)
setTextureData
public void setTextureData(TextureData textureData)
toString
public String toString()
- Overrides:
toString in class Tile