public class TLcdEarthMultivaluedDataSplitter extends ALcdEarthTileSplitter
TLcdEarthMultivaluedData
objects.Constructor and Description |
---|
TLcdEarthMultivaluedDataSplitter() |
Modifier and Type | Method and Description |
---|---|
TLcdEarthTileFormat |
getDataFormat() |
protected ILcd3DEditableBounds |
getSubTileBounds(ALcdEarthTile aInput,
int aLevelDelta,
int aX,
int aY,
Object aSubTileData)
Returns the bounds of the sub tile.
|
Object |
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 new
TLcdEarthMultivaluedData with the specified parameters. |
createSubTile, getSubTile
public Object getSubTileData(Object aInput, int aLevelDelta, int aX, int aY) throws IOException
ALcdEarthTileSplitter
getSubTileData
in class ALcdEarthTileSplitter
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
[).IOException
- If the data cannot be split.protected TLcdEarthMultivaluedData newMultivaluedData(double[][] aMultivalues, int aWidth, int aHeight, Double[][] aMinMax)
TLcdEarthMultivaluedData
with the specified parameters.
The default implementation creates a TLcdEarthMultivaluedData
instance.
Subclasses can override this to create a specific subclass of
TLcdEarthMultivaluedData
.aMultivalues
- the multi-valuesaWidth
- the widthaHeight
- the heightaMinMax
- the minima and maximaTLcdEarthMultivaluedData.TLcdEarthMultivaluedData(double[][], int, int, Double[][])
protected ILcd3DEditableBounds getSubTileBounds(ALcdEarthTile aInput, int aLevelDelta, int aX, int aY, Object aSubTileData)
ALcdEarthTileSplitter
getSubTileBounds
in class ALcdEarthTileSplitter
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 dataALcdEarthTileSplitter.getSubTile(com.luciad.earth.tileset.ALcdEarthTile, int, long, long)
public TLcdEarthTileFormat getDataFormat()