Go to the documentation of this file.
   30 #ifndef MAPVIZ_PLUGINS_DRAW_POLYGON_PLUGIN_H_ 
   31 #define MAPVIZ_PLUGINS_DRAW_POLYGON_PLUGIN_H_ 
   52 #include <geometry_msgs/Polygon.h> 
   55 #include "ui_draw_polygon_config.h" 
   73     void Draw(
double x, 
double y, 
double scale);
 
   77     void LoadConfig(
const YAML::Node& node, 
const std::string& path);
 
   78     void SaveConfig(YAML::Emitter& emitter, 
const std::string& path);
 
   84     void PrintInfo(
const std::string& message);
 
   98     Ui::draw_polygon_config 
ui_;
 
  118 #endif  // MAPVIZ_PLUGINS_DRAW_POLYGON_PLUGIN_H_ 
  
bool handleMouseMove(QMouseEvent *)
bool Initialize(QGLWidget *canvas)
void PrintError(const std::string &message)
void PrintInfo(const std::string &message)
std::vector< tf::Vector3 > transformed_vertices_
Ui::draw_polygon_config ui_
void PrintWarning(const std::string &message)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
std::string polygon_topic_
std::vector< tf::Vector3 > vertices_
mapviz::MapCanvas * map_canvas_
virtual ~DrawPolygonPlugin()
bool handleMouseRelease(QMouseEvent *)
void LoadConfig(const YAML::Node &node, const std::string &path)
bool eventFilter(QObject *object, QEvent *event)
void Draw(double x, double y, double scale)
ros::Publisher polygon_pub_
QWidget * GetConfigWidget(QWidget *parent)
bool handleMousePress(QMouseEvent *)
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14