QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsRasterRendererWidget Class Reference

#include <qgsrasterrendererwidget.h>

Inheritance diagram for QgsRasterRendererWidget:
Inheritance graph
[legend]

Public Types

enum  LoadMinMaxAlgo { Estimate, Actual, CurrentExtent, CumulativeCut }

Public Member Functions

 QgsRasterRendererWidget (QgsRasterLayer *layer, const QgsRectangle &extent)
virtual ~QgsRasterRendererWidget ()
virtual QgsRasterRendererrenderer ()=0
void setRasterLayer (QgsRasterLayer *layer)
const QgsRasterLayerrasterLayer () 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

QgsRasterLayermRasterLayer
QgsRectangle mExtent
 Current extent.

Member Enumeration Documentation

Enumerator:
Estimate 
Actual 
CurrentExtent 
CumulativeCut 

Constructor & Destructor Documentation

QgsRasterRendererWidget::QgsRasterRendererWidget ( QgsRasterLayer layer,
const QgsRectangle extent 
)
inline
virtual QgsRasterRendererWidget::~QgsRasterRendererWidget ( )
inlinevirtual

Member Function Documentation

QString QgsRasterRendererWidget::displayBandName ( int  band) const
protected

Returns a band name for display.

First choice is color name, otherwise band number

virtual QString QgsRasterRendererWidget::max ( int  index = 0)
inlinevirtual
virtual QString QgsRasterRendererWidget::min ( int  index = 0)
inlinevirtual
const QgsRasterLayer* QgsRasterRendererWidget::rasterLayer ( ) const
inline
virtual QgsRasterRenderer* QgsRasterRendererWidget::renderer ( )
pure virtual
virtual int QgsRasterRendererWidget::selectedBand ( int  index = 0)
inlinevirtual
virtual void QgsRasterRendererWidget::setMax ( QString  value,
int  index = 0 
)
inlinevirtual
virtual void QgsRasterRendererWidget::setMin ( QString  value,
int  index = 0 
)
inlinevirtual
void QgsRasterRendererWidget::setRasterLayer ( QgsRasterLayer layer)
inline
virtual void QgsRasterRendererWidget::setStdDev ( QString  value)
inlinevirtual
virtual QString QgsRasterRendererWidget::stdDev ( )
inlinevirtual

Member Data Documentation

QgsRectangle QgsRasterRendererWidget::mExtent
protected

Current extent.

QgsRasterLayer* QgsRasterRendererWidget::mRasterLayer
protected

The documentation for this class was generated from the following files: