84 CreateOutputError = 1,
106 QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
107 const QgsRectangle &outputExtent,
int nOutputColumns,
int nOutputRows,
108 const QVector<QgsRasterCalculatorEntry> &rasterEntries,
124 QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
126 int nOutputColumns,
int nOutputRows,
127 const QVector<QgsRasterCalculatorEntry> &rasterEntries,
142 Q_DECL_DEPRECATED
QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
143 const QgsRectangle &outputExtent,
int nOutputColumns,
int nOutputRows,
const QVector<QgsRasterCalculatorEntry> &rasterEntries )
SIP_DEPRECATED;
157 Q_DECL_DEPRECATED
QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
168 Result processCalculation(
QgsFeedback *feedback =
nullptr );
174 QString lastError()
const;
184 GDALDriverH openOutputDriver();
196 void outputGeoTransform(
double *transform )
const;
199 Result processCalculationGPU( std::unique_ptr< QgsRasterCalcNode > calcNode,
QgsFeedback *feedback =
nullptr );
201 QString mFormulaString;
203 QString mOutputFormat;
210 int mNumOutputColumns = 0;
212 int mNumOutputRows = 0;
217 QVector<QgsRasterCalculatorEntry> mRasterEntries;
Represents an individual raster layer/band number entry within a raster calculation.