mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
91 lines
2.2 KiB
Plaintext
91 lines
2.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/analysis/raster/qgsrastercalcnode.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsRasterCalcNode
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsrastercalcnode.h"
|
|
%End
|
|
public:
|
|
enum Type
|
|
{
|
|
tOperator,
|
|
tNumber,
|
|
tRasterRef,
|
|
tMatrix
|
|
};
|
|
|
|
enum Operator
|
|
{
|
|
opPLUS,
|
|
opMINUS,
|
|
opMUL,
|
|
opDIV,
|
|
opPOW,
|
|
opSQRT,
|
|
opSIN,
|
|
opCOS,
|
|
opTAN,
|
|
opASIN,
|
|
opACOS,
|
|
opATAN,
|
|
opEQ,
|
|
opNE,
|
|
opGT,
|
|
opLT,
|
|
opGE,
|
|
opLE,
|
|
opAND,
|
|
opOR,
|
|
opSIGN,
|
|
opLOG,
|
|
opLOG10,
|
|
opNONE,
|
|
};
|
|
|
|
QgsRasterCalcNode();
|
|
QgsRasterCalcNode( double number );
|
|
QgsRasterCalcNode( QgsRasterMatrix *matrix );
|
|
QgsRasterCalcNode( Operator op, QgsRasterCalcNode *left, QgsRasterCalcNode *right );
|
|
QgsRasterCalcNode( const QString &rasterName );
|
|
~QgsRasterCalcNode();
|
|
|
|
|
|
Type type() const;
|
|
%Docstring
|
|
QgsRasterCalcNode cannot be copied
|
|
:rtype: Type
|
|
%End
|
|
|
|
void setLeft( QgsRasterCalcNode *left );
|
|
void setRight( QgsRasterCalcNode *right );
|
|
|
|
|
|
static QgsRasterCalcNode *parseRasterCalcString( const QString &str, QString &parserErrorMsg ) /Factory/;
|
|
%Docstring
|
|
:rtype: QgsRasterCalcNode
|
|
%End
|
|
|
|
private:
|
|
QgsRasterCalcNode( const QgsRasterCalcNode &rh );
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/analysis/raster/qgsrastercalcnode.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|