QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Implementation of threaded rendering for raster layers. More...
#include <qgsrasterlayerrenderer.h>
Classes | |
class | Feedback |
Specific internal feedback class to provide preview of raster layer rendering. More... | |
Public Member Functions | |
QgsRasterLayerRenderer (QgsRasterLayer *layer, QgsRenderContext &rendererContext) | |
~QgsRasterLayerRenderer () | |
virtual QgsFeedback * | feedback () const override |
Access to feedback object of the layer renderer (may be null) More... | |
virtual bool | render () override |
Do the rendering (based on data stored in the class) More... | |
Public Member Functions inherited from QgsMapLayerRenderer | |
QgsMapLayerRenderer (const QString &layerID) | |
virtual | ~QgsMapLayerRenderer () |
QStringList | errors () const |
Return list of errors (problems) that happened during the rendering. More... | |
QString | layerID () const |
Get access to the ID of the layer rendered by this class. More... | |
Protected Attributes | |
QgsRenderContext & | mContext |
Feedback * | mFeedback |
feedback class for cancellation and preview generation More... | |
const QgsMapToPixel * | mMapToPixel |
QPainter * | mPainter |
QgsRasterPipe * | mPipe |
QgsRasterViewPort * | mRasterViewPort |
Protected Attributes inherited from QgsMapLayerRenderer | |
QStringList | mErrors |
QString | mLayerID |
Implementation of threaded rendering for raster layers.
Definition at line 41 of file qgsrasterlayerrenderer.h.
QgsRasterLayerRenderer::QgsRasterLayerRenderer | ( | QgsRasterLayer * | layer, |
QgsRenderContext & | rendererContext | ||
) |
Definition at line 24 of file qgsrasterlayerrenderer.cpp.
QgsRasterLayerRenderer::~QgsRasterLayerRenderer | ( | ) |
Definition at line 194 of file qgsrasterlayerrenderer.cpp.
|
overridevirtual |
Access to feedback object of the layer renderer (may be null)
Reimplemented from QgsMapLayerRenderer.
Definition at line 237 of file qgsrasterlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 202 of file qgsrasterlayerrenderer.cpp.
|
protected |
Definition at line 58 of file qgsrasterlayerrenderer.h.
|
protected |
feedback class for cancellation and preview generation
Definition at line 80 of file qgsrasterlayerrenderer.h.
|
protected |
Definition at line 54 of file qgsrasterlayerrenderer.h.
|
protected |
Definition at line 53 of file qgsrasterlayerrenderer.h.
|
protected |
Definition at line 57 of file qgsrasterlayerrenderer.h.
|
protected |
Definition at line 55 of file qgsrasterlayerrenderer.h.