marble
OsmTileClusterRenderer.cpp
Go to the documentation of this file.
29 void OsmTileClusterRenderer::setMapSources( QVector<ReadOnlyMapDefinition> const & mapSourceDefinitions )
51 QDir const tileDirectory( m_osmBaseDirectory.path() + QString("/%1/%2").arg( m_osmTileLevel ).arg( tileX ));
108 << static_cast<double>( tilesRenderedCount ) * 1000.0 / static_cast<double>( durationMs ) << "tiles/s";
157 return -atan( sinh(( pixelYd - 0.5 * osmMapEdgeLengthPixeld ) * 2.0 * M_PI / osmMapEdgeLengthPixeld ));
std::string toStdString() const
void setOsmTileLevel(int const level)
Definition: OsmTileClusterRenderer.cpp:39
iterator begin()
void clusterRendered(OsmTileClusterRenderer *)
bool save(const QString &fileName, const char *format, int quality) const
void setOsmBaseDirectory(QDir const &osmBaseDirectory)
Definition: OsmTileClusterRenderer.cpp:34
bool isNull() const
int elapsed() const
Definition: ReadOnlyMapImage.h:8
QString path() const
OsmTileClusterRenderer(QObject *const parent=NULL)
Definition: OsmTileClusterRenderer.cpp:10
QString objectName() const
void setMapSources(QVector< ReadOnlyMapDefinition > const &mapSources)
Definition: OsmTileClusterRenderer.cpp:29
void renderOsmTileCluster(int const clusterX, int const clusterY)
Definition: OsmTileClusterRenderer.cpp:77
void initMapSources()
Definition: OsmTileClusterRenderer.cpp:63
void setClusterEdgeLengthTiles(int const clusterEdgeLengthTiles)
Definition: OsmTileClusterRenderer.cpp:24
int count(const T &value) const
void push_back(const T &value)
void start()
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
iterator end()
bool mkpath(const QString &dirPath) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.