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

public class TLcdEarthMultivaluedDataSplitter extends ALcdEarthTileSplitter
Splits TLcdEarthMultivaluedData objects.
Since:
10.1
  • Constructor Details

    • TLcdEarthMultivaluedDataSplitter

      public TLcdEarthMultivaluedDataSplitter()
  • 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.
    • newMultivaluedData

      protected TLcdEarthMultivaluedData newMultivaluedData(double[][] aMultivalues, int aWidth, int aHeight, Double[][] aMinMax)
      Constructs a new TLcdEarthMultivaluedData with the specified parameters.

      The default implementation creates a TLcdEarthMultivaluedData instance.

      Subclasses can override this to create a specific subclass of TLcdEarthMultivaluedData.

      Parameters:
      aMultivalues - the multi-values
      aWidth - the width
      aHeight - the height
      aMinMax - 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 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