18 #ifndef QGSRASTERCALCULATOR_H 19 #define QGSRASTERCALCULATOR_H 26 #include "qgis_analysis.h" 57 CreateOutputError = 1,
74 QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
75 const QgsRectangle &outputExtent,
int nOutputColumns,
int nOutputRows,
const QVector<QgsRasterCalculatorEntry> &rasterEntries );
89 QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
99 int processCalculation(
QgsFeedback *feedback =
nullptr );
108 GDALDriverH openOutputDriver();
118 void outputGeoTransform(
double *transform )
const;
120 QString mFormulaString;
122 QString mOutputFormat;
129 int mNumOutputColumns = 0;
131 int mNumOutputRows = 0;
134 QVector<QgsRasterCalculatorEntry> mRasterEntries;
137 #endif // QGSRASTERCALCULATOR_H
A rectangle specified with double values.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
Base class for feedback objects to be used for cancelation of something running in a worker thread...
std::unique_ptr< void, GDALDatasetCloser > dataset_unique_ptr
Scoped GDAL dataset.
Result
Result of the calculation.
This class represents a coordinate reference system (CRS).