QGIS/python/core/raster/qgsrasternuller.sip.in

61 lines
1.8 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;
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 *
************************************************************************/