QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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). More...

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: