Class TLcdEarthImageSplitter

java.lang.Object
com.luciad.earth.tileset.util.splitter.ALcdEarthTileSplitter
com.luciad.earth.tileset.util.splitter.TLcdEarthImageSplitter
All Implemented Interfaces:
ILcdEarthTileSplitter

public class TLcdEarthImageSplitter extends ALcdEarthTileSplitter
Splits BufferedImage objects.
Since:
8.2
  • Constructor Details

    • TLcdEarthImageSplitter

      public TLcdEarthImageSplitter()
  • Method Details

    • getSubTileData

      public Object getSubTileData(Object aInput, int aLevelDelta, int aX, int aY) throws IOException
      Description copied from class: ALcdEarthTileSplitter
      Returns the data of one sub tile of a given tile.
      Specified by:
      getSubTileData in class ALcdEarthTileSplitter
      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 class ALcdEarthTileSplitter
      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

      public TLcdEarthTileFormat getDataFormat()
      Returns:
      The supported data format