QGIS API Documentation  2.7.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 ()
 
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...
 
QList
< QgsRasterRendererRegistryEntry
entries () const
 
void insert (QgsRasterRendererRegistryEntry entry)
 
void insertWidgetFunction (const QString &rendererName, QgsRasterRendererWidgetCreateFunc func)
 
bool rendererData (const QString &rendererName, QgsRasterRendererRegistryEntry &data) const
 
QStringList renderersList () const
 

Static Public Member Functions

static QgsRasterRendererRegistryinstance ()
 

Protected Member Functions

 QgsRasterRendererRegistry ()
 

Detailed Description

Registry for raster renderers.

Definition at line 51 of file qgsrasterrendererregistry.h.

Constructor & Destructor Documentation

QgsRasterRendererRegistry::~QgsRasterRendererRegistry ( )

Definition at line 58 of file qgsrasterrendererregistry.cpp.

QgsRasterRendererRegistry::QgsRasterRendererRegistry ( )
protected

Definition at line 44 of file qgsrasterrendererregistry.cpp.

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

Definition at line 105 of file qgsrasterrendererregistry.cpp.

QList< QgsRasterRendererRegistryEntry > QgsRasterRendererRegistry::entries ( ) const

Definition at line 93 of file qgsrasterrendererregistry.cpp.

void QgsRasterRendererRegistry::insert ( QgsRasterRendererRegistryEntry  entry)

Definition at line 62 of file qgsrasterrendererregistry.cpp.

void QgsRasterRendererRegistry::insertWidgetFunction ( const QString &  rendererName,
QgsRasterRendererWidgetCreateFunc  func 
)

Definition at line 68 of file qgsrasterrendererregistry.cpp.

QgsRasterRendererRegistry * QgsRasterRendererRegistry::instance ( )
static

Definition at line 38 of file qgsrasterrendererregistry.cpp.

bool QgsRasterRendererRegistry::rendererData ( const QString &  rendererName,
QgsRasterRendererRegistryEntry data 
) const

Definition at line 77 of file qgsrasterrendererregistry.cpp.

QStringList QgsRasterRendererRegistry::renderersList ( ) const

Definition at line 88 of file qgsrasterrendererregistry.cpp.


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