Control the import image view and manage contents in the scene. More...
#include <ImportImageView.hh>
Inherits QGraphicsView.
Public Member Functions | |
| ImportImageView (ImportImageDialog *_parent=0) | |
| Constructor. More... | |
| ~ImportImageView () | |
| Destructor. More... | |
| void | EnableDrawDistance (bool _enable) |
| Set whether or not it is allowed to draw on the view. More... | |
| void | RefreshDistance (double _distance) |
| Refresh the distance displayed on the scene. More... | |
| void | SetImage (const std::string &_filename) |
| Set the currently selected image. More... | |
Control the import image view and manage contents in the scene.
|
explicit |
Constructor.
| [in] | _parent | Parent Widget. |
| ~ImportImageView | ( | ) |
Destructor.
| void EnableDrawDistance | ( | bool | _enable | ) |
Set whether or not it is allowed to draw on the view.
| [in] | _enable | Enable or not. |
| void RefreshDistance | ( | double | _distance | ) |
Refresh the distance displayed on the scene.
| [in] | _distance | Distance in meters. |
| void SetImage | ( | const std::string & | _filename | ) |
Set the currently selected image.
| [in] | _filename | Name of the image file. |