Package com.luciad.earth.view.util
Class TLcdEarthTileContext
java.lang.Object
com.luciad.earth.view.util.TLcdEarthTileContext
TLcdEarthTileContext
defines the context of an Earth painter. It gives access to the following
information:
- Since:
- 10.1
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdEarthTileContext
(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage, Map<TLcdEarthTileID, ALcdEarthTile> aTiles) Constructs a newTLcdEarthTileContext
with an unknown number of pending tiles.TLcdEarthTileContext
(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage, Map<TLcdEarthTileID, ALcdEarthTile> aTiles, int aPendingTileCount) Constructs a newTLcdEarthTileContext
. -
Method Summary
Modifier and TypeMethodDescriptionReturns the coverage in the tile set that was paintedint
Returns the number of tile requests that are still pending.getTiles()
Returns the tiles in the coverage that were painted.Returns the tile set that was painted.
-
Constructor Details
-
TLcdEarthTileContext
public TLcdEarthTileContext(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage, Map<TLcdEarthTileID, ALcdEarthTile> aTiles) Constructs a newTLcdEarthTileContext
with an unknown number of pending tiles. The tile map should be unmodifiable.- Parameters:
aTileSet
- the tile set that was paintedaCoverage
- the coverage in the tile set that was paintedaTiles
- the tiles in the coverage that were painted
-
TLcdEarthTileContext
public TLcdEarthTileContext(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage aCoverage, Map<TLcdEarthTileID, ALcdEarthTile> aTiles, int aPendingTileCount) Constructs a newTLcdEarthTileContext
. The tile map should be unmodifiable.- Parameters:
aTileSet
- the tile set that was paintedaCoverage
- the coverage in the tile set that was paintedaTiles
- the tiles in the coverage that were paintedaPendingTileCount
- the number of tiles that are pending or-1
if this is unknown
-
-
Method Details
-
getTileSet
Returns the tile set that was painted.- Returns:
- the tile set
-
getCoverage
Returns the coverage in the tile set that was painted- Returns:
- the coverage
-
getTiles
Returns the tiles in the coverage that were painted. As defined in theILcdEarthTileSet
interface, tiles should never be modified.- Returns:
- the tiles in the coverage that were painted
-
getPendingTileCount
public int getPendingTileCount()Returns the number of tile requests that are still pending.- Returns:
- the number of pending tiles or
-1
if it is unknown.
-