Package com.luciad.format.raster
Interface ILcdSubtiledTile
- All Superinterfaces:
ILcdTile
- All Known Implementing Classes:
TLcdBufferedTile
,TLcdByteArrayTile
,TLcdCADRGTile
,TLcdDTEDTile
,TLcdECRGTile
,TLcdIntArrayTile
,TLcdRenderedImageTile
,TLcdShortArrayTile
,TLcdUSRPTile
This interface defines an ILcdTile which is further subdivided into
subtiles. The interface is intentionally minimalistic: the only information
required about the subtiles is their pixel resolution.
Implementations are expected to perform various optimizations based on subtiles (the most likely being caching of the data). Therefore, clients are encouraged to access the tile's data in a coherent fashion. This applies to both the retrieveValue() and createImage() methods.
As an example, an application might read values out of an ILcdTile without taking subtiling into account, by reading the values scanline by scanline. Such an application could possibly perform better if it took subtile boundaries into account, and following a scanline access pattern only within each subtile.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the height of a subtile in pixels.int
Returns the width of a subtile in pixels.Methods inherited from interface com.luciad.format.raster.ILcdTile
createImage, createImage, createImage, createImage, getColorModel, getHeight, getPixelSize, getType, getWidth, isAllDefault, retrieveValue
-
Method Details
-
getSubTileWidth
int getSubTileWidth()Returns the width of a subtile in pixels. May be equal to the width of the parent tile (as returned by the getWidth() method), in which case the tile is not subdivided. -
getSubTileHeight
int getSubTileHeight()Returns the height of a subtile in pixels. May be equal to the height of the parent tile (as returned by the getHeight() method), in which case the tile is not subdivided.
-