18 #ifndef QGSHILLSHADEFILTER_H 
   19 #define QGSHILLSHADEFILTER_H 
   22 #include "qgis_analysis.h" 
   32     QgsHillshadeFilter( 
const QString &inputFile, 
const QString &outputFile, 
const QString &outputFormat, 
double lightAzimuth = 300,
 
   33                         double lightAngle = 40 );
 
   36                                  float *x12, 
float *x22, 
float *x32,
 
   37                                  float *x13, 
float *x23, 
float *x33 ) 
override;
 
   40     void setLightAzimuth( 
float azimuth );
 
   42     void setLightAngle( 
float angle );
 
   48     const QString openClProgramBaseName()
 const override 
   50       return QStringLiteral( 
"hillshade" );
 
   65     void addExtraRasterParams( std::vector<float> ¶ms ) 
override;
 
Adds the ability to calculate derivatives in x- and y-directions.
float processNineCellWindow(float *x11, float *x21, float *x31, float *x12, float *x22, float *x32, float *x13, float *x23, float *x33) override=0
Calculates output value from nine input values.
float lightAzimuth() const
double ANALYSIS_EXPORT angle(QgsPoint *p1, QgsPoint *p2, QgsPoint *p3, QgsPoint *p4)
Calculates the angle between two segments (in 2 dimension, z-values are ignored)