30 #ifndef MAPVIZ_PLUGINS_POINT_CLICK_PUBLISHER_H 31 #define MAPVIZ_PLUGINS_POINT_CLICK_PUBLISHER_H 45 #include "ui_point_click_publisher_config.h" 46 #include "ui_topic_select.h" 67 virtual void PrintError(
const std::string& message);
68 virtual void PrintInfo(
const std::string& message);
71 void Draw(
double x,
double y,
double scale);
75 void LoadConfig(
const YAML::Node& node,
const std::string& path);
76 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
87 Ui::point_click_publisher_config
ui_;
98 #endif //MAPVIZ_PLUGINS_POINT_CLICK_PUBLISHER_H void SaveConfig(YAML::Emitter &emitter, const std::string &path)
virtual ~PointClickPublisherPlugin()
virtual void SetNode(const ros::NodeHandle &node)
void pointClicked(const QPointF &point)
QWidget * GetConfigWidget(QWidget *parent)
bool Initialize(QGLWidget *canvas)
ros::Publisher point_publisher_
TFSIMD_FORCE_INLINE const tfScalar & y() const
void Draw(double x, double y, double scale)
void LoadConfig(const YAML::Node &node, const std::string &path)
CanvasClickFilter click_filter_
TFSIMD_FORCE_INLINE const tfScalar & x() const
virtual void PrintError(const std::string &message)
Ui::point_click_publisher_config ui_
virtual void PrintInfo(const std::string &message)
PointClickPublisherPlugin()
mapviz::MapCanvas * canvas_
virtual void PrintWarning(const std::string &message)
void topicChanged(const QString &topic)