#include <libosmscout-map-opengl/include/osmscoutmapopengl/MapPainterOpenGL.h>
|
| | MapPainterOpenGL (int width, int height, double dpi, const std::string &fontPath, const std::string &shaderDir, const osmscout::MapParameter ¶meter) |
| | ~MapPainterOpenGL () |
| bool | IsInitialized () const |
| void | OnZoom (float zoomDirection) |
| void | SetSize (int width, int height) |
| void | OnTranslation (int startPointX, int startPointY, int endPointX, int endPointY) |
| osmscout::GeoCoord | GetCenter () const |
| void | SetCenter (const osmscout::GeoCoord ¢er) |
| osmscout::Magnification | GetMagnification () const |
| void | SetMagnification (const osmscout::Magnification &magnification) |
| MercatorProjection | GetProjection () const |
| void | ProcessData (const osmscout::MapData &data, const osmscout::Projection &loadProjection, const osmscout::StyleConfigRef &styleConfig) |
| void | SwapData () |
| void | DrawMap (RenderSteps startStep=RenderSteps::FirstStep, RenderSteps endStep=RenderSteps::LastStep) |
◆ MapPainterOpenGL()
| osmscout::MapPainterOpenGL::MapPainterOpenGL |
( |
int | width, |
|
|
int | height, |
|
|
double | dpi, |
|
|
const std::string & | fontPath, |
|
|
const std::string & | shaderDir, |
|
|
const osmscout::MapParameter & | parameter ) |
◆ ~MapPainterOpenGL()
| osmscout::MapPainterOpenGL::~MapPainterOpenGL |
( |
| ) |
|
◆ DrawMap()
OpenGL draw call. Draws all feature of the map to the context.
◆ GetCenter()
| osmscout::GeoCoord osmscout::MapPainterOpenGL::GetCenter |
( |
| ) |
const |
Returns the visual center of the map.
◆ GetMagnification()
| osmscout::Magnification osmscout::MapPainterOpenGL::GetMagnification |
( |
| ) |
const |
◆ GetProjection()
◆ IsInitialized()
| bool osmscout::MapPainterOpenGL::IsInitialized |
( |
| ) |
const |
|
inline |
◆ OnTranslation()
| void osmscout::MapPainterOpenGL::OnTranslation |
( |
int | startPointX, |
|
|
int | startPointY, |
|
|
int | endPointX, |
|
|
int | endPointY ) |
Translates the map to the given direction.
◆ OnZoom()
| void osmscout::MapPainterOpenGL::OnZoom |
( |
float | zoomDirection | ) |
|
◆ ProcessData()
Processes all OSM data, and converts to the format required by the OpenGL pipeline.
◆ SetCenter()
| void osmscout::MapPainterOpenGL::SetCenter |
( |
const osmscout::GeoCoord & | center | ) |
|
◆ SetMagnification()
| void osmscout::MapPainterOpenGL::SetMagnification |
( |
const osmscout::Magnification & | magnification | ) |
|
◆ SetSize()
| void osmscout::MapPainterOpenGL::SetSize |
( |
int | width, |
|
|
int | height ) |
◆ SwapData()
| void osmscout::MapPainterOpenGL::SwapData |
( |
| ) |
|
Swaps currently drawn data and processed data.
The documentation for this class was generated from the following file: