#include <robot_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) |
RobotImagePlugin () | |
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
void | Shutdown () |
void | Transform () |
virtual | ~RobotImagePlugin () |
Protected Slots | |
void | FrameEdited () |
void | HeightChanged (double value) |
void | SelectFile () |
void | SelectFrame () |
void | WidthChanged (double value) |
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 | LoadImage () |
void | UpdateShape () |
Private Attributes | |
tf::Point | bottom_left_ |
tf::Point | bottom_left_transformed_ |
tf::Point | bottom_right_ |
tf::Point | bottom_right_transformed_ |
QWidget * | config_widget_ |
int | dimension_ |
std::string | filename_ |
double | height_ |
QImage | image_ |
int | texture_id_ |
bool | texture_loaded_ |
tf::Point | top_left_ |
tf::Point | top_left_transformed_ |
tf::Point | top_right_ |
tf::Point | top_right_transformed_ |
bool | transformed_ |
Ui::robot_image_config | ui_ |
double | width_ |
Definition at line 55 of file robot_image_plugin.h.
Definition at line 58 of file robot_image_plugin.cpp.
mapviz_plugins::RobotImagePlugin::~RobotImagePlugin | ( | ) | [virtual] |
Definition at line 86 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 206 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::FrameEdited | ( | ) | [protected, slot] |
Definition at line 116 of file robot_image_plugin.cpp.
QWidget * mapviz_plugins::RobotImagePlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 192 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::HeightChanged | ( | double | value | ) | [protected, slot] |
Definition at line 135 of file robot_image_plugin.cpp.
bool mapviz_plugins::RobotImagePlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 199 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 306 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::LoadImage | ( | ) | [private] |
Definition at line 249 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 150 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 164 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 178 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 337 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::SelectFile | ( | ) | [protected, slot] |
Definition at line 90 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::SelectFrame | ( | ) | [protected, slot] |
Definition at line 106 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 64 of file robot_image_plugin.h.
void mapviz_plugins::RobotImagePlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 230 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::UpdateShape | ( | ) | [private] |
Definition at line 142 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::WidthChanged | ( | double | value | ) | [protected, slot] |
Definition at line 128 of file robot_image_plugin.cpp.
Definition at line 104 of file robot_image_plugin.h.
Definition at line 109 of file robot_image_plugin.h.
Definition at line 105 of file robot_image_plugin.h.
Definition at line 110 of file robot_image_plugin.h.
QWidget* mapviz_plugins::RobotImagePlugin::config_widget_ [private] |
Definition at line 89 of file robot_image_plugin.h.
int mapviz_plugins::RobotImagePlugin::dimension_ [private] |
Definition at line 96 of file robot_image_plugin.h.
std::string mapviz_plugins::RobotImagePlugin::filename_ [private] |
Definition at line 94 of file robot_image_plugin.h.
double mapviz_plugins::RobotImagePlugin::height_ [private] |
Definition at line 92 of file robot_image_plugin.h.
QImage mapviz_plugins::RobotImagePlugin::image_ [private] |
Definition at line 95 of file robot_image_plugin.h.
int mapviz_plugins::RobotImagePlugin::texture_id_ [private] |
Definition at line 97 of file robot_image_plugin.h.
bool mapviz_plugins::RobotImagePlugin::texture_loaded_ [private] |
Definition at line 98 of file robot_image_plugin.h.
Definition at line 102 of file robot_image_plugin.h.
Definition at line 107 of file robot_image_plugin.h.
Definition at line 103 of file robot_image_plugin.h.
Definition at line 108 of file robot_image_plugin.h.
bool mapviz_plugins::RobotImagePlugin::transformed_ [private] |
Definition at line 100 of file robot_image_plugin.h.
Ui::robot_image_config mapviz_plugins::RobotImagePlugin::ui_ [private] |
Definition at line 88 of file robot_image_plugin.h.
double mapviz_plugins::RobotImagePlugin::width_ [private] |
Definition at line 91 of file robot_image_plugin.h.