public class TLcdEarthElevationDataCombiner extends ALcdEarthTileCombiner
TLcdEarthElevationData
objects.
This class is thread-safe.Constructor and Description |
---|
TLcdEarthElevationDataCombiner()
Constructs a new
TLcdEarthElevationDataCombiner . |
TLcdEarthElevationDataCombiner(boolean aIsPointSampled)
Constructs a new TLcdEarthElevationDataCombiner with the given configuration.
|
Modifier and Type | Method and Description |
---|---|
Object |
combineTileData(ALcdEarthTile[][] aInputTiles,
Object[][] aInputData)
Combines the data present in the four input tiles.
|
ALcdEarthTile |
combineTiles(ALcdEarthTile[][] aInputs)
Combines four tiles into one.
|
TLcdEarthTileFormat |
getDataFormat()
Returns the type of data that can be combined by this combiner.
|
combineTiles, createCombinedTile
public TLcdEarthElevationDataCombiner()
TLcdEarthElevationDataCombiner
.
It assumes the data is area-sampled.public TLcdEarthElevationDataCombiner(boolean aIsPointSampled)
aIsPointSampled
- Whether to treat the data as point-sampled (true
) or area-sampled (false
).public ALcdEarthTile combineTiles(ALcdEarthTile[][] aInputs)
ALcdEarthTileCombiner
combineTileData()
,
with the data objects of the four source tiles as an argument.
The returned tile is instantiated using the method
createCombinedTile()
.
combineTiles
in interface ILcdEarthTileCombiner
combineTiles
in class ALcdEarthTileCombiner
aInputs
- 2x2 matrix of tiles of level Npublic Object combineTileData(ALcdEarthTile[][] aInputTiles, Object[][] aInputData)
ALcdEarthTileCombiner
combineTiles()
.combineTileData
in class ALcdEarthTileCombiner
aInputTiles
- the four source tilesaInputData
- the data objects of four source tilespublic TLcdEarthTileFormat getDataFormat()
ILcdEarthTileCombiner
getData()
methods of the four input tiles should all return an object of this format.