#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 | OffsetXChanged (double value) |
void | OffsetYChanged (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_ |
double | offset_x_ |
double | offset_y_ |
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 54 of file robot_image_plugin.cpp.
mapviz_plugins::RobotImagePlugin::~RobotImagePlugin | ( | ) | [virtual] |
Definition at line 89 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 194 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::FrameEdited | ( | ) | [protected, slot] |
Definition at line 119 of file robot_image_plugin.cpp.
QWidget * mapviz_plugins::RobotImagePlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 180 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::HeightChanged | ( | double | value | ) | [protected, slot] |
Definition at line 137 of file robot_image_plugin.cpp.
bool mapviz_plugins::RobotImagePlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 187 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 294 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::LoadImage | ( | ) | [private] |
Definition at line 237 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::OffsetXChanged | ( | double | value | ) | [protected, slot] |
Definition at line 143 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::OffsetYChanged | ( | double | value | ) | [protected, slot] |
Definition at line 149 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 165 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 170 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 175 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 93 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::SelectFrame | ( | ) | [protected, slot] |
Definition at line 109 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 218 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::UpdateShape | ( | ) | [private] |
Definition at line 155 of file robot_image_plugin.cpp.
void mapviz_plugins::RobotImagePlugin::WidthChanged | ( | double | value | ) | [protected, slot] |
Definition at line 131 of file robot_image_plugin.cpp.
Definition at line 108 of file robot_image_plugin.h.
Definition at line 113 of file robot_image_plugin.h.
Definition at line 109 of file robot_image_plugin.h.
Definition at line 114 of file robot_image_plugin.h.
QWidget* mapviz_plugins::RobotImagePlugin::config_widget_ [private] |
Definition at line 91 of file robot_image_plugin.h.
int mapviz_plugins::RobotImagePlugin::dimension_ [private] |
Definition at line 100 of file robot_image_plugin.h.
std::string mapviz_plugins::RobotImagePlugin::filename_ [private] |
Definition at line 98 of file robot_image_plugin.h.
double mapviz_plugins::RobotImagePlugin::height_ [private] |
Definition at line 94 of file robot_image_plugin.h.
QImage mapviz_plugins::RobotImagePlugin::image_ [private] |
Definition at line 99 of file robot_image_plugin.h.
double mapviz_plugins::RobotImagePlugin::offset_x_ [private] |
Definition at line 95 of file robot_image_plugin.h.
double mapviz_plugins::RobotImagePlugin::offset_y_ [private] |
Definition at line 96 of file robot_image_plugin.h.
int mapviz_plugins::RobotImagePlugin::texture_id_ [private] |
Definition at line 101 of file robot_image_plugin.h.
bool mapviz_plugins::RobotImagePlugin::texture_loaded_ [private] |
Definition at line 102 of file robot_image_plugin.h.
Definition at line 106 of file robot_image_plugin.h.
Definition at line 111 of file robot_image_plugin.h.
Definition at line 107 of file robot_image_plugin.h.
Definition at line 112 of file robot_image_plugin.h.
bool mapviz_plugins::RobotImagePlugin::transformed_ [private] |
Definition at line 104 of file robot_image_plugin.h.
Ui::robot_image_config mapviz_plugins::RobotImagePlugin::ui_ [private] |
Definition at line 90 of file robot_image_plugin.h.
double mapviz_plugins::RobotImagePlugin::width_ [private] |
Definition at line 93 of file robot_image_plugin.h.