#include <RenderWidget.hh>
gazebo::gui::RenderWidget::RenderWidget |
( |
QWidget * |
_parent = 0 | ) |
|
virtual gazebo::gui::RenderWidget::~RenderWidget |
( |
| ) |
|
|
virtual |
void gazebo::gui::RenderWidget::AddPlugin |
( |
GUIPluginPtr |
_plugin, |
|
|
sdf::ElementPtr |
_elem |
|
) |
| |
Add a plugin to the render widget.
- Parameters
-
[in] | _plugin | Plugin pointer to add. |
[in] | _elem | Plugin sdf parameters. |
void gazebo::gui::RenderWidget::CreateScene |
( |
const std::string & |
_name | ) |
|
void gazebo::gui::RenderWidget::DisplayOverlayMsg |
( |
const std::string & |
_msg, |
|
|
int |
_duration = -1 |
|
) |
| |
Display an overlay message.
- Parameters
-
[in] | _msg | Message to be displayed |
[in] | _duration | Duration in milliseconds |
std::string gazebo::gui::RenderWidget::GetOverlayMsg |
( |
| ) |
const |
Get the overlay message being displayed.
- Returns
- Message displayed in the render window
QToolBar* gazebo::gui::RenderWidget::GetToolbar |
( |
| ) |
const |
Get the toolbar on top of the render widget.
- Returns
- Toolbar
void gazebo::gui::RenderWidget::RemoveScene |
( |
const std::string & |
_name | ) |
|
void gazebo::gui::RenderWidget::ShowEditor |
( |
bool |
_show | ) |
|
Show editor widget in the main window param[in] _show True to show the editor widget, false to hide it.
void gazebo::gui::RenderWidget::ShowToolbar |
( |
const bool |
_show | ) |
|
Set the visibility of the toolbar.
- Parameters
-
[in] | _show | Whether or not to show the toolbar. |
The documentation for this class was generated from the following file: