QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Registry for raster renderers. More...
#include <qgsrasterrendererregistry.h>
Public Member Functions | |
QgsRasterRenderer * | defaultRendererForDrawingStyle (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 (const 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 QgsRasterRendererRegistry * | instance () |
Protected Member Functions | |
QgsRasterRendererRegistry () | |
Registry for raster renderers.
Definition at line 53 of file qgsrasterrendererregistry.h.
|
protected |
Definition at line 55 of file qgsrasterrendererregistry.cpp.
QgsRasterRenderer * QgsRasterRendererRegistry::defaultRendererForDrawingStyle | ( | 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 114 of file qgsrasterrendererregistry.cpp.
QList< QgsRasterRendererRegistryEntry > QgsRasterRendererRegistry::entries | ( | ) | const |
Definition at line 102 of file qgsrasterrendererregistry.cpp.
void QgsRasterRendererRegistry::insert | ( | const QgsRasterRendererRegistryEntry & | entry | ) |
Definition at line 71 of file qgsrasterrendererregistry.cpp.
void QgsRasterRendererRegistry::insertWidgetFunction | ( | const QString & | rendererName, |
QgsRasterRendererWidgetCreateFunc | func | ||
) |
Definition at line 77 of file qgsrasterrendererregistry.cpp.
|
static |
Definition at line 49 of file qgsrasterrendererregistry.cpp.
bool QgsRasterRendererRegistry::rendererData | ( | const QString & | rendererName, |
QgsRasterRendererRegistryEntry & | data | ||
) | const |
Definition at line 86 of file qgsrasterrendererregistry.cpp.
QStringList QgsRasterRendererRegistry::renderersList | ( | ) | const |
Definition at line 97 of file qgsrasterrendererregistry.cpp.