QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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
[legend]

Public Member Functions

 QgsRasterLayerRenderer (QgsRasterLayer *layer, QgsRenderContext &rendererContext)
 
 ~QgsRasterLayerRenderer ()
 
virtual bool render ()
 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
 
QPainter * mPainter
 
QgsRasterPipemPipe
 
QgsRasterViewPortmRasterViewPort
 
- Protected Attributes inherited from QgsMapLayerRenderer
QStringList mErrors
 
QString mLayerID
 

Detailed Description

Implementation of threaded rendering for raster layers.

Note
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 ( )
virtual

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
protected

Definition at line 45 of file qgsrasterlayerrenderer.h.

QPainter* QgsRasterLayerRenderer::mPainter
protected

Definition at line 44 of file qgsrasterlayerrenderer.h.

QgsRasterPipe* QgsRasterLayerRenderer::mPipe
protected

Definition at line 48 of file qgsrasterlayerrenderer.h.

QgsRasterViewPort* QgsRasterLayerRenderer::mRasterViewPort
protected

Definition at line 46 of file qgsrasterlayerrenderer.h.


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