Skip to content

Commit 9068fe4

Browse files
committed
More updates for opencl
1 parent 7404263 commit 9068fe4

File tree

13 files changed

+352
-126
lines changed

13 files changed

+352
-126
lines changed

python/analysis/auto_generated/raster/qgsaspectfilter.sip.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Calculates output value from nine input values. The input values and the output
2929
nodata value if not present or outside of the border. Must be implemented by subclasses*
3030
%End
3131

32+
33+
34+
3235
};
3336

3437
/************************************************************************

python/analysis/auto_generated/raster/qgsninecellfilter.sip.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111

1212

13+
1314
class QgsNineCellFilter
1415
{
1516
%Docstring
@@ -34,7 +35,8 @@ Starts the calculation, reads from mInputFile and stores the result in mOutputFi
3435

3536
:param feedback: feedback object that receives update and that is checked for cancelation.
3637

37-
:return: 0 in case of success*
38+
:return: 0 in case of success
39+
TODO: return an enum
3840
%End
3941

4042
double cellSizeX() const;

python/analysis/auto_generated/raster/qgsslopefilter.sip.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Calculates slope values in a window of 3x3 cells based on first order derivative
2828
Calculates output value from nine input values. The input values and the output value can be equal to the
2929
nodata value if not present or outside of the border. Must be implemented by subclasses*
3030
%End
31+
3132
};
3233

3334
/************************************************************************

src/analysis/raster/qgsaspectfilter.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ class ANALYSIS_EXPORT QgsAspectFilter: public QgsDerivativeFilter
3636
float *x12, float *x22, float *x32,
3737
float *x13, float *x23, float *x33 ) override;
3838

39+
40+
41+
42+
// QgsNineCellFilter interface
43+
private:
44+
const QString openClProgramBaseName() const override
45+
{
46+
return QStringLiteral( "aspect" );
47+
}
3948
};
4049

4150
#endif // QGSASPECTFILTER_H

src/analysis/raster/qgshillshadefilter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ class ANALYSIS_EXPORT QgsHillshadeFilter: public QgsDerivativeFilter
4646
private:
4747
float mLightAzimuth;
4848
float mLightAngle;
49+
4950
};
5051

5152
#endif // QGSHILLSHADEFILTER_H

0 commit comments

Comments
 (0)