#include <point_click_publisher_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) |
PointClickPublisherPlugin () | |
virtual void | PrintError (const std::string &message) |
virtual void | PrintInfo (const std::string &message) |
virtual void | PrintWarning (const std::string &message) |
void | SaveConfig (YAML::Emitter &emitter, const std::string &path) |
virtual void | SetNode (const ros::NodeHandle &node) |
void | Shutdown () |
void | Transform () |
virtual | ~PointClickPublisherPlugin () |
Protected Slots | |
void | pointClicked (const QPointF &point) |
void | topicChanged (const QString &topic) |
void | updateFrames () |
Private Attributes | |
mapviz::MapCanvas * | canvas_ |
CanvasClickFilter | click_filter_ |
QWidget * | config_widget_ |
QTimer | frame_timer_ |
ros::Publisher | point_publisher_ |
Ui::point_click_publisher_config | ui_ |
Definition at line 55 of file point_click_publisher_plugin.h.
Definition at line 43 of file point_click_publisher_plugin.cpp.
Definition at line 58 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 76 of file point_click_publisher_plugin.cpp.
QWidget * mapviz_plugins::PointClickPublisherPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 103 of file point_click_publisher_plugin.cpp.
bool mapviz_plugins::PointClickPublisherPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 66 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 80 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::pointClicked | ( | const QPointF & | point | ) | [protected, slot] |
Definition at line 111 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::PrintError | ( | const std::string & | message | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 159 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::PrintInfo | ( | const std::string & | message | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 164 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::PrintWarning | ( | const std::string & | message | ) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 169 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 97 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::SetNode | ( | const ros::NodeHandle & | node | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
Definition at line 150 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 64 of file point_click_publisher_plugin.h.
void mapviz_plugins::PointClickPublisherPlugin::topicChanged | ( | const QString & | topic | ) | [protected, slot] |
Definition at line 175 of file point_click_publisher_plugin.cpp.
void mapviz_plugins::PointClickPublisherPlugin::Transform | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 73 of file point_click_publisher_plugin.h.
void mapviz_plugins::PointClickPublisherPlugin::updateFrames | ( | ) | [protected, slot] |
Definition at line 187 of file point_click_publisher_plugin.cpp.
Reimplemented from mapviz::MapvizPlugin.
Definition at line 91 of file point_click_publisher_plugin.h.
Definition at line 90 of file point_click_publisher_plugin.h.
QWidget* mapviz_plugins::PointClickPublisherPlugin::config_widget_ [private] |
Definition at line 88 of file point_click_publisher_plugin.h.
QTimer mapviz_plugins::PointClickPublisherPlugin::frame_timer_ [private] |
Definition at line 93 of file point_click_publisher_plugin.h.
Definition at line 94 of file point_click_publisher_plugin.h.
Ui::point_click_publisher_config mapviz_plugins::PointClickPublisherPlugin::ui_ [private] |
Definition at line 87 of file point_click_publisher_plugin.h.