Package com.luciad.format.raster
Interface ILcdTileInfo
- All Known Implementing Classes:
TLcdTileInfo
public interface ILcdTileInfo
This interface provides information about an
ILcdTile
:
size, type, color model, and data.
It also has a URL if a URL connection has been created to read the tile.-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.The offset is always 0.Returns the buffer segment that contains the actual data of the tile.Returns the optional color model of the tile.int
Returns the height of the tile, expressed in pixels.int
Returns the pixel size of the tile values, expressed in bits.int
getType()
Returns the internal storage type of the tile values.getURL()
int
getWidth()
Returns the width of the tile, expressed in pixels.boolean
Returns whether all values in the tile are equal to a default value.void
setAllDefault
(boolean aAllDefault) Sets whether all values in the tile are equal to a default value.void
Sets the URL that was used to read the tile.
-
Method Details
-
getWidth
int getWidth()Returns the width of the tile, expressed in pixels. -
getHeight
int getHeight()Returns the height of the tile, expressed in pixels. -
getType
int getType()Returns the internal storage type of the tile values.- Returns:
- one of
ILcdTile.BYTE
,ILcdTile.SHORT
, orILcdTile.INT
.
-
getPixelSize
int getPixelSize()Returns the pixel size of the tile values, expressed in bits. -
getBitOffset
int getBitOffset()Deprecated.The offset is always 0.Returns the offset of the first pixel in every tile row, expressed in bits. -
getColorModel
ColorModel getColorModel()Returns the optional color model of the tile.- Returns:
- the color model, or
null
if the raster doesn't have an explicit color model.
-
isAllDefault
boolean isAllDefault()Returns whether all values in the tile are equal to a default value. -
setAllDefault
void setAllDefault(boolean aAllDefault) Sets whether all values in the tile are equal to a default value. -
getURL
URL getURL() -
setURL
Sets the URL that was used to read the tile. -
getBufferSegment
ILcdBufferSegment getBufferSegment()Returns the buffer segment that contains the actual data of the tile.
-