public class DTEDSlopeGenerator extends SlopeGenerator
Modifier and Type | Field and Description |
---|---|
protected float |
generatedScale
The scale at which the cached raster was generated.
|
protected OMRaster |
raster
The cached OMScalingRaster, which can be reused instead of
regenerated in some projection circumstances.
|
colors, contrast, incomplete
Constructor and Description |
---|
DTEDSlopeGenerator() |
DTEDSlopeGenerator(ElevationColors elevColors) |
Modifier and Type | Method and Description |
---|---|
OMGraphic |
generate(OMGrid grid,
Projection proj)
Called from the OMGrid.generate() method to tell the generator
to create something to represent the grid contents.
|
protected OMRaster |
getRaster(OMGrid grid)
Called from within generate to create an OMRaster object for
the OMGrid.
|
generateRasterForProjection, getColors, getContrast, getSlopeRun, isIncompleteImage, needGenerateToRender, setColors, setContrast
protected OMRaster raster
protected float generatedScale
public DTEDSlopeGenerator()
public DTEDSlopeGenerator(ElevationColors elevColors)
protected OMRaster getRaster(OMGrid grid)
getRaster
in class SlopeGenerator
public OMGraphic generate(OMGrid grid, Projection proj)
generate
in interface OMGridGenerator
generate
in class SlopeGenerator
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details