QGIS API Documentation
2.2.0-Valmiera
|
#include <qgsrasterrendererwidget.h>
Public Types | |
enum | LoadMinMaxAlgo { Estimate, Actual, CurrentExtent, CumulativeCut } |
Public Member Functions | |
QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent) | |
virtual | ~QgsRasterRendererWidget () |
virtual QgsRasterRenderer * | renderer ()=0 |
void | setRasterLayer (QgsRasterLayer *layer) |
const QgsRasterLayer * | rasterLayer () const |
virtual QString | min (int index=0) |
virtual QString | max (int index=0) |
virtual void | setMin (QString value, int index=0) |
virtual void | setMax (QString value, int index=0) |
virtual QString | stdDev () |
virtual void | setStdDev (QString value) |
virtual int | selectedBand (int index=0) |
Protected Member Functions | |
QString | displayBandName (int band) const |
Returns a band name for display. |
Protected Attributes | |
QgsRasterLayer * | mRasterLayer |
QgsRectangle | mExtent |
Current extent. |
Definition at line 28 of file qgsrasterrendererwidget.h.
Definition at line 38 of file qgsrasterrendererwidget.h.
|
inline |
Definition at line 31 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Definition at line 36 of file qgsrasterrendererwidget.h.
|
protected |
Returns a band name for display.
First choice is color name, otherwise band number
Definition at line 23 of file qgsrasterrendererwidget.cpp.
References QgsRasterDataProvider::colorInterpretationName(), QgsRasterLayer::dataProvider(), QgsRasterInterface::generateBandName(), and mRasterLayer.
Referenced by QgsMultiBandColorRendererWidget::QgsMultiBandColorRendererWidget(), QgsPalettedRendererWidget::QgsPalettedRendererWidget(), QgsSingleBandGrayRendererWidget::QgsSingleBandGrayRendererWidget(), and QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget().
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 52 of file qgsrasterrendererwidget.h.
References index.
Referenced by QgsSingleBandPseudoColorRendererWidget::on_mClassifyButton_clicked(), QgsRasterHistogramWidget::rendererMinMax(), and QgsSingleBandPseudoColorRendererWidget::resetClassifyButton().
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 51 of file qgsrasterrendererwidget.h.
References index.
Referenced by QgsSingleBandPseudoColorRendererWidget::on_mClassifyButton_clicked(), QgsRasterHistogramWidget::rendererMinMax(), and QgsSingleBandPseudoColorRendererWidget::resetClassifyButton().
|
inline |
Definition at line 49 of file qgsrasterrendererwidget.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 57 of file qgsrasterrendererwidget.h.
References index.
Referenced by QgsRasterHistogramWidget::applyHistoMax(), QgsRasterHistogramWidget::applyHistoMin(), QgsRasterHistogramWidget::rendererMinMax(), and QgsRasterHistogramWidget::rendererSelectedBands().
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 54 of file qgsrasterrendererwidget.h.
References index.
Referenced by QgsRasterHistogramWidget::applyHistoMax().
|
inlinevirtual |
Reimplemented in QgsMultiBandColorRendererWidget, and QgsSingleBandGrayRendererWidget.
Definition at line 53 of file qgsrasterrendererwidget.h.
References index.
Referenced by QgsRasterHistogramWidget::applyHistoMin().
|
inline |
Definition at line 48 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Definition at line 56 of file qgsrasterrendererwidget.h.
|
inlinevirtual |
Definition at line 55 of file qgsrasterrendererwidget.h.
|
protected |
Current extent.
Definition at line 65 of file qgsrasterrendererwidget.h.
|
protected |
Definition at line 60 of file qgsrasterrendererwidget.h.
Referenced by displayBandName(), QgsSingleBandPseudoColorRendererWidget::on_mClassifyButton_clicked(), QgsSingleBandPseudoColorRendererWidget::on_mLoadFromBandButton_clicked(), QgsMultiBandColorRendererWidget::QgsMultiBandColorRendererWidget(), QgsPalettedRendererWidget::QgsPalettedRendererWidget(), QgsSingleBandGrayRendererWidget::QgsSingleBandGrayRendererWidget(), QgsSingleBandPseudoColorRendererWidget::QgsSingleBandPseudoColorRendererWidget(), QgsSingleBandGrayRendererWidget::renderer(), QgsPalettedRendererWidget::renderer(), QgsMultiBandColorRendererWidget::renderer(), QgsSingleBandPseudoColorRendererWidget::renderer(), and QgsPalettedRendererWidget::setFromRenderer().