#include <tile_map_plugin.h>

Public Member Functions | |
| void | Draw (double x, double y, double scale) |
| QWidget * | GetConfigWidget (QWidget *parent) |
| bool | Initialize (QGLWidget *canvas) |
| void | LoadConfig (const YAML::Node &node, const std::string &path) |
| void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
| void | Shutdown () |
| TileMapPlugin () | |
| void | Transform () |
| virtual | ~TileMapPlugin () |
Protected Slots | |
| void | DeleteTileSource () |
| void | PrintError (const std::string &message) |
| void | PrintInfo (const std::string &message) |
| void | PrintWarning (const std::string &message) |
| void | ResetTileCache () |
| void | SaveCustomSource () |
| void | SelectSource (const QString &source_name) |
Private Member Functions | |
| void | selectTileSource (const boost::shared_ptr< TileSource > &tile_source) |
| void | startCustomEditing () |
| void | stopCustomEditing () |
Private Attributes | |
| QWidget * | config_widget_ |
| swri_transform_util::Transform | inverse_transform_ |
| double | last_center_x_ |
| double | last_center_y_ |
| int32_t | last_height_ |
| double | last_scale_ |
| int32_t | last_width_ |
| TileMapView | tile_map_ |
| std::map< QString, boost::shared_ptr< TileSource > > | tile_sources_ |
| swri_transform_util::Transform | transform_ |
| bool | transformed_ |
| Ui::tile_map_config | ui_ |
Static Private Attributes | |
| static std::string | BASE_URL_KEY = "base_url" |
| static std::string | BING_API_KEY = "bing_api_key" |
| static QString | BING_NAME = "Bing Maps (terrain)" |
| static std::string | CUSTOM_SOURCES_KEY = "custom_sources" |
| static std::string | MAX_ZOOM_KEY = "max_zoom" |
| static std::string | NAME_KEY = "name" |
| static std::string | SOURCE_KEY = "source" |
| static QString | STAMEN_TERRAIN_NAME = "Stamen (terrain)" |
| static QString | STAMEN_TONER_NAME = "Stamen (toner)" |
| static QString | STAMEN_WATERCOLOR_NAME = "Stamen (watercolor)" |
| static std::string | TYPE_KEY = "type" |
Definition at line 58 of file tile_map_plugin.h.
Definition at line 69 of file tile_map_plugin.cpp.
| tile_map::TileMapPlugin::~TileMapPlugin | ( | ) | [virtual] |
Definition at line 118 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::DeleteTileSource | ( | ) | [protected, slot] |
Definition at line 122 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::Draw | ( | double | x, |
| double | y, | ||
| double | scale | ||
| ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 295 of file tile_map_plugin.cpp.
| QWidget * tile_map::TileMapPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 279 of file tile_map_plugin.cpp.
| bool tile_map::TileMapPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 286 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::LoadConfig | ( | const YAML::Node & | node, |
| const std::string & | path | ||
| ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 335 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual, slot] |
Implements mapviz::MapvizPlugin.
Definition at line 243 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual, slot] |
Implements mapviz::MapvizPlugin.
Definition at line 255 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual, slot] |
Implements mapviz::MapvizPlugin.
Definition at line 267 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::ResetTileCache | ( | ) | [protected, slot] |
Definition at line 238 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
| const std::string & | path | ||
| ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 399 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::SaveCustomSource | ( | ) | [protected, slot] |
Definition at line 185 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::SelectSource | ( | const QString & | source_name | ) | [protected, slot] |
Definition at line 143 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::selectTileSource | ( | const boost::shared_ptr< TileSource > & | tile_source | ) | [private] |
Definition at line 426 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 67 of file tile_map_plugin.h.
| void tile_map::TileMapPlugin::startCustomEditing | ( | ) | [private] |
Definition at line 442 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::stopCustomEditing | ( | ) | [private] |
Definition at line 450 of file tile_map_plugin.cpp.
| void tile_map::TileMapPlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 321 of file tile_map_plugin.cpp.
std::string tile_map::TileMapPlugin::BASE_URL_KEY = "base_url" [static, private] |
Definition at line 110 of file tile_map_plugin.h.
std::string tile_map::TileMapPlugin::BING_API_KEY = "bing_api_key" [static, private] |
Definition at line 111 of file tile_map_plugin.h.
QString tile_map::TileMapPlugin::BING_NAME = "Bing Maps (terrain)" [static, private] |
Definition at line 117 of file tile_map_plugin.h.
QWidget* tile_map::TileMapPlugin::config_widget_ [private] |
Definition at line 94 of file tile_map_plugin.h.
std::string tile_map::TileMapPlugin::CUSTOM_SOURCES_KEY = "custom_sources" [static, private] |
Definition at line 112 of file tile_map_plugin.h.
Definition at line 97 of file tile_map_plugin.h.
double tile_map::TileMapPlugin::last_center_x_ [private] |
Definition at line 104 of file tile_map_plugin.h.
double tile_map::TileMapPlugin::last_center_y_ [private] |
Definition at line 105 of file tile_map_plugin.h.
int32_t tile_map::TileMapPlugin::last_height_ [private] |
Definition at line 107 of file tile_map_plugin.h.
double tile_map::TileMapPlugin::last_scale_ [private] |
Definition at line 106 of file tile_map_plugin.h.
int32_t tile_map::TileMapPlugin::last_width_ [private] |
Definition at line 108 of file tile_map_plugin.h.
std::string tile_map::TileMapPlugin::MAX_ZOOM_KEY = "max_zoom" [static, private] |
Definition at line 113 of file tile_map_plugin.h.
std::string tile_map::TileMapPlugin::NAME_KEY = "name" [static, private] |
Definition at line 114 of file tile_map_plugin.h.
std::string tile_map::TileMapPlugin::SOURCE_KEY = "source" [static, private] |
Definition at line 115 of file tile_map_plugin.h.
QString tile_map::TileMapPlugin::STAMEN_TERRAIN_NAME = "Stamen (terrain)" [static, private] |
Definition at line 118 of file tile_map_plugin.h.
QString tile_map::TileMapPlugin::STAMEN_TONER_NAME = "Stamen (toner)" [static, private] |
Definition at line 119 of file tile_map_plugin.h.
QString tile_map::TileMapPlugin::STAMEN_WATERCOLOR_NAME = "Stamen (watercolor)" [static, private] |
Definition at line 120 of file tile_map_plugin.h.
Definition at line 101 of file tile_map_plugin.h.
std::map<QString, boost::shared_ptr<TileSource> > tile_map::TileMapPlugin::tile_sources_ [private] |
Definition at line 102 of file tile_map_plugin.h.
Definition at line 96 of file tile_map_plugin.h.
bool tile_map::TileMapPlugin::transformed_ [private] |
Definition at line 99 of file tile_map_plugin.h.
std::string tile_map::TileMapPlugin::TYPE_KEY = "type" [static, private] |
Definition at line 116 of file tile_map_plugin.h.
Ui::tile_map_config tile_map::TileMapPlugin::ui_ [private] |
Definition at line 93 of file tile_map_plugin.h.