18 #ifndef QGSRASTERCALCULATOR_H
19 #define QGSRASTERCALCULATOR_H
28 class QProgressDialog;
42 QgsRasterCalculator(
const QString& formulaString,
const QString& outputFile,
const QString& outputFormat,
43 const QgsRectangle& outputExtent,
int nOutputColumns,
int nOutputRows,
const QVector<QgsRasterCalculatorEntry>& rasterEntries );
49 int processCalculation( QProgressDialog* p = 0 );
57 GDALDriverH openOutputDriver();
61 GDALDatasetH openOutputFile( GDALDriverH outputDriver );
74 void readRasterPart(
double* targetGeotransform,
75 int xOffset,
int yOffset,
77 double* sourceTransform,
78 GDALRasterBandH sourceBand,
79 float* rasterBuffer );
82 bool transformationsEqual(
double* t1,
double* t2 )
const;
86 void outputGeoTransform(
double* transform )
const;
103 #endif // QGSRASTERCALCULATOR_H