17#ifndef GAZEBO_GUI_BUILDING_IMPORTIMAGEVIEW_HH_
18#define GAZEBO_GUI_BUILDING_IMPORTIMAGEVIEW_HH_
32 class ImportImageDialog;
34 class ImportImageViewPrivate;
56 public:
void SetImage(
const std::string &_filename);
68 private:
void resizeEvent(QResizeEvent *_event);
72 private:
void mouseMoveEvent(QMouseEvent *_event);
76 private:
void mousePressEvent(QMouseEvent *_event);
80 private:
void mouseReleaseEvent(QMouseEvent *_event);
84 private:
void keyPressEvent(QKeyEvent *_event);
88 private:
void DrawMeasure(
const QPoint &_pos);
92 private: std::unique_ptr<ImportImageViewPrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
Definition ImportImageDialog.hh:38
Control the import image view and manage contents in the scene.
Definition ImportImageView.hh:42
void EnableDrawDistance(bool _enable)
Set whether or not it is allowed to draw on the view.
ImportImageView(ImportImageDialog *_parent=0)
Constructor.
void SetImage(const std::string &_filename)
Set the currently selected image.
void RefreshDistance(double _distance)
Refresh the distance displayed on the scene.
~ImportImageView()
Destructor.
Forward declarations for the common classes.
Definition Animation.hh:27