QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QgsRasterRendererWidget Class Referenceabstract

#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 QString max (int index=0)
 
virtual QString min (int index=0)
 
const QgsRasterLayerrasterLayer () const
 
virtual QgsRasterRendererrenderer ()=0
 
virtual int selectedBand (int index=0)
 
virtual void setMax (QString value, int index=0)
 
virtual void setMin (QString value, int index=0)
 
void setRasterLayer (QgsRasterLayer *layer)
 
virtual void setStdDev (QString value)
 
virtual QString stdDev ()
 

Protected Member Functions

QString displayBandName (int band) const
 Returns a band name for display. More...
 

Protected Attributes

QgsRectangle mExtent
 Current extent. More...
 
QgsRasterLayermRasterLayer
 

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

Returns a band name for display.

First choice is color name, otherwise band number

Definition at line 23 of file qgsrasterrendererwidget.cpp.

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

Definition at line 60 of file qgsrasterrendererwidget.h.


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