QGIS/python/core/raster/qgsrasternuller.sip

31 lines
757 B
Plaintext
Raw Normal View History

class QgsRasterNuller : QgsRasterInterface
{
%TypeHeaderCode
#include <qgsrasternuller.h>
%End
public:
QgsRasterNuller( QgsRasterInterface *input = 0 );
~QgsRasterNuller();
struct NoData
{
double min;
double max;
};
virtual QgsRasterNuller *clone() const /Factory/;
int bandCount() const;
Qgis::DataType dataType( int bandNo ) const;
QgsRasterBlock *block( int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback = 0 ) / Factory /;
void setNoData( int bandNo, const QgsRasterRangeList &noData );
2013-04-29 13:27:36 +02:00
QgsRasterRangeList noData( int bandNo ) const;
/** \brief Set output no data value. */
2013-04-29 13:27:36 +02:00
void setOutputNoDataValue( int bandNo, double noData );
};