mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
31 lines
756 B
Plaintext
31 lines
756 B
Plaintext
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 );
|
|
|
|
QgsRasterRangeList noData( int bandNo ) const;
|
|
|
|
/** \brief Set output no data value. */
|
|
void setOutputNoDataValue( int bandNo, double noData );
|
|
};
|