Class TLcdEarthImageSplitter
java.lang.Object
com.luciad.earth.tileset.util.splitter.ALcdEarthTileSplitter
com.luciad.earth.tileset.util.splitter.TLcdEarthImageSplitter
- All Implemented Interfaces:
ILcdEarthTileSplitter
Splits BufferedImage objects.
- Since:
- 8.2
-
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.Methods inherited from class com.luciad.earth.tileset.util.splitter.ALcdEarthTileSplitter
createSubTile, getSubTile
-
Constructor Details
-
TLcdEarthImageSplitter
public TLcdEarthImageSplitter()
-
-
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.
-
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
-