Class: QgsHillshadeFilter¶
-
class
qgis.analysis.
QgsHillshadeFilter
¶ Bases:
QgsDerivativeFilter
A hillshade filter.
Methods
Calculates the first order derivative in x-direction according to Horn (1981)
Calculates the first order derivative in y-direction according to Horn (1981)
- rtype
float
- rtype
float
- rtype
Tuple[float, float, float, float, float, float, float, float, float, float]
- param angle
- param azimuth
-
calcFirstDerX
(self) → Tuple[float, float, float, float, float, float, float, float, float, float]¶ Calculates the first order derivative in x-direction according to Horn (1981)
-
calcFirstDerY
(self) → Tuple[float, float, float, float, float, float, float, float, float, float]¶ Calculates the first order derivative in y-direction according to Horn (1981)
-
lightAngle
(self) → float¶ - Return type
float
-
lightAzimuth
(self) → float¶ - Return type
float
-
processNineCellWindow
(self) → Tuple[float, float, float, float, float, float, float, float, float, float]¶ - Return type
Tuple[float, float, float, float, float, float, float, float, float, float]
-
setLightAngle
(self, angle: float)¶ - Parameters
angle (float) –
-
setLightAzimuth
(self, azimuth: float)¶ - Parameters
azimuth (float) –