QGIS API Documentation
2.0.1-Dufour
|
Raster values range container. More...
#include <qgsrasterrange.h>
Public Member Functions | |
QgsRasterRange () | |
Constructor. | |
QgsRasterRange (double theMin, double theMax) | |
Constructor. | |
~QgsRasterRange () | |
double | min () const |
double | max () const |
double | setMin (double theMin) |
double | setMax (double theMax) |
bool | operator== (const QgsRasterRange &o) const |
Static Public Member Functions | |
static bool | contains (double value, const QgsRasterRangeList &rangeList) |
Test if value is within the list of ranges. |
Private Attributes | |
double | mMin |
double | mMax |
Raster values range container.
Represents range of values between min and max including min and max value.
Definition at line 31 of file qgsrasterrange.h.
QgsRasterRange::QgsRasterRange | ( | ) |
Constructor.
Definition at line 22 of file qgsrasterrange.cpp.
QgsRasterRange::QgsRasterRange | ( | double | theMin, |
double | theMax | ||
) |
Constructor.
theMin | minimum value |
theMax | max value |
Definition at line 28 of file qgsrasterrange.cpp.
QgsRasterRange::~QgsRasterRange | ( | ) |
Definition at line 34 of file qgsrasterrange.cpp.
|
static |
Test if value is within the list of ranges.
value | value |
rangeList | list of ranges |
Definition at line 38 of file qgsrasterrange.cpp.
References mMax, mMin, and qgsDoubleNear().
Referenced by QgsRasterBlock::applyNoDataValues(), QgsRasterNuller::block(), and QgsRasterDataProvider::userNoDataValuesContains().
|
inline |
Definition at line 47 of file qgsrasterrange.h.
Referenced by QgsRasterLayer::writeXml().
|
inline |
Definition at line 46 of file qgsrasterrange.h.
Referenced by QgsRasterLayer::writeXml().
|
inline |
Definition at line 52 of file qgsrasterrange.h.
|
inline |
Definition at line 50 of file qgsrasterrange.h.
|
inline |
Definition at line 49 of file qgsrasterrange.h.
|
private |
Definition at line 67 of file qgsrasterrange.h.
Referenced by contains(), and operator==().
|
private |
Definition at line 66 of file qgsrasterrange.h.
Referenced by contains(), and operator==().