QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
QgsRasterCalculator Class Reference

Raster calculator class. More...

#include <qgsrastercalculator.h>

Public Member Functions

 QgsRasterCalculator (const QString &formulaString, const QString &outputFile, const QString &outputFormat, const QgsRectangle &outputExtent, int nOutputColumns, int nOutputRows, const QVector< QgsRasterCalculatorEntry > &rasterEntries)
 ~QgsRasterCalculator ()
int processCalculation (QProgressDialog *p=0)
 Starts the calculation and writes new raster.

Detailed Description

Raster calculator class.

Definition at line 39 of file qgsrastercalculator.h.

Constructor & Destructor Documentation

QgsRasterCalculator::QgsRasterCalculator ( const QString &  formulaString,
const QString &  outputFile,
const QString &  outputFormat,
const QgsRectangle outputExtent,
int  nOutputColumns,
int  nOutputRows,
const QVector< QgsRasterCalculatorEntry > &  rasterEntries 
)

Definition at line 38 of file qgsrastercalculator.cpp.

QgsRasterCalculator::~QgsRasterCalculator ( )

Definition at line 50 of file qgsrastercalculator.cpp.

Member Function Documentation

int QgsRasterCalculator::processCalculation ( QProgressDialog *  p = 0)

Starts the calculation and writes new raster.

Parameters
pprogress bar (or 0 if called from non-gui code)
Returns
0 in case of success

Definition at line 54 of file qgsrastercalculator.cpp.


The documentation for this class was generated from the following files: