|
QGIS API Documentation
2.8.2-Wien
|
#include <qgsrastercalcnode.h>
Public Types | |
| enum | Operator { opPLUS, opMINUS, opMUL, opDIV, opPOW, opSQRT, opSIN, opCOS, opTAN, opASIN, opACOS, opATAN, opEQ, opNE, opGT, opLT, opGE, opLE, opAND, opOR, opSIGN, opNONE } |
| possible operators More... | |
| enum | Type { tOperator = 1, tNumber, tRasterRef } |
| defines possible types of node More... | |
Public Member Functions | |
| QgsRasterCalcNode () | |
| QgsRasterCalcNode (double number) | |
| QgsRasterCalcNode (Operator op, QgsRasterCalcNode *left, QgsRasterCalcNode *right) | |
| QgsRasterCalcNode (const QString &rasterName) | |
| ~QgsRasterCalcNode () | |
| bool | calculate (QMap< QString, QgsRasterMatrix * > &rasterData, QgsRasterMatrix &result) const |
| Calculates result (might be real matrix or single number) | |
| void | setLeft (QgsRasterCalcNode *left) |
| void | setRight (QgsRasterCalcNode *right) |
| Type | type () const |
Static Public Member Functions | |
| static QgsRasterCalcNode * | parseRasterCalcString (const QString &str, QString &parserErrorMsg) |
Definition at line 26 of file qgsrastercalcnode.h.
possible operators
| opPLUS | |
| opMINUS | |
| opMUL | |
| opDIV | |
| opPOW | |
| opSQRT | |
| opSIN | |
| opCOS | |
| opTAN | |
| opASIN | |
| opACOS | |
| opATAN | |
| opEQ | |
| opNE | |
| opGT |
= |
| opLT | |
| opGE | |
| opLE | |
| opAND | |
| opOR | |
| opSIGN | |
| opNONE |
Definition at line 38 of file qgsrastercalcnode.h.
defines possible types of node
Definition at line 30 of file qgsrastercalcnode.h.
| QgsRasterCalcNode::QgsRasterCalcNode | ( | ) |
Definition at line 18 of file qgsrastercalcnode.cpp.
| QgsRasterCalcNode::QgsRasterCalcNode | ( | double | number | ) |
Definition at line 27 of file qgsrastercalcnode.cpp.
| QgsRasterCalcNode::QgsRasterCalcNode | ( | Operator | op, |
| QgsRasterCalcNode * | left, | ||
| QgsRasterCalcNode * | right | ||
| ) |
Definition at line 36 of file qgsrastercalcnode.cpp.
| QgsRasterCalcNode::QgsRasterCalcNode | ( | const QString & | rasterName | ) |
Definition at line 45 of file qgsrastercalcnode.cpp.
| QgsRasterCalcNode::~QgsRasterCalcNode | ( | ) |
Definition at line 57 of file qgsrastercalcnode.cpp.
| bool QgsRasterCalcNode::calculate | ( | QMap< QString, QgsRasterMatrix * > & | rasterData, |
| QgsRasterMatrix & | result | ||
| ) | const |
Calculates result (might be real matrix or single number)
Definition at line 69 of file qgsrastercalcnode.cpp.
|
static |
Definition at line 184 of file qgsrastercalcnode.cpp.
|
inline |
Definition at line 73 of file qgsrastercalcnode.h.
|
inline |
Definition at line 74 of file qgsrastercalcnode.h.
|
inline |
Definition at line 70 of file qgsrastercalcnode.h.
1.8.1.2