#include <libosmscout-map-opengl/include/osmscout/MapPainterOpenGL.h>
|
| | MapPainterOpenGL (int width, int height, double dpi, int screenWidth, int screenHeight, std::string fontPath) |
| |
| | ~MapPainterOpenGL () |
| |
| void | OnZoom (float zoomDirection) |
| |
| void | OnTranslation (int startPointX, int startPointY, int endPointX, int endPointY) |
| |
| osmscout::GeoCoord | GetCenter () |
| |
| void | ProcessData (const osmscout::MapData &data, const osmscout::MapParameter ¶meter, const osmscout::Projection &projection, const osmscout::StyleConfigRef &styleConfig) |
| |
| void | SwapData () |
| |
| void | DrawMap () |
| |
◆ MapPainterOpenGL()
| osmscout::MapPainterOpenGL::MapPainterOpenGL |
( |
int |
width, |
|
|
int |
height, |
|
|
double |
dpi, |
|
|
int |
screenWidth, |
|
|
int |
screenHeight, |
|
|
std::string |
fontPath |
|
) |
| |
◆ ~MapPainterOpenGL()
| osmscout::MapPainterOpenGL::~MapPainterOpenGL |
( |
| ) |
|
◆ DrawMap()
| void osmscout::MapPainterOpenGL::DrawMap |
( |
| ) |
|
OpenGL draw call. Draws all feature of the map to the context.
◆ GetCenter()
| osmscout::GeoCoord osmscout::MapPainterOpenGL::GetCenter |
( |
| ) |
|
Returns the visual center of the map.
◆ 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.
◆ SwapData()
| void osmscout::MapPainterOpenGL::SwapData |
( |
| ) |
|
Swaps currently drawn data and processed data.
The documentation for this class was generated from the following file: