#include <multires_image_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) |
MultiresImagePlugin () | |
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
void | Shutdown () |
void | Transform () |
virtual | ~MultiresImagePlugin () |
Protected Slots | |
void | AcceptConfiguration () |
void | SelectFile () |
Protected Member Functions | |
void | PrintError (const std::string &message) |
void | PrintInfo (const std::string &message) |
void | PrintWarning (const std::string &message) |
Private Member Functions | |
void | GetCenterPoint (double x, double y) |
boost::filesystem::path | MakePathRelative (boost::filesystem::path path, boost::filesystem::path base) |
Private Attributes | |
double | center_x_ |
double | center_y_ |
QWidget * | config_widget_ |
swri_transform_util::Transform | inverse_transform_ |
bool | loaded_ |
multires_image::TileSet * | tile_set_ |
MultiresView * | tile_view_ |
swri_transform_util::Transform | transform_ |
bool | transformed_ |
Ui::multires_config | ui_ |
Definition at line 56 of file multires_image_plugin.h.
Definition at line 50 of file multires_image_plugin.cpp.
Definition at line 73 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::AcceptConfiguration | ( | ) | [protected, slot] |
Definition at line 115 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 196 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::GetCenterPoint | ( | double | x, |
double | y | ||
) | [private] |
Definition at line 188 of file multires_image_plugin.cpp.
QWidget * mapviz_plugins::MultiresImagePlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 174 of file multires_image_plugin.cpp.
bool mapviz_plugins::MultiresImagePlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 181 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 293 of file multires_image_plugin.cpp.
boost::filesystem::path mapviz_plugins::MultiresImagePlugin::MakePathRelative | ( | boost::filesystem::path | path, |
boost::filesystem::path | base | ||
) | [private] |
Definition at line 246 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 79 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 91 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 103 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 314 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::SelectFile | ( | ) | [protected, slot] |
Definition at line 159 of file multires_image_plugin.cpp.
void mapviz_plugins::MultiresImagePlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 65 of file multires_image_plugin.h.
void mapviz_plugins::MultiresImagePlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 209 of file multires_image_plugin.cpp.
double mapviz_plugins::MultiresImagePlugin::center_x_ [private] |
Definition at line 87 of file multires_image_plugin.h.
double mapviz_plugins::MultiresImagePlugin::center_y_ [private] |
Definition at line 88 of file multires_image_plugin.h.
QWidget* mapviz_plugins::MultiresImagePlugin::config_widget_ [private] |
Definition at line 94 of file multires_image_plugin.h.
Definition at line 97 of file multires_image_plugin.h.
bool mapviz_plugins::MultiresImagePlugin::loaded_ [private] |
Definition at line 86 of file multires_image_plugin.h.
Definition at line 90 of file multires_image_plugin.h.
Definition at line 91 of file multires_image_plugin.h.
Definition at line 96 of file multires_image_plugin.h.
bool mapviz_plugins::MultiresImagePlugin::transformed_ [private] |
Definition at line 99 of file multires_image_plugin.h.
Ui::multires_config mapviz_plugins::MultiresImagePlugin::ui_ [private] |
Definition at line 93 of file multires_image_plugin.h.