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

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 37 of file qgsrastercalculator.cpp.

QgsRasterCalculator::~QgsRasterCalculator ( )

Definition at line 43 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 47 of file qgsrastercalculator.cpp.


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