Control the import image view and manage contents in the scene.
More...
#include <ImportImageView.hh>
Control the import image view and manage contents in the scene.
Constructor.
- Parameters
-
[in] | _parent | Parent Widget. |
gazebo::gui::ImportImageView::~ImportImageView |
( |
| ) |
|
void gazebo::gui::ImportImageView::EnableDrawDistance |
( |
bool |
_enable | ) |
|
Set whether or not it is allowed to draw on the view.
- Parameters
-
[in] | _enable | Enable or not. |
void gazebo::gui::ImportImageView::RefreshDistance |
( |
double |
_distance | ) |
|
Refresh the distance displayed on the scene.
- Parameters
-
[in] | _distance | Distance in meters. |
void gazebo::gui::ImportImageView::SetImage |
( |
const std::string & |
_filename | ) |
|
Set the currently selected image.
- Parameters
-
[in] | _filename | Name of the image file. |
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: