85 CreateOutputError = 1,
107 QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
108 const QgsRectangle &outputExtent,
int nOutputColumns,
int nOutputRows,
109 const QVector<QgsRasterCalculatorEntry> &rasterEntries,
125 QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
127 int nOutputColumns,
int nOutputRows,
128 const QVector<QgsRasterCalculatorEntry> &rasterEntries,
143 Q_DECL_DEPRECATED
QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
144 const QgsRectangle &outputExtent,
int nOutputColumns,
int nOutputRows,
const QVector<QgsRasterCalculatorEntry> &rasterEntries )
SIP_DEPRECATED;
159 Q_DECL_DEPRECATED
QgsRasterCalculator(
const QString &formulaString,
const QString &outputFile,
const QString &outputFormat,
170 Result processCalculation(
QgsFeedback *feedback =
nullptr );
176 QString lastError()
const;
186 GDALDriverH openOutputDriver();
198 void outputGeoTransform(
double *transform )
const;
201 Result processCalculationGPU( std::unique_ptr< QgsRasterCalcNode > calcNode,
QgsFeedback *feedback =
nullptr );
203 QString mFormulaString;
205 QString mOutputFormat;
212 int mNumOutputColumns = 0;
214 int mNumOutputRows = 0;
219 QVector<QgsRasterCalculatorEntry> mRasterEntries;
Represents an individual raster layer/band number entry within a raster calculation.