Package com.luciad.format.raster
Class TLcdTileInfo
java.lang.Object
com.luciad.format.raster.TLcdTileInfo
- All Implemented Interfaces:
ILcdTileInfo
This class provides an implementation of ILcdTileInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdTileInfo(int aWidth, int aHeight, int aType, int aPixelSize, int aBitOffset, boolean aAllDefault, ColorModel aColorModel, ILcdBufferSegment aBufferSegment) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the offset of the first pixel in every tile row, expressed in bits.Returns the buffer segment that contains the actual data of the tile.Returns the optional color model of the tile.intReturns the height of the tile, expressed in pixels.intReturns the pixel size of the tile values, expressed in bits.intgetType()Returns the internal storage type of the tile values.getURL()intgetWidth()Returns the width of the tile, expressed in pixels.booleanReturns whether all values in the tile are equal to a default value.voidsetAllDefault(boolean aAllDefault) Sets whether all values in the tile are equal to a default value.voidsetBitOffset(int aBitOffset) voidsetPixelSize(int aPixelSize) voidsetType(int aType) voidSets the URL that was used to read the tile.
-
Constructor Details
-
TLcdTileInfo
public TLcdTileInfo(int aWidth, int aHeight, int aType, int aPixelSize, int aBitOffset, boolean aAllDefault, ColorModel aColorModel, ILcdBufferSegment aBufferSegment)
-
-
Method Details
-
getWidth
public int getWidth()Description copied from interface:ILcdTileInfoReturns the width of the tile, expressed in pixels.- Specified by:
getWidthin interfaceILcdTileInfo
-
getHeight
public int getHeight()Description copied from interface:ILcdTileInfoReturns the height of the tile, expressed in pixels.- Specified by:
getHeightin interfaceILcdTileInfo
-
getType
public int getType()Description copied from interface:ILcdTileInfoReturns the internal storage type of the tile values.- Specified by:
getTypein interfaceILcdTileInfo- Returns:
- one of
ILcdTile.BYTE,ILcdTile.SHORT, orILcdTile.INT.
-
setType
public void setType(int aType) -
getPixelSize
public int getPixelSize()Description copied from interface:ILcdTileInfoReturns the pixel size of the tile values, expressed in bits.- Specified by:
getPixelSizein interfaceILcdTileInfo
-
setPixelSize
public void setPixelSize(int aPixelSize) -
getBitOffset
public int getBitOffset()Description copied from interface:ILcdTileInfoReturns the offset of the first pixel in every tile row, expressed in bits.- Specified by:
getBitOffsetin interfaceILcdTileInfo
-
setBitOffset
public void setBitOffset(int aBitOffset) -
getURL
- Specified by:
getURLin interfaceILcdTileInfo
-
setURL
Description copied from interface:ILcdTileInfoSets the URL that was used to read the tile.- Specified by:
setURLin interfaceILcdTileInfo
-
isAllDefault
public boolean isAllDefault()Description copied from interface:ILcdTileInfoReturns whether all values in the tile are equal to a default value.- Specified by:
isAllDefaultin interfaceILcdTileInfo
-
setAllDefault
public void setAllDefault(boolean aAllDefault) Description copied from interface:ILcdTileInfoSets whether all values in the tile are equal to a default value.- Specified by:
setAllDefaultin interfaceILcdTileInfo
-
getColorModel
Description copied from interface:ILcdTileInfoReturns the optional color model of the tile.- Specified by:
getColorModelin interfaceILcdTileInfo- Returns:
- the color model, or
nullif the raster doesn't have an explicit color model.
-
getBufferSegment
Description copied from interface:ILcdTileInfoReturns the buffer segment that contains the actual data of the tile.- Specified by:
getBufferSegmentin interfaceILcdTileInfo
-