QGIS/python/core/auto_generated/raster/qgsrasterbandstats.sip.in

78 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-06-01 15:39:31 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterbandstats.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRasterBandStats
{
2017-06-01 15:39:31 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
The RasterBandStats struct is a container for statistics about a single
raster band.
%End
2017-06-01 15:39:31 +02:00
%TypeHeaderCode
#include "qgsrasterbandstats.h"
%End
public:
enum Stats
{
2014-05-27 23:22:50 +02:00
None,
Min,
Max,
Range,
Sum,
Mean,
StdDev,
SumOfSquares,
All
};
QgsRasterBandStats();
bool contains( const QgsRasterBandStats &s ) const;
2017-06-01 15:39:31 +02:00
%Docstring
Compares region, size etc. not collected statistics
%End
int bandNumber;
qgssize elementCount;
double maximumValue;
double minimumValue;
double mean;
double range;
double stdDev;
int statsGathered;
double sum;
double sumOfSquares;
int width;
int height;
QgsRectangle extent;
};
2017-06-01 15:39:31 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterbandstats.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/