Class TLcdTileInfo

java.lang.Object
com.luciad.format.raster.TLcdTileInfo
All Implemented Interfaces:
ILcdTileInfo

public class TLcdTileInfo extends Object implements ILcdTileInfo
This class provides an implementation of ILcdTileInfo.
  • 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: ILcdTileInfo
      Returns the width of the tile, expressed in pixels.
      Specified by:
      getWidth in interface ILcdTileInfo
    • getHeight

      public int getHeight()
      Description copied from interface: ILcdTileInfo
      Returns the height of the tile, expressed in pixels.
      Specified by:
      getHeight in interface ILcdTileInfo
    • getType

      public int getType()
      Description copied from interface: ILcdTileInfo
      Returns the internal storage type of the tile values.
      Specified by:
      getType in interface ILcdTileInfo
      Returns:
      one of ILcdTile.BYTE, ILcdTile.SHORT, or ILcdTile.INT.
    • setType

      public void setType(int aType)
    • getPixelSize

      public int getPixelSize()
      Description copied from interface: ILcdTileInfo
      Returns the pixel size of the tile values, expressed in bits.
      Specified by:
      getPixelSize in interface ILcdTileInfo
    • setPixelSize

      public void setPixelSize(int aPixelSize)
    • getBitOffset

      public int getBitOffset()
      Description copied from interface: ILcdTileInfo
      Returns the offset of the first pixel in every tile row, expressed in bits.
      Specified by:
      getBitOffset in interface ILcdTileInfo
    • setBitOffset

      public void setBitOffset(int aBitOffset)
    • getURL

      public URL getURL()
      Specified by:
      getURL in interface ILcdTileInfo
    • setURL

      public void setURL(URL aURL)
      Description copied from interface: ILcdTileInfo
      Sets the URL that was used to read the tile.
      Specified by:
      setURL in interface ILcdTileInfo
    • isAllDefault

      public boolean isAllDefault()
      Description copied from interface: ILcdTileInfo
      Returns whether all values in the tile are equal to a default value.
      Specified by:
      isAllDefault in interface ILcdTileInfo
    • setAllDefault

      public void setAllDefault(boolean aAllDefault)
      Description copied from interface: ILcdTileInfo
      Sets whether all values in the tile are equal to a default value.
      Specified by:
      setAllDefault in interface ILcdTileInfo
    • getColorModel

      public ColorModel getColorModel()
      Description copied from interface: ILcdTileInfo
      Returns the optional color model of the tile.
      Specified by:
      getColorModel in interface ILcdTileInfo
      Returns:
      the color model, or null if the raster doesn't have an explicit color model.
    • getBufferSegment

      public ILcdBufferSegment getBufferSegment()
      Description copied from interface: ILcdTileInfo
      Returns the buffer segment that contains the actual data of the tile.
      Specified by:
      getBufferSegment in interface ILcdTileInfo