18 #ifndef QGSNINECELLFILTER_H
19 #define QGSNINECELLFILTER_H
24 class QProgressDialog;
34 QgsNineCellFilter(
const QString& inputFile,
const QString& outputFile,
const QString& outputFormat );
39 int processRaster( QProgressDialog* p );
46 double zFactor()
const {
return mZFactor; }
56 virtual float processNineCellWindow(
float* x11,
float* x21,
float* x31,
57 float* x12,
float* x22,
float* x32,
58 float* x13,
float* x23,
float* x33 ) = 0;
65 GDALDatasetH openInputFile(
int& nCellsX,
int& nCellsY );
68 GDALDriverH openOutputDriver();
71 GDALDatasetH openOutputFile( GDALDatasetH inputDataset, GDALDriverH outputDriver );
89 #endif // QGSNINECELLFILTER_H