16#ifndef QGSELEVATIONSHADINGRENDERER_H
17#define QGSELEVATIONSHADINGRENDERER_H
59 void setActive(
bool active );
62 bool isActive()
const;
65 void setActiveEyeDomeLighting(
bool active );
68 bool isActiveEyeDomeLighting()
const;
75 double eyeDomeLightingStrength()
const;
82 void setEyeDomeLightingStrength(
double strength );
90 double eyeDomeLightingDistance()
const;
98 void setEyeDomeLightingDistance(
double distance );
115 void setActiveHillshading(
bool active );
118 bool isActiveHillshading()
const;
125 double hillshadingZFactor()
const;
132 void setHillshadingZFactor(
double zFactor );
139 bool isHillshadingMultidirectional()
const;
146 void setHillshadingMultidirectional(
bool multiDirectional );
153 double lightAltitude()
const;
160 void setLightAltitude(
double lightAltitude );
167 double lightAzimuth()
const;
174 void setLightAzimuth(
double lightAzimuth );
197 bool mIsActive =
false;
201 bool mRenderEdl =
true;
202 double mEyeDomeLightingStrength = 1000.0;
203 double mEyeDomeLightingDistance = 0.5;
204 Qgis::RenderUnit mEyeDomeLightingDistanceUnit = Qgis::RenderUnit::Millimeters;
206 bool mRenderHillshading =
false;
207 double mLightAltitude = 45.0;
208 double mLightAzimuth = 315.0;
209 double mHillshadingZFactor = 1.0;
210 bool mHillshadingMultiDir =
false;
ElevationMapCombineMethod
Methods used to select the elevation when two elevation maps are combined.
@ HighestElevation
Keep the highest elevation if it is not null.
RenderUnit
Rendering size units.
Stores digital elevation model in a raster image which may get updated as a part of map layer renderi...
This class can render elevation shading on an image with different methods (eye dome lighting,...
The QgsMapSettings class contains configuration for rendering of the map.
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.