Package com.luciad.format.raster
Class TLcdShadedTileDecoder
java.lang.Object
com.luciad.format.raster.TLcdShadedTileDecoder
- All Implemented Interfaces:
ILcdTileDecoder
This class decodes shaded values based on the values returned by another
ILcdTileDecoder
.
This class is thread-safe.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreadTile
(String aFileName, int aImageIndex, int aSubTileWidth, int aSubTileHeight, int aSubTileRowIndex, int aSubTileColumnIndex, ILcdBuffer aBuffer) Reads a sub-tile from a file.readTile
(URL aURL, int aImageIndex, int aSubTileWidth, int aSubTileHeight, int aSubTileRowIndex, int aSubTileColumnIndex, ILcdBuffer aBuffer) Reads a sub-tile from a URL.
-
Constructor Details
-
TLcdShadedTileDecoder
-
-
Method Details
-
readTile
public ILcdTileInfo readTile(String aFileName, int aImageIndex, int aSubTileWidth, int aSubTileHeight, int aSubTileRowIndex, int aSubTileColumnIndex, ILcdBuffer aBuffer) throws TLcdCodecException Description copied from interface:ILcdTileDecoder
Reads a sub-tile from a file.- Specified by:
readTile
in interfaceILcdTileDecoder
- Parameters:
aFileName
- the name of the file containing the tile.aImageIndex
- the index of the tile in the given file (if applicable).aSubTileWidth
- the width of the sub-tiles, expressed in pixels.aSubTileHeight
- the height of the sub-tiles, expressed in pixels.aSubTileRowIndex
- the row number of the sub-tile to be decoded.aSubTileColumnIndex
- the column number of the sub-tile to be decoded.aBuffer
- the buffer in which the decoded bytes will be stored.- Returns:
ILcdTileInfo
information about the decoded tile.- Throws:
TLcdCodecException
- in case of decoding problems.
-
readTile
public ILcdTileInfo readTile(URL aURL, int aImageIndex, int aSubTileWidth, int aSubTileHeight, int aSubTileRowIndex, int aSubTileColumnIndex, ILcdBuffer aBuffer) throws TLcdCodecException Description copied from interface:ILcdTileDecoder
Reads a sub-tile from a URL.- Specified by:
readTile
in interfaceILcdTileDecoder
- Parameters:
aURL
- the URL containing the tile.aImageIndex
- the index of the tile in the given URL (if applicable).aSubTileWidth
- the width of the sub-tiles, expressed in pixels.aSubTileHeight
- the height of the sub-tiles, expressed in pixels.aSubTileRowIndex
- the row number of the sub-tile to be decoded.aSubTileColumnIndex
- the column number of the sub-tile to be decoded.aBuffer
- the buffer in which the decoded bytes will be stored.- Returns:
ILcdTileInfo
information about the decoded tile.- Throws:
TLcdCodecException
- in case of decoding problems.
-