Public Member Functions | Public Attributes | List of all members
gazebo::gui::ImportImageView Class Reference

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

#include <ImportImageView.hh>

Inheritance diagram for gazebo::gui::ImportImageView:
Inheritance graph
[legend]

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

Public Attributes

int imageWidthPx
 Width of the image in pixels. More...
 
int measureScenePx
 Length of the measure on the scene in pixels. More...
 
int pixmapHeightPx
 Height of the pixmap in pixels. More...
 
int pixmapWidthPx
 Width of the pixmap in pixels. More...
 

Detailed Description

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

Constructor & Destructor Documentation

gazebo::gui::ImportImageView::ImportImageView ( ImportImageDialog _parent = 0)

Constructor.

Parameters
[in]_parentParent Widget.
gazebo::gui::ImportImageView::~ImportImageView ( )

Destructor.

Member Function Documentation

void gazebo::gui::ImportImageView::EnableDrawDistance ( bool  _enable)

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

Parameters
[in]_enableEnable or not.
void gazebo::gui::ImportImageView::RefreshDistance ( double  _distance)

Refresh the distance displayed on the scene.

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

Set the currently selected image.

Parameters
[in]_filenameName of the image file.

Member Data Documentation

int gazebo::gui::ImportImageView::imageWidthPx

Width of the image in pixels.

int gazebo::gui::ImportImageView::measureScenePx

Length of the measure on the scene in pixels.

int gazebo::gui::ImportImageView::pixmapHeightPx

Height of the pixmap in pixels.

int gazebo::gui::ImportImageView::pixmapWidthPx

Width of the pixmap in pixels.


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