public interface ILcdEarthPreprocessorProgressListener
TLcdEarthTileRepositoryPreprocessor
.
This interface also allows keeping track of the preprocessing progress and flag a stop condition
to cancel the preprocessing.Modifier and Type | Method and Description |
---|---|
void |
assetComplete()
Called when the repository preprocessor has completed processing the current asset.
|
void |
assetStarted(ILcdEarthAsset aAsset,
long aUpdateRegionX,
long aUpdateRegionY,
long aUpdateRegionWidth,
long aUpdateRegionHeight,
long aStartX,
long aStartY)
Called when the repository preprocessor starts processing a different asset.
|
void |
levelComplete()
Called when the repository preprocessor has completed processing the current level.
|
void |
levelStarted(int aLevel)
Called when the repository preprocessor starts processing a different level.
|
void |
preprocessingComplete()
Called when the preprocessing has completed.
|
void |
preprocessingStarted(ILcdEarthTileSet aTileSet,
ILcdEarthTileSetCoverage[] aCoverages,
int aNumLevels,
ILcdEarthAsset[] aAssets,
long[] aNumAssetTiles,
long[] aNumTilesLeft)
Called when the tile preprocessing starts.
|
boolean |
progress(ILcdEarthTileSet aTileSet,
ILcdEarthTileSetCoverage[] aCoverages,
int aLevel,
long aUpdateRegionX,
long aUpdateRegionY,
long aUpdateRegionWidth,
long aUpdateRegionHeight,
long aCurrentTileX,
long aCurrentTileY)
Called when the repository preprocessor has processed a tile.
|
boolean progress(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage[] aCoverages, int aLevel, long aUpdateRegionX, long aUpdateRegionY, long aUpdateRegionWidth, long aUpdateRegionHeight, long aCurrentTileX, long aCurrentTileY)
aTileSet
- The tileset whose tiles are being preprocessed.aCoverages
- The ILcdEarthTileSetCoverages being preprocessed.aLevel
- The detail level at which tiles are being preprocessed.aUpdateRegionX
- The column index of the lower left corner of the tile region that is
being preprocessed.aUpdateRegionY
- The row index of the lower left corner of the tile region that is
being preprocessed.aUpdateRegionWidth
- The width of the tile region that is being preprocessed.aUpdateRegionHeight
- The height of the tile region that is being preprocessed.aCurrentTileX
- The column index of the tile that was just preprocessed.aCurrentTileY
- The row index of the tile that was just preprocessed.void preprocessingStarted(ILcdEarthTileSet aTileSet, ILcdEarthTileSetCoverage[] aCoverages, int aNumLevels, ILcdEarthAsset[] aAssets, long[] aNumAssetTiles, long[] aNumTilesLeft)
aTileSet
- The tileset whose data will be preprocessed.aCoverages
- The coverages in the tileset that will be preprocessed.aNumLevels
- The total number of levels that will be preprocessed.aAssets
- The list of assets that need preprocessing.aNumAssetTiles
- The number of tiles for each asset that need to be preprocessed.aNumTilesLeft
- The number of tiles for each asset that are not yet preprocessed.void preprocessingComplete()
void levelStarted(int aLevel)
aLevel
- The level that will be processed.void levelComplete()
void assetStarted(ILcdEarthAsset aAsset, long aUpdateRegionX, long aUpdateRegionY, long aUpdateRegionWidth, long aUpdateRegionHeight, long aStartX, long aStartY)
aAsset
- The asset that will be processed.aUpdateRegionX
- The column index of the lower left corner of the tile region that is
being preprocessed.aUpdateRegionY
- The row index of the lower left corner of the tile region that is
being preprocessed.aUpdateRegionWidth
- The width of the tile region that is being preprocessed.aUpdateRegionHeight
- The height of the tile region that is being preprocessed.aStartX
- The column index of the first tile that will be preprocessed.aStartY
- The row index of the first tile that will be preprocessed.void assetComplete()