Class TLcdEarthElevationDataCombiner
java.lang.Object
com.luciad.earth.metadata.preprocessor.combiner.ALcdEarthTileCombiner
com.luciad.earth.metadata.preprocessor.combiner.TLcdEarthElevationDataCombiner
- All Implemented Interfaces:
ILcdEarthTileCombiner
Combiner for
TLcdEarthElevationData
objects.
This class is thread-safe.- Since:
- 9.1
-
Constructor Summary
ConstructorDescriptionConstructs a newTLcdEarthElevationDataCombiner
.TLcdEarthElevationDataCombiner
(boolean aIsPointSampled) Constructs a new TLcdEarthElevationDataCombiner with the given configuration. -
Method Summary
Modifier and TypeMethodDescriptioncombineTileData
(ALcdEarthTile[][] aInputTiles, Object[][] aInputData) Combines the data present in the four input tiles.combineTiles
(ALcdEarthTile[][] aInputs) Combines four tiles into one.Returns the type of data that can be combined by this combiner.Methods inherited from class com.luciad.earth.metadata.preprocessor.combiner.ALcdEarthTileCombiner
combineTiles, createCombinedTile
-
Constructor Details
-
TLcdEarthElevationDataCombiner
public TLcdEarthElevationDataCombiner()Constructs a newTLcdEarthElevationDataCombiner
. It assumes the data is area-sampled. -
TLcdEarthElevationDataCombiner
public TLcdEarthElevationDataCombiner(boolean aIsPointSampled) Constructs a new TLcdEarthElevationDataCombiner with the given configuration.- Parameters:
aIsPointSampled
- Whether to treat the data as point-sampled (true
) or area-sampled (false
).- Since:
- 2020.1
-
-
Method Details
-
combineTiles
Description copied from class:ALcdEarthTileCombiner
Combines four tiles into one. All properties of the tile are set in this method, except for the tile's actual data. This is created by callingcombineTileData()
, with the data objects of the four source tiles as an argument.The returned tile is instantiated using the method
createCombinedTile()
.- Specified by:
combineTiles
in interfaceILcdEarthTileCombiner
- Overrides:
combineTiles
in classALcdEarthTileCombiner
- Parameters:
aInputs
- 2x2 matrix of tiles of level N- Returns:
- the corresponding tile for level N-1
-
combineTileData
Description copied from class:ALcdEarthTileCombiner
Combines the data present in the four input tiles. Returns a new data object to be contained in the result ofcombineTiles()
.- Specified by:
combineTileData
in classALcdEarthTileCombiner
- Parameters:
aInputTiles
- the four source tilesaInputData
- the data objects of four source tiles- Returns:
- a new data object for the combined tiles
-
getDataFormat
Description copied from interface:ILcdEarthTileCombiner
Returns the type of data that can be combined by this combiner. ThegetData()
methods of the four input tiles should all return an object of this format.- Returns:
- the data format supported by this combiner
-