QGIS/python/core/raster/qgsrasternuller.sip
2017-06-02 13:27:15 +02:00

64 lines
1.9 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasternuller.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsRasterNuller : QgsRasterInterface
{
%Docstring
Raster pipe that deals with null values.
%End
%TypeHeaderCode
#include "qgsrasternuller.h"
%End
public:
QgsRasterNuller( QgsRasterInterface *input = 0 );
struct NoData
{
double min;
double max;
};
virtual QgsRasterNuller *clone() const /Factory/;
virtual int bandCount() const;
virtual Qgis::DataType dataType( int bandNo ) const;
virtual QgsRasterBlock *block( int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback = 0 ) /Factory/;
void setNoData( int bandNo, const QgsRasterRangeList &noData );
QgsRasterRangeList noData( int bandNo ) const;
%Docstring
:rtype: QgsRasterRangeList
%End
void setOutputNoDataValue( int bandNo, double noData );
%Docstring
Set output no data value.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasternuller.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/