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

Interface to the terrain editor. More...

#include <gui/gui.hh>

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

Public Member Functions

 ModelEditor (MainWindow *_mainWindow)
 Constuctor. More...
 
virtual ~ModelEditor ()
 Destuctor. More...
 
void AddEntity (sdf::ElementPtr _sdf)
 Add an entity to the editor. More...
 
void AddItemToPalette (QWidget *_item, const std::string &_category="")
 Add an item to palette. More...
 
- Public Member Functions inherited from gazebo::gui::Editor
 Editor (MainWindow *_mainWindow)
 Constuctor. More...
 
virtual ~Editor ()
 Destuctor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from gazebo::gui::Editor
void Init (const std::string &_objName, const std::string &_tabLabel, QWidget *_widget, QWidget *_cornerWidget=NULL)
 Initialize the editor. More...
 
- Protected Attributes inherited from gazebo::gui::Editor
std::vector< event::ConnectionPtrconnections
 List of Event based connections. More...
 
MainWindowmainWindow
 Pointer to the main window. More...
 
QTabWidget * tabWidget
 The tab widget that holds the editor's set of buttons. More...
 

Detailed Description

Interface to the terrain editor.

Constructor & Destructor Documentation

gazebo::gui::ModelEditor::ModelEditor ( MainWindow _mainWindow)

Constuctor.

Parameters
[in]_mainWindowPointer to the mainwindow.
virtual gazebo::gui::ModelEditor::~ModelEditor ( )
virtual

Destuctor.

Member Function Documentation

void gazebo::gui::ModelEditor::AddEntity ( sdf::ElementPtr  _sdf)

Add an entity to the editor.

Parameters
[in]_sdfSDF describing the entity.
void gazebo::gui::ModelEditor::AddItemToPalette ( QWidget *  _item,
const std::string &  _category = "" 
)

Add an item to palette.

Parameters
[in]_Itemitem to add.
[in]_categoryCategory to add the item too.

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