libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::BatchMapPainter< PainterType > Class Template Reference

#include <libosmscout-map/include/osmscoutmap/BatchMapPainter.h>

Collaboration diagram for osmscout::BatchMapPainter< PainterType >:

Public Member Functions

 BatchMapPainter (size_t expectedCount)
virtual ~BatchMapPainter ()=default
void AddData (const MapDataRef &d, PainterType &painter)

Protected Member Functions

bool BatchPaintInternal (const Projection &projection, const MapParameter &parameter)

Protected Attributes

std::vector< MapDataRefdata
std::vector< PainterType > painters

Detailed Description

template<class PainterType>
class osmscout::BatchMapPainter< PainterType >

Batch renderer helps to render map based on multiple databases

Constructor & Destructor Documentation

◆ BatchMapPainter()

template<class PainterType>
osmscout::BatchMapPainter< PainterType >::BatchMapPainter ( size_t expectedCount)
inlineexplicit

◆ ~BatchMapPainter()

template<class PainterType>
virtual osmscout::BatchMapPainter< PainterType >::~BatchMapPainter ( )
virtualdefault

Member Function Documentation

◆ AddData()

template<class PainterType>
void osmscout::BatchMapPainter< PainterType >::AddData ( const MapDataRef & d,
PainterType & painter )
inline

◆ BatchPaintInternal()

template<class PainterType>
bool osmscout::BatchMapPainter< PainterType >::BatchPaintInternal ( const Projection & projection,
const MapParameter & parameter )
inlineprotected

Render bach of multiple databases, step by step (

See also
RenderSteps). All painters should have initialised its (backend specific) state.
Parameters
projection
parameter
Returns
false on error, true otherwise

Member Data Documentation

◆ data

template<class PainterType>
std::vector<MapDataRef> osmscout::BatchMapPainter< PainterType >::data
protected

◆ painters

template<class PainterType>
std::vector<PainterType> osmscout::BatchMapPainter< PainterType >::painters
protected

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