QGIS API Documentation  2.2.0-Valmiera
 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]
Collaboration diagram for QgsRasterRendererWidget:
Collaboration 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.

Detailed Description

Definition at line 28 of file qgsrasterrendererwidget.h.

Member Enumeration Documentation

Enumerator:
Estimate 
Actual 
CurrentExtent 
CumulativeCut 

Definition at line 38 of file qgsrasterrendererwidget.h.

Constructor & Destructor Documentation

QgsRasterRendererWidget::QgsRasterRendererWidget ( QgsRasterLayer layer,
const QgsRectangle extent 
)
inline

Definition at line 31 of file qgsrasterrendererwidget.h.

virtual QgsRasterRendererWidget::~QgsRasterRendererWidget ( )
inlinevirtual

Definition at line 36 of file qgsrasterrendererwidget.h.

Member Function Documentation

QString QgsRasterRendererWidget::displayBandName ( int  band) const
protected
virtual QString QgsRasterRendererWidget::max ( int  index = 0)
inlinevirtual
virtual QString QgsRasterRendererWidget::min ( int  index = 0)
inlinevirtual
const QgsRasterLayer* QgsRasterRendererWidget::rasterLayer ( ) const
inline

Definition at line 49 of file qgsrasterrendererwidget.h.

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

Definition at line 48 of file qgsrasterrendererwidget.h.

virtual void QgsRasterRendererWidget::setStdDev ( QString  value)
inlinevirtual

Definition at line 56 of file qgsrasterrendererwidget.h.

virtual QString QgsRasterRendererWidget::stdDev ( )
inlinevirtual

Definition at line 55 of file qgsrasterrendererwidget.h.

Member Data Documentation

QgsRectangle QgsRasterRendererWidget::mExtent
protected

Current extent.

Definition at line 65 of file qgsrasterrendererwidget.h.

QgsRasterLayer* QgsRasterRendererWidget::mRasterLayer
protected

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