##

ImportImageView Class Reference
GUI

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

explicit

Constructor.

Parameters

  [in] | _parent | Parent Widget.

## ~ImportImageView()

~ImportImageView | ( |  | ) |

Destructor.

## Member Function Documentation

## EnableDrawDistance()

void EnableDrawDistance | ( | bool | _enable | ) |

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

Parameters

  [in] | _enable | Enable or not.

## RefreshDistance()

void RefreshDistance | ( | double | _distance | ) |

Refresh the distance displayed on the scene.

Parameters

  [in] | _distance | Distance in meters.

## SetImage()

void SetImage | ( | const std::string & | _filename | ) |

Set the currently selected image.

Parameters

  [in] | _filename | Name of the image file.

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

- ImportImageView.hh