-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
qgsrastercalcnode.sip.in
90 lines (73 loc) · 2.21 KB
/
qgsrastercalcnode.sip.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/************************************************************************
* 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();
%Docstring
Constructor for QgsRasterCalcNode.
%End
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
%End
void setLeft( QgsRasterCalcNode *left );
void setRight( QgsRasterCalcNode *right );
static QgsRasterCalcNode *parseRasterCalcString( const QString &str, QString &parserErrorMsg ) /Factory/;
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 *
************************************************************************/