QGIS API Documentation  2.5.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

QPainter * mPainter
 
const QgsMapToPixelmMapToPixel
 
QgsRasterViewPortmRasterViewPort
 
QgsRasterPipemPipe
 
- Protected Attributes inherited from QgsMapLayerRenderer
QStringList mErrors
 
QString mLayerID
 

Detailed Description

Implementation of threaded rendering for raster layers.

Note
added in 2.4

Constructor & Destructor Documentation

QgsRasterLayerRenderer::QgsRasterLayerRenderer ( QgsRasterLayer layer,
QgsRenderContext rendererContext 
)
QgsRasterLayerRenderer::~QgsRasterLayerRenderer ( )

Member Function Documentation

bool QgsRasterLayerRenderer::render ( )
virtual

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

Implements QgsMapLayerRenderer.

Member Data Documentation

const QgsMapToPixel* QgsRasterLayerRenderer::mMapToPixel
protected
QPainter* QgsRasterLayerRenderer::mPainter
protected
QgsRasterPipe* QgsRasterLayerRenderer::mPipe
protected
QgsRasterViewPort* QgsRasterLayerRenderer::mRasterViewPort
protected

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