QGIS API Documentation
2.6.0-Brighton
|
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 |
QList < QgsRasterRendererRegistryEntry > | entries () const |
QgsRasterRenderer * | 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). |
Static Public Member Functions | |
static QgsRasterRendererRegistry * | instance () |
Protected Member Functions | |
QgsRasterRendererRegistry () |
Registry for raster renderers.
QgsRasterRendererRegistry::~QgsRasterRendererRegistry | ( | ) |
|
protected |
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 | ||
) |
|
static |
bool QgsRasterRendererRegistry::rendererData | ( | const QString & | rendererName, |
QgsRasterRendererRegistryEntry & | data | ||
) | const |
QStringList QgsRasterRendererRegistry::renderersList | ( | ) | const |