ImportImageView Class Reference

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...
 

Detailed Description

Control the import image view and manage contents in the scene.

Constructor & Destructor Documentation

ImportImageView ( ImportImageDialog _parent = 0)

Constructor.

Parameters
[in]_parentParent Widget.

Destructor.

Member Function Documentation

void EnableDrawDistance ( bool  _enable)

Set whether or not it is allowed to draw on the view.

Parameters
[in]_enableEnable or not.
void RefreshDistance ( double  _distance)

Refresh the distance displayed on the scene.

Parameters
[in]_distanceDistance in meters.
void SetImage ( const std::string &  _filename)

Set the currently selected image.

Parameters
[in]_filenameName of the image file.

The documentation for this class was generated from the following file: