18 #ifndef QGSNINECELLFILTER_H 19 #define QGSNINECELLFILTER_H 23 #include "qgis_analysis.h" 37 QgsNineCellFilter(
const QString &inputFile,
const QString &outputFile,
const QString &outputFormat );
44 int processRaster(
QgsFeedback *feedback =
nullptr );
51 double zFactor()
const {
return mZFactor; }
62 virtual float processNineCellWindow(
float *x11,
float *x21,
float *x31,
63 float *x12,
float *x22,
float *x32,
64 float *x13,
float *x23,
float *x33 ) = 0;
76 GDALDriverH openOutputDriver();
89 double mCellSizeX = -1.0;
90 double mCellSizeY = -1.0;
92 float mInputNodataValue = -1.0;
94 float mOutputNodataValue = -1.0;
96 double mZFactor = 1.0;
99 #endif // QGSNINECELLFILTER_H void setZFactor(double factor)
void setCellSizeY(double size)
Base class for feedback objects to be used for cancelation of something running in a worker thread...
void setInputNodataValue(double value)
double inputNodataValue() const
void setCellSizeX(double size)
double outputNodataValue() const
void setOutputNodataValue(double value)
std::unique_ptr< std::remove_pointer< GDALDatasetH >::type, GDALDatasetCloser > dataset_unique_ptr
Scoped GDAL dataset.
Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of ea...