QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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. More...
 

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.

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

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