QGIS API Documentation  2.6.0-Brighton
 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.

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 
QgsRasterCalculator::~QgsRasterCalculator ( )

Member Function Documentation

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

Starts the calculation and writes new raster.

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

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