QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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]
Collaboration diagram for QgsRasterLayerRenderer:
Collaboration 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

Definition at line 34 of file qgsrasterlayerrenderer.h.

Constructor & Destructor Documentation

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

Definition at line 165 of file qgsrasterlayerrenderer.cpp.

References mPipe, and mRasterViewPort.

Member Function Documentation

bool QgsRasterLayerRenderer::render ( )
virtual

Member Data Documentation

const QgsMapToPixel* QgsRasterLayerRenderer::mMapToPixel
protected

Definition at line 45 of file qgsrasterlayerrenderer.h.

Referenced by QgsRasterLayerRenderer(), and render().

QPainter* QgsRasterLayerRenderer::mPainter
protected

Definition at line 44 of file qgsrasterlayerrenderer.h.

Referenced by QgsRasterLayerRenderer(), and render().

QgsRasterPipe* QgsRasterLayerRenderer::mPipe
protected
QgsRasterViewPort* QgsRasterLayerRenderer::mRasterViewPort
protected

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