19#ifndef QGSRASTERCALCNODE_H
20#define QGSRASTERCALCNODE_H
26#include "qgis_analysis.h"
92 QgsRasterCalcNode( QString functionName, QVector <QgsRasterCalcNode *> functionArgs );
116 bool calculate( QMap<QString, QgsRasterBlock * > &rasterData,
QgsRasterMatrix &result,
int row = -1 ) const
SIP_SKIP;
123 QString toString(
bool cStyle = false ) const;
138 QStringList referencedLayerNames( );
144 QStringList cleanRasterReferences();
157 Type mType = tNumber;
163 Operator mOperator = opNONE;
165 QString mFunctionName;
166 QVector <QgsRasterCalcNode *> mFunctionArgs;
Represents a node in a raster calculator.
void setLeft(QgsRasterCalcNode *left)
Operator
possible operators
QgsRasterCalcNode()=default
Constructor for QgsRasterCalcNode.
QgsRasterCalcNode(const QgsRasterCalcNode &rh)=delete
QgsRasterCalcNode cannot be copied.
QgsRasterCalcNode & operator=(const QgsRasterCalcNode &rh)=delete
QgsRasterCalcNode cannot be copied.
void setRight(QgsRasterCalcNode *right)
Type
defines possible types of node
Represents a matrix in a raster calculator operation.