Control the editor view and manage contents in the editor scene. More...
#include <EditorView.hh>

Public Types | |
| enum | DrawModes { NONE, WALL, WINDOW, DOOR, STAIRS, COLOR, TEXTURE } |
| Unique identifiers for all drawing modes within the editor. More... | |
Public Member Functions | |
| EditorView (QWidget *_parent=0) | |
| Constructor. More... | |
| ~EditorView () | |
| Destructor. More... | |
| void | Create3DVisual (EditorItem *_item) |
| Create a 3D visual from a 2D editor item. More... | |
| void | DeleteItem (EditorItem *_item) |
| Delete an editor item. More... | |
| void | SetBackgroundImage (const std::string &_filename, double _scale) |
| Set the graphics view background image. More... | |
Control the editor view and manage contents in the editor scene.
| gazebo::gui::EditorView::EditorView | ( | QWidget * | _parent = 0 | ) |
Constructor.
| [in] | _parent | Parent Widget. |
| gazebo::gui::EditorView::~EditorView | ( | ) |
Destructor.
| void gazebo::gui::EditorView::Create3DVisual | ( | EditorItem * | _item | ) |
Create a 3D visual from a 2D editor item.
| void gazebo::gui::EditorView::DeleteItem | ( | EditorItem * | _item | ) |
Delete an editor item.
| [in] | _item | Item to be deleted. |
| void gazebo::gui::EditorView::SetBackgroundImage | ( | const std::string & | _filename, |
| double | _scale | ||
| ) |
Set the graphics view background image.
| [in] | _filename | Name of the image file. |
| [in] | _scale | Image scale, in meters/pixel. |