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()

ImportImageView ( ImportImageDialog _parent = 0)

Constructor.

Parameters
[in]_parentParent Widget.

§ ~ImportImageView()

Destructor.

Member Function Documentation

§ EnableDrawDistance()

void EnableDrawDistance ( bool  _enable)

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

Parameters
[in]_enableEnable or not.

§ RefreshDistance()

void RefreshDistance ( double  _distance)

Refresh the distance displayed on the scene.

Parameters
[in]_distanceDistance in meters.

§ SetImage()

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: