QGIS API Documentation  2.11.0-Master
Public Member Functions | Protected Attributes | List of all members
QgsRasterLayerRenderer Class Reference

Implementation of threaded rendering for raster layers. More...

#include <qgsrasterlayerrenderer.h>

Inheritance diagram for QgsRasterLayerRenderer:
Inheritance graph

Public Member Functions

 QgsRasterLayerRenderer (QgsRasterLayer *layer, QgsRenderContext &rendererContext)
 ~QgsRasterLayerRenderer ()
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

const QgsMapToPixelmMapToPixel
- Protected Attributes inherited from QgsMapLayerRenderer
QStringList mErrors
QString mLayerID

Detailed Description

Implementation of threaded rendering for raster layers.

added in 2.4

Definition at line 34 of file qgsrasterlayerrenderer.h.

Constructor & Destructor Documentation

QgsRasterLayerRenderer::QgsRasterLayerRenderer ( QgsRasterLayer layer,
QgsRenderContext rendererContext 

Definition at line 24 of file qgsrasterlayerrenderer.cpp.

QgsRasterLayerRenderer::~QgsRasterLayerRenderer ( )

Definition at line 178 of file qgsrasterlayerrenderer.cpp.

Member Function Documentation

bool QgsRasterLayerRenderer::render ( )

Do the rendering (based on data stored in the class)

Implements QgsMapLayerRenderer.

Definition at line 184 of file qgsrasterlayerrenderer.cpp.

Member Data Documentation

const QgsMapToPixel* QgsRasterLayerRenderer::mMapToPixel

Definition at line 45 of file qgsrasterlayerrenderer.h.

QPainter* QgsRasterLayerRenderer::mPainter

Definition at line 44 of file qgsrasterlayerrenderer.h.

QgsRasterPipe* QgsRasterLayerRenderer::mPipe

Definition at line 48 of file qgsrasterlayerrenderer.h.

QgsRasterViewPort* QgsRasterLayerRenderer::mRasterViewPort

Definition at line 46 of file qgsrasterlayerrenderer.h.

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