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

Registry for raster renderers. More...

#include <qgsrasterrendererregistry.h>

Public Member Functions

 ~QgsRasterRendererRegistry ()
void insert (QgsRasterRendererRegistryEntry entry)
void insertWidgetFunction (const QString &rendererName, QgsRasterRendererWidgetCreateFunc func)
bool rendererData (const QString &rendererName, QgsRasterRendererRegistryEntry &data) const
QStringList renderersList () const
< QgsRasterRendererRegistryEntry
entries () const
QgsRasterRendererdefaultRendererForDrawingStyle (const QgsRaster::DrawingStyle &theDrawingStyle, QgsRasterDataProvider *provider) const
 Creates a default renderer for a raster drawing style (considering user options such as default contrast enhancement).

Static Public Member Functions

static QgsRasterRendererRegistryinstance ()

Protected Member Functions

 QgsRasterRendererRegistry ()

Detailed Description

Registry for raster renderers.

Constructor & Destructor Documentation

QgsRasterRendererRegistry::~QgsRasterRendererRegistry ( )
QgsRasterRendererRegistry::QgsRasterRendererRegistry ( )

Member Function Documentation

QgsRasterRenderer * QgsRasterRendererRegistry::defaultRendererForDrawingStyle ( const QgsRaster::DrawingStyle theDrawingStyle,
QgsRasterDataProvider provider 
) const

Creates a default renderer for a raster drawing style (considering user options such as default contrast enhancement).

Caller takes ownership

QList< QgsRasterRendererRegistryEntry > QgsRasterRendererRegistry::entries ( ) const
void QgsRasterRendererRegistry::insert ( QgsRasterRendererRegistryEntry  entry)
void QgsRasterRendererRegistry::insertWidgetFunction ( const QString &  rendererName,
QgsRasterRendererWidgetCreateFunc  func 
QgsRasterRendererRegistry * QgsRasterRendererRegistry::instance ( )
bool QgsRasterRendererRegistry::rendererData ( const QString &  rendererName,
QgsRasterRendererRegistryEntry data 
) const
QStringList QgsRasterRendererRegistry::renderersList ( ) const

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