Class TLcdHypsometricTileFactory

java.lang.Object
com.luciad.tea.hypsometry.TLcdHypsometricTileFactory
All Implemented Interfaces:
ILcdHypsometricTileFactory

public class TLcdHypsometricTileFactory extends Object implements ILcdHypsometricTileFactory
This ILcdHypsometricTileFactory creates hypsometric tiles based on the given hypsometric value provider.
  • Constructor Details

    • TLcdHypsometricTileFactory

      public TLcdHypsometricTileFactory(ILcdHypsometricValueProvider aHypsometricValueProvider, int aMinimumValue, int aMaximumValue, int aUnknownValue, ColorModel aHypsometricColorModel, ILcdBuffer aBuffer)
      Creates a new TLcdHypsometricTileFactory.
      Parameters:
      aHypsometricValueProvider - the value provider that will compute hypsometric values based on elevations.
      aMinimumValue - the tile value that will correspond to the minimum hypsometric value of the value provider.
      aMaximumValue - the tile value that will correspond to the maximum hypsometric value of the value provider.
      aUnknownValue - the tile value that will correspond to the unknown hypsometric value (NaN) of the value provider.
      aHypsometricColorModel - the color model to be attached to the hypsometric tiles.
      aBuffer - the buffer in which hypsometric tiles can be cached.
  • Method Details

    • getHypsometricValueProvider

      public ILcdHypsometricValueProvider getHypsometricValueProvider()
      Returns the hypsometric value provider.
      Returns:
      the hypsometric value provider.
    • getMinimumValue

      public int getMinimumValue()
      Returns the tile value that corresponds to the minimum hypsometric value of the value provider.
      Returns:
      the minimum hypsometric value.
    • getMaximumValue

      public int getMaximumValue()
      Returns the tile value that corresponds to the maximum hypsometric value of the value provider.
      Returns:
      the maximum hypsometric value.
    • getUnknownValue

      public int getUnknownValue()
      Returns the tile value that corresponds to the unknown hypsometric value (NaN) of the value provider.
      Returns:
      the unknown hypsometric value.
    • getHypsometricColorModel

      public ColorModel getHypsometricColorModel()
      Returns the color model that is attached to hypsometric tiles.
    • createHypsometricTile

      public ILcdTile createHypsometricTile(ILcdRaster aRaster, int aTileRow, int aTileColumn, double aElevationScale)
      Description copied from interface: ILcdHypsometricTileFactory
      Creates a hypsometric version of the specified tile.
      Specified by:
      createHypsometricTile in interface ILcdHypsometricTileFactory
      Parameters:
      aRaster - the elevation raster.
      aTileRow - the tile row in the elevation raster.
      aTileColumn - the tile row in the elevation raster.
      aElevationScale - the scale factor to go from the tile's elevation values to ordinates in a uniform cartesian space.
      Returns:
      the hypsometric tile.