#include <textured_marker_plugin.h>
Classes | |
struct | MarkerData |
Signals | |
void | MarkerReceived (const marti_visualization_msgs::TexturedMarkerConstPtr marker) |
void | MarkersReceived (const marti_visualization_msgs::TexturedMarkerArrayConstPtr markers) |
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 () |
TexturedMarkerPlugin () | |
void | Transform () |
virtual | ~TexturedMarkerPlugin () |
Protected Slots | |
void | ProcessMarker (const marti_visualization_msgs::TexturedMarkerConstPtr marker) |
void | ProcessMarkers (const marti_visualization_msgs::TexturedMarkerArrayConstPtr markers) |
void | SelectTopic () |
void | TopicEdited () |
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 | MarkerArrayCallback (const marti_visualization_msgs::TexturedMarkerArrayConstPtr markers) |
void | MarkerCallback (const marti_visualization_msgs::TexturedMarkerConstPtr marker) |
void | ProcessMarker (const marti_visualization_msgs::TexturedMarker &marker) |
Private Attributes | |
QWidget * | config_widget_ |
bool | has_message_ |
bool | is_marker_array_ |
ros::Subscriber | marker_sub_ |
std::map< std::string, std::map< int, MarkerData > > | markers_ |
std::string | topic_ |
Ui::marker_config | ui_ |
Definition at line 66 of file textured_marker_plugin.h.
virtual mapviz_plugins::TexturedMarkerPlugin::~TexturedMarkerPlugin | ( | ) | [virtual] |
void mapviz_plugins::TexturedMarkerPlugin::Draw | ( | double | x, |
double | y, | ||
double | scale | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
QWidget* mapviz_plugins::TexturedMarkerPlugin::GetConfigWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplemented from mapviz::MapvizPlugin.
bool mapviz_plugins::TexturedMarkerPlugin::Initialize | ( | QGLWidget * | canvas | ) | [virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::TexturedMarkerPlugin::LoadConfig | ( | const YAML::Node & | node, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::TexturedMarkerPlugin::MarkerArrayCallback | ( | const marti_visualization_msgs::TexturedMarkerArrayConstPtr | markers | ) | [private] |
void mapviz_plugins::TexturedMarkerPlugin::MarkerCallback | ( | const marti_visualization_msgs::TexturedMarkerConstPtr | marker | ) | [private] |
void mapviz_plugins::TexturedMarkerPlugin::MarkerReceived | ( | const marti_visualization_msgs::TexturedMarkerConstPtr | marker | ) | [signal] |
void mapviz_plugins::TexturedMarkerPlugin::MarkersReceived | ( | const marti_visualization_msgs::TexturedMarkerArrayConstPtr | markers | ) | [signal] |
void mapviz_plugins::TexturedMarkerPlugin::PrintError | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::TexturedMarkerPlugin::PrintInfo | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::TexturedMarkerPlugin::PrintWarning | ( | const std::string & | message | ) | [protected, virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::TexturedMarkerPlugin::ProcessMarker | ( | const marti_visualization_msgs::TexturedMarkerConstPtr | marker | ) | [protected, slot] |
void mapviz_plugins::TexturedMarkerPlugin::ProcessMarker | ( | const marti_visualization_msgs::TexturedMarker & | marker | ) | [private] |
void mapviz_plugins::TexturedMarkerPlugin::ProcessMarkers | ( | const marti_visualization_msgs::TexturedMarkerArrayConstPtr | markers | ) | [protected, slot] |
void mapviz_plugins::TexturedMarkerPlugin::SaveConfig | ( | YAML::Emitter & | emitter, |
const std::string & | path | ||
) | [virtual] |
Implements mapviz::MapvizPlugin.
void mapviz_plugins::TexturedMarkerPlugin::SelectTopic | ( | ) | [protected, slot] |
void mapviz_plugins::TexturedMarkerPlugin::Shutdown | ( | ) | [inline, virtual] |
Implements mapviz::MapvizPlugin.
Definition at line 75 of file textured_marker_plugin.h.
void mapviz_plugins::TexturedMarkerPlugin::TopicEdited | ( | ) | [protected, slot] |
void mapviz_plugins::TexturedMarkerPlugin::Transform | ( | ) | [virtual] |
Implements mapviz::MapvizPlugin.
QWidget* mapviz_plugins::TexturedMarkerPlugin::config_widget_ [private] |
Definition at line 126 of file textured_marker_plugin.h.
bool mapviz_plugins::TexturedMarkerPlugin::has_message_ [private] |
Definition at line 131 of file textured_marker_plugin.h.
bool mapviz_plugins::TexturedMarkerPlugin::is_marker_array_ [private] |
Definition at line 135 of file textured_marker_plugin.h.
Definition at line 130 of file textured_marker_plugin.h.
std::map<std::string, std::map<int, MarkerData> > mapviz_plugins::TexturedMarkerPlugin::markers_ [private] |
Definition at line 133 of file textured_marker_plugin.h.
std::string mapviz_plugins::TexturedMarkerPlugin::topic_ [private] |
Definition at line 128 of file textured_marker_plugin.h.
Ui::marker_config mapviz_plugins::TexturedMarkerPlugin::ui_ [private] |
Definition at line 125 of file textured_marker_plugin.h.