Go to the documentation of this file.
30 #ifndef MAPVIZ_PLUGINS_MEASURING_PLUGIN_H_
31 #define MAPVIZ_PLUGINS_MEASURING_PLUGIN_H_
42 #include "ui_measuring_config.h"
58 void Paint(QPainter* painter,
double x,
double y,
double scale);
59 void Draw(
double x,
double y,
double scale);
62 void LoadConfig(
const YAML::Node& node,
const std::string& path);
63 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
70 void PrintInfo(
const std::string& message);
92 Ui::measuring_config
ui_;
119 #endif // MAPVIZ_PLUGINS_MEASURING_PLUGIN_H_
tf::Vector3 last_position_
void PrintWarning(const std::string &message)
void PrintError(const std::string &message)
void PrintInfo(const std::string &message)
bool handleMouseRelease(QMouseEvent *)
std::vector< tf::Vector3 > transformed_vertices_
void Draw(double x, double y, double scale)
bool handleMouseMove(QMouseEvent *)
bool eventFilter(QObject *object, QEvent *event)
std::vector< double > measurements_
bool handleMousePress(QMouseEvent *)
QWidget * GetConfigWidget(QWidget *parent)
void AlphaChanged(double)
bool Initialize(QGLWidget *canvas)
void MeasurementsToggled(bool)
void DistanceCalculation()
mapviz::MapCanvas * map_canvas_
void FontSizeChanged(int)
virtual ~MeasuringPlugin()
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
void LoadConfig(const YAML::Node &node, const std::string &path)
void Paint(QPainter *painter, double x, double y, double scale)
std::vector< tf::Vector3 > vertices_
void BkgndColorToggled(bool)
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14