2017-06-01 15:39:31 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterhistogram.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class QgsRasterHistogram
|
|
|
|
{
|
2017-06-01 15:39:31 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
The QgsRasterHistogram is a container for histogram of a single raster band.
|
|
|
|
It is used to cache computed histograms in raster providers.
|
2017-06-01 15:39:31 +02:00
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-01 15:39:31 +02:00
|
|
|
#include "qgsrasterhistogram.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
2016-11-29 15:44:34 +01:00
|
|
|
typedef QVector<int> HistogramVector;
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
QgsRasterHistogram();
|
|
|
|
|
|
|
|
bool operator==( const QgsRasterHistogram &h ) const;
|
|
|
|
|
|
|
|
int bandNumber;
|
|
|
|
|
|
|
|
int binCount;
|
|
|
|
|
|
|
|
int nonNullCount;
|
|
|
|
|
|
|
|
bool includeOutOfRange;
|
|
|
|
|
2017-08-02 16:07:48 +02:00
|
|
|
QgsRasterHistogram::HistogramVector histogramVector;
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
double maximum;
|
|
|
|
|
|
|
|
double minimum;
|
|
|
|
|
|
|
|
int width;
|
|
|
|
|
|
|
|
int height;
|
|
|
|
|
|
|
|
QgsRectangle extent;
|
|
|
|
|
|
|
|
bool valid;
|
|
|
|
};
|
2017-06-01 15:39:31 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterhistogram.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|