public class TLcdHypsometricTileFactory extends Object implements ILcdHypsometricTileFactory
Constructor and Description |
---|
TLcdHypsometricTileFactory(ILcdHypsometricValueProvider aHypsometricValueProvider,
int aMinimumValue,
int aMaximumValue,
int aUnknownValue,
ColorModel aHypsometricColorModel,
ILcdBuffer aBuffer)
Creates a new TLcdHypsometricTileFactory.
|
Modifier and Type | Method and Description |
---|---|
ILcdTile |
createHypsometricTile(ILcdRaster aRaster,
int aTileRow,
int aTileColumn,
double aElevationScale)
Creates a hypsometric version of the specified tile.
|
ColorModel |
getHypsometricColorModel()
Returns the color model that is attached to hypsometric tiles.
|
ILcdHypsometricValueProvider |
getHypsometricValueProvider()
Returns the hypsometric value provider.
|
int |
getMaximumValue()
Returns the tile value that corresponds to the maximum hypsometric value
of the value provider.
|
int |
getMinimumValue()
Returns the tile value that corresponds to the minimum hypsometric value
of the value provider.
|
int |
getUnknownValue()
Returns the tile value that corresponds to the unknown hypsometric value
(NaN) of the value provider.
|
public TLcdHypsometricTileFactory(ILcdHypsometricValueProvider aHypsometricValueProvider, int aMinimumValue, int aMaximumValue, int aUnknownValue, ColorModel aHypsometricColorModel, ILcdBuffer aBuffer)
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.public ILcdHypsometricValueProvider getHypsometricValueProvider()
public int getMinimumValue()
public int getMaximumValue()
public int getUnknownValue()
public ColorModel getHypsometricColorModel()
public ILcdTile createHypsometricTile(ILcdRaster aRaster, int aTileRow, int aTileColumn, double aElevationScale)
ILcdHypsometricTileFactory
createHypsometricTile
in interface ILcdHypsometricTileFactory
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.