2017-06-02 23:35:10 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterrange.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-10 18:58:19 +02:00
|
|
|
typedef QList<QgsRasterRange> QgsRasterRangeList;
|
|
|
|
|
|
|
|
class QgsRasterRange
|
|
|
|
{
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
Raster values range container. Represents range of values between min and max
|
|
|
|
including min and max value.
|
2013-04-10 18:58:19 +02:00
|
|
|
%End
|
|
|
|
|
2017-06-02 23:35:10 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsrasterrange.h"
|
|
|
|
%End
|
2013-04-10 18:58:19 +02:00
|
|
|
public:
|
2017-06-02 23:35:10 +02:00
|
|
|
|
2013-04-10 18:58:19 +02:00
|
|
|
QgsRasterRange();
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor.
|
|
|
|
%End
|
2013-09-17 12:33:57 +02:00
|
|
|
|
2017-02-21 18:14:58 +01:00
|
|
|
QgsRasterRange( double min, double max );
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
Constructor
|
|
|
|
\param min minimum value
|
|
|
|
\param max max value
|
|
|
|
%End
|
2013-09-17 12:33:57 +02:00
|
|
|
|
2013-04-10 18:58:19 +02:00
|
|
|
double min() const;
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: float
|
|
|
|
%End
|
2013-04-10 18:58:19 +02:00
|
|
|
double max() const;
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: float
|
|
|
|
%End
|
2013-09-17 12:33:57 +02:00
|
|
|
|
2017-02-21 18:14:58 +01:00
|
|
|
double setMin( double min );
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: float
|
|
|
|
%End
|
2017-02-21 18:14:58 +01:00
|
|
|
double setMax( double max );
|
2017-06-02 23:35:10 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: float
|
|
|
|
%End
|
2013-09-17 12:33:57 +02:00
|
|
|
|
2016-02-02 19:46:18 +11:00
|
|
|
bool operator==( QgsRasterRange o ) const;
|
2013-04-10 18:58:19 +02:00
|
|
|
|
2017-06-02 23:35:10 +02:00
|
|
|
|
2013-04-10 18:58:19 +02:00
|
|
|
};
|
2017-06-02 23:35:10 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterrange.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|