30 #ifndef ALPACA_SIMULATOR_COORDINATE_PICKER_PLUGIN_H_ 31 #define ALPACA_SIMULATOR_COORDINATE_PICKER_PLUGIN_H_ 42 #include "ui_coordinate_picker_config.h" 58 void Draw(
double x,
double y,
double scale);
61 void LoadConfig(
const YAML::Node& node,
const std::string& path);
62 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
67 void PrintInfo(
const std::string& message);
83 Ui::coordinate_picker_config
ui_;
93 #endif // ALPACA_SIMULATOR_COORDINATE_PICKER_PLUGIN_H_ bool Initialize(QGLWidget *canvas)
bool handleMousePress(QMouseEvent *)
bool handleMouseRelease(QMouseEvent *)
QWidget * GetConfigWidget(QWidget *parent)
virtual ~CoordinatePickerPlugin()
void PrintInfo(const std::string &message)
TFSIMD_FORCE_INLINE const tfScalar & y() const
bool eventFilter(QObject *object, QEvent *event)
void PrintError(const std::string &message)
void PrintWarning(const std::string &message)
TFSIMD_FORCE_INLINE const tfScalar & x() const
void Draw(double x, double y, double scale)
void LoadConfig(const YAML::Node &node, const std::string &path)
bool handleMouseMove(QMouseEvent *)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
void ToggleCopyOnClick(int state)
Ui::coordinate_picker_config ui_
mapviz::MapCanvas * map_canvas_