QGIS/python/gui/raster/qgssinglebandpseudocolorrendererwidget.sip
2017-05-01 20:00:51 +02:00

29 lines
767 B
Plaintext

class QgsSingleBandPseudoColorRendererWidget : QgsRasterRendererWidget
{
%TypeHeaderCode
#include <qgssinglebandpseudocolorrendererwidget.h>
%End
public:
QgsSingleBandPseudoColorRendererWidget( QgsRasterLayer *layer, const QgsRectangle &extent = QgsRectangle() );
~QgsSingleBandPseudoColorRendererWidget();
static QgsRasterRendererWidget *create( QgsRasterLayer *layer, const QgsRectangle &extent ) /Factory/;
QgsRasterRenderer *renderer();
void setMapCanvas( QgsMapCanvas *canvas );
void setFromRenderer( const QgsRasterRenderer *r );
void doComputations();
public slots:
/** Executes the single band pseudo raster classficiation
*/
void classify();
void loadMinMax( int bandNo, double min, double max );
};