16#ifndef QGSELEVATIONMAP_H
17#define QGSELEVATIONMAP_H
63 void applyEyeDomeLighting( QImage &img,
int distance,
float strength,
float rendererScale );
69 QPainter *
painter()
const {
return mPainter.get(); }
72 static QRgb encodeElevation(
float z );
74 static float decodeElevation( QRgb colorRaw );
87 QImage mElevationImage;
88 std::unique_ptr<QPainter> mPainter;
Stores digital elevation model in a raster image which may get updated as a part of map layer renderi...
QPainter * painter() const
Returns painter to the underlying QImage with elevations.
QImage rawElevationImage() const
Returns raw elevation image with elevations encoded as color values.