Class TLcdCADRGTile

java.lang.Object
com.luciad.format.raster.TLcdBufferedTile
com.luciad.format.cadrg.TLcdCADRGTile
All Implemented Interfaces:
ILcdSubtiledTile, ILcdTile, ILcdDisposable, AutoCloseable

public class TLcdCADRGTile extends TLcdBufferedTile
This ILcdTile contains additional information about the CADRG/CIB frame that it represents.
  • Constructor Details

    • TLcdCADRGTile

      public TLcdCADRGTile(String aFileName, ILcdTileDecoder aDecoder, ILcdBuffer aBuffer, TLcdCADRGFrameDescriptor aCADRGFrameDescriptor)
      Creates a new TLcdCADRGTile.
      Parameters:
      aFileName - the name of the CADRG tile to be decoded.
      aDecoder - the decoder for reading the tile.
      aBuffer - the buffer in which the tile can be decoded.
      aCADRGFrameDescriptor - the CADRG/CIB frame descriptor.
    • TLcdCADRGTile

      public TLcdCADRGTile(String aFileName, ILcdTileDecoder aDecoder, ILcdBuffer aBuffer, boolean aExpandColorMap, TLcdCADRGFrameDescriptor aCADRGFrameDescriptor)
      Creates a new TLcdCADRGTile.
      Parameters:
      aFileName - the name of the CADRG tile to be decoded.
      aDecoder - the decoder for reading the tile.
      aBuffer - the buffer in which the tile can be decoded.
      aExpandColorMap - specifies whether the color maps of the decoded tiles are expanded.
      aCADRGFrameDescriptor - the CADRG frame descriptor.
  • Method Details

    • getCADRGFrameDescriptor

      public TLcdCADRGFrameDescriptor getCADRGFrameDescriptor()
      Returns the descriptor containing additional information about the CADRG/CIB frame.
    • createImage

      public Image createImage()
      Description copied from interface: ILcdTile
      Creates an image of the entire tile, using the tile's own color model.
      Specified by:
      createImage in interface ILcdTile
      Overrides:
      createImage in class TLcdBufferedTile
    • createImage

      public Image createImage(ColorModel aColorModel)
      Description copied from interface: ILcdTile
      Creates an image of the entire tile, using the given color model.
      Specified by:
      createImage in interface ILcdTile
      Overrides:
      createImage in class TLcdBufferedTile
      Parameters:
      aColorModel - the color model to be used for the image. The color model should be compatible with the pixel values of the tile.
    • createImage

      public Image createImage(int aX, int aY, int aWidth, int aHeight)
      Description copied from interface: ILcdTile
      Creates an image of the specified rectangular area of the tile, using the tile's own color model.
      Specified by:
      createImage in interface ILcdTile
      Overrides:
      createImage in class TLcdBufferedTile
      Parameters:
      aX - the x ordinate of the area, expressed in tile coordinates.
      aY - the y ordinate of the area, expressed in tile coordinates.
      aWidth - the width of the area, expressed in tile coordinates.
      aHeight - the height of the area, expressed in tile coordinates.
    • createImage

      public Image createImage(int aX, int aY, int aWidth, int aHeight, ColorModel aColorModel)
      Description copied from interface: ILcdTile
      Creates an image of the specified rectangular area of the tile, using the given color model.
      Specified by:
      createImage in interface ILcdTile
      Overrides:
      createImage in class TLcdBufferedTile
      Parameters:
      aX - the x ordinate of the area, expressed in tile coordinates.
      aY - the y ordinate of the area, expressed in tile coordinates.
      aWidth - the width of the area, expressed in tile coordinates.
      aHeight - the height of the area, expressed in tile coordinates.
      aColorModel - the color model to be used for the image. The color model should be compatible with the pixel values of the tile.
    • getWidth

      public int getWidth()
      Description copied from interface: ILcdTile
      Returns the width of the tile, expressed in pixels.
      Specified by:
      getWidth in interface ILcdTile
      Overrides:
      getWidth in class TLcdBufferedTile
    • getHeight

      public int getHeight()
      Description copied from interface: ILcdTile
      Returns the height of the tile, expressed in pixels.
      Specified by:
      getHeight in interface ILcdTile
      Overrides:
      getHeight in class TLcdBufferedTile