#include <qgsrastermatrix.h>
Public Types |
| enum | TwoArgOperator {
opPLUS,
opMINUS,
opMUL,
opDIV,
opPOW,
opEQ,
opNE,
opGT,
opLT,
opGE,
opLE,
opAND,
opOR
} |
| enum | OneArgOperator {
opSQRT,
opSIN,
opCOS,
opTAN,
opASIN,
opACOS,
opATAN,
opSIGN
} |
Member Enumeration Documentation
- Enumerator:
| opSQRT |
|
| opSIN |
|
| opCOS |
|
| opTAN |
|
| opASIN |
|
| opACOS |
|
| opATAN |
|
| opSIGN |
|
- Enumerator:
| opPLUS |
|
| opMINUS |
|
| opMUL |
|
| opDIV |
|
| opPOW |
|
| opEQ |
|
| opNE |
|
| opGT |
|
| opLT |
|
| opGE |
|
| opLE |
|
| opAND |
|
| opOR |
|
Constructor & Destructor Documentation
| QgsRasterMatrix::QgsRasterMatrix |
( |
| ) |
|
Takes ownership of data array.
| QgsRasterMatrix::QgsRasterMatrix |
( |
int |
nCols, |
|
|
int |
nRows, |
|
|
float * |
data, |
|
|
double |
nodataValue |
|
) |
| |
- Note
- note available in python bindings
| QgsRasterMatrix::~QgsRasterMatrix |
( |
| ) |
|
Member Function Documentation
| bool QgsRasterMatrix::acosinus |
( |
| ) |
|
Adds another matrix to this one.
| bool QgsRasterMatrix::asinus |
( |
| ) |
|
| bool QgsRasterMatrix::atangens |
( |
| ) |
|
| bool QgsRasterMatrix::changeSign |
( |
| ) |
|
| bool QgsRasterMatrix::cosinus |
( |
| ) |
|
| float* QgsRasterMatrix::data |
( |
| ) |
|
|
inline |
Returns data array (but not ownership)
- Note
- not available in python bindings
| bool QgsRasterMatrix::isNumber |
( |
| ) |
const |
|
inline |
Returns true if matrix is 1x1 (=scalar number)
| int QgsRasterMatrix::nColumns |
( |
| ) |
const |
|
inline |
| double QgsRasterMatrix::nodataValue |
( |
| ) |
const |
|
inline |
| int QgsRasterMatrix::nRows |
( |
| ) |
const |
|
inline |
| double QgsRasterMatrix::number |
( |
| ) |
const |
|
inline |
| void QgsRasterMatrix::setData |
( |
int |
cols, |
|
|
int |
rows, |
|
|
float * |
data, |
|
|
double |
nodataValue |
|
) |
| |
| void QgsRasterMatrix::setNodataValue |
( |
double |
d | ) |
|
|
inline |
| bool QgsRasterMatrix::sinus |
( |
| ) |
|
| bool QgsRasterMatrix::squareRoot |
( |
| ) |
|
Subtracts another matrix from this one.
| float * QgsRasterMatrix::takeData |
( |
| ) |
|
Returns data and ownership.
Sets data and nrows, ncols of this matrix to 0
- Note
- not available in python bindings
| bool QgsRasterMatrix::tangens |
( |
| ) |
|
The documentation for this class was generated from the following files: