QGIS/python/core/raster/qgsrasterhistogram.sip

95 lines
2.3 KiB
Plaintext
Raw Normal View History

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 *
************************************************************************/
class QgsRasterHistogram
{
2017-06-01 15:39:31 +02:00
%Docstring
The QgsRasterHistogram is a container for histogram of a single raster band.
It is used to cache computed histograms in raster providers.
%End
%TypeHeaderCode
2017-06-01 15:39:31 +02:00
#include "qgsrasterhistogram.h"
%End
public:
2016-11-29 15:44:34 +01:00
typedef QVector<int> HistogramVector;
QgsRasterHistogram();
bool operator==( const QgsRasterHistogram &h ) const;
int bandNumber;
2017-06-01 15:39:31 +02:00
%Docstring
The gdal band number (starts at 1)
%End
int binCount;
2017-06-01 15:39:31 +02:00
%Docstring
Number of bins (intervals,buckets) in histogram.
%End
int nonNullCount;
2017-06-01 15:39:31 +02:00
%Docstring
The number of non NULL cells used to calculate histogram.
%End
bool includeOutOfRange;
2017-06-01 15:39:31 +02:00
%Docstring
Whether histogram includes out of range values (in first and last bin)
%End
2016-11-29 15:44:34 +01:00
HistogramVector histogramVector;
2017-06-01 15:39:31 +02:00
%Docstring
Store the histogram for a given layer
.. note::
not available via Python binding
%End
double maximum;
2017-06-01 15:39:31 +02:00
%Docstring
The maximum histogram value.
%End
double minimum;
2017-06-01 15:39:31 +02:00
%Docstring
The minimum histogram value.
%End
int width;
2017-06-01 15:39:31 +02:00
%Docstring
Number of columns used to calc histogram
%End
int height;
2017-06-01 15:39:31 +02:00
%Docstring
Number of rows used to calc histogram
%End
QgsRectangle extent;
2017-06-01 15:39:31 +02:00
%Docstring
Extent used to calc histogram
%End
bool valid;
2017-06-01 15:39:31 +02:00
%Docstring
Histogram is valid
%End
};
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 *
************************************************************************/