mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
31 lines
686 B
Plaintext
31 lines
686 B
Plaintext
|
class QgsRasterNuller : QgsRasterInterface
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsrasternuller.h>
|
||
|
%End
|
||
|
public:
|
||
|
QgsRasterNuller( QgsRasterInterface* input = 0 );
|
||
|
~QgsRasterNuller();
|
||
|
|
||
|
struct NoData
|
||
|
{
|
||
|
double min;
|
||
|
double max;
|
||
|
};
|
||
|
|
||
|
QgsRasterInterface * clone() const /Factory/;
|
||
|
|
||
|
int bandCount() const;
|
||
|
|
||
|
QgsRasterInterface::DataType dataType( int bandNo ) const;
|
||
|
|
||
|
void *readBlock( int bandNo, const QgsRectangle &extent, int width, int height );
|
||
|
|
||
|
void setNoData( QList<QgsRasterNuller::NoData> noData );
|
||
|
|
||
|
QList<QgsRasterNuller::NoData> noData() const;
|
||
|
|
||
|
/** \brief Set output no data value. */
|
||
|
void setOutputNoData( double noData );
|
||
|
};
|