Class TLcdEarthMultivaluedDataSplitter
java.lang.Object
com.luciad.earth.tileset.util.splitter.ALcdEarthTileSplitter
com.luciad.earth.tileset.util.splitter.TLcdEarthMultivaluedDataSplitter
- All Implemented Interfaces:
ILcdEarthTileSplitter
- Direct Known Subclasses:
TLcdEarthElevationDataSplitter
Splits
TLcdEarthMultivaluedData
objects.- Since:
- 10.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ILcd3DEditableBounds
getSubTileBounds
(ALcdEarthTile aInput, int aLevelDelta, int aX, int aY, Object aSubTileData) Returns the bounds of the sub tile.getSubTileData
(Object aInput, int aLevelDelta, int aX, int aY) Returns the data of one sub tile of a given tile.protected TLcdEarthMultivaluedData
newMultivaluedData
(double[][] aMultivalues, int aWidth, int aHeight, Double[][] aMinMax) Constructs a newTLcdEarthMultivaluedData
with the specified parameters.Methods inherited from class com.luciad.earth.tileset.util.splitter.ALcdEarthTileSplitter
createSubTile, getSubTile
-
Constructor Details
-
TLcdEarthMultivaluedDataSplitter
public TLcdEarthMultivaluedDataSplitter()
-
-
Method Details
-
getSubTileData
Description copied from class:ALcdEarthTileSplitter
Returns the data of one sub tile of a given tile.- Specified by:
getSubTileData
in classALcdEarthTileSplitter
- Parameters:
aInput
- The data object of the source tile.aLevelDelta
- The number of levels above the input tile that the sub tile is.aX
- The x coordinate of the sub tile (i.e. a value in [0,2^aLevelDelta
[).aY
- The y coordinate of the sub tile (i.e. a value in [0,2^aLevelDelta
[).- Returns:
- The requested sub tile's data.
- Throws:
IOException
- If the data cannot be split.
-
newMultivaluedData
protected TLcdEarthMultivaluedData newMultivaluedData(double[][] aMultivalues, int aWidth, int aHeight, Double[][] aMinMax) Constructs a newTLcdEarthMultivaluedData
with the specified parameters. The default implementation creates aTLcdEarthMultivaluedData
instance. Subclasses can override this to create a specific subclass ofTLcdEarthMultivaluedData
.- Parameters:
aMultivalues
- the multi-valuesaWidth
- the widthaHeight
- the heightaMinMax
- the minima and maxima- Returns:
- the multi-valued data
- See Also:
-
getSubTileBounds
protected ILcd3DEditableBounds getSubTileBounds(ALcdEarthTile aInput, int aLevelDelta, int aX, int aY, Object aSubTileData) Description copied from class:ALcdEarthTileSplitter
Returns the bounds of the sub tile. The default implementation just uses the input tile's bounds.- Overrides:
getSubTileBounds
in classALcdEarthTileSplitter
- Parameters:
aInput
- The data object of the source tile.aLevelDelta
- The number of levels above the input tile that the sub tile is.aX
- The x coordinate of the sub tile (i.e. a value in [0,2^aLevelDelta
[).aY
- The y coordinate of the sub tile (i.e. a value in [0,2^aLevelDelta
[).aSubTileData
- The sub tile's data- Returns:
- The bounds of the sub tile's data.
- See Also:
-
getDataFormat
- Returns:
- The supported data format
-