Files | |
file | GuiTypes.hh |
default namespace for gazebo | |
Namespaces | |
gazebo::gui | |
gui namespace | |
Classes | |
class | gazebo::gui::ApplyWrenchDialog |
Dialog for applying force and torque to a model. More... | |
class | gazebo::gui::BaseInspectorDialog |
Base Dialog for a specific inspector dialog. More... | |
class | gazebo::gui::BuildingEditorPalette |
A palette of building items which can be added to the editor. More... | |
class | gazebo::gui::BuildingEditorWidget |
The parent widget of the building editor, level widget and scale widget. More... | |
class | gazebo::gui::BuildingMaker |
Create and manage 3D visuals of a building. More... | |
class | gazebo::gui::BuildingModelManip |
Manipulate a 3D visual associated to a 2D editor item. More... | |
class | gazebo::gui::CloneWindow |
A dialog window used to set some parameters before cloning a simulation. More... | |
class | gazebo::gui::CollisionConfig |
A tab for configuring collision properties of a link. More... | |
class | gazebo::gui::CollisionConfigData |
A class of widgets used for configuring collision properties. More... | |
class | gazebo::gui::ConfigChildWidget |
A convenience widget that also holds pointers to a list of its child widgets. More... | |
class | gazebo::gui::ConfigWidget |
A widget generated from a google protobuf message. More... | |
class | gazebo::gui::Conversions |
Conversions Conversions.hh gui/Conversions.hh. More... | |
class | gazebo::gui::DataLogger |
A widget that provides data logging functionality. More... | |
class | gazebo::gui::DoorItem |
2D representation of a door More... | |
class | gazebo::gui::EditorItem |
Base class of an item in the editor. More... | |
class | gazebo::gui::EditorView |
Control the editor view and manage contents in the editor scene. More... | |
class | gazebo::gui::EntityMaker |
To make an entity, base class. More... | |
class | gazebo::gui::EnumConfigWidget |
A widget for configuring enum values. More... | |
class | gazebo::gui::ExtrudeDialog |
Dialog for saving to file. More... | |
class | gazebo::gui::FloorItem |
2D representation of a floor. More... | |
class | gazebo::gui::GeometryConfigWidget |
A widget for configuring geometry properties. More... | |
class | gazebo::gui::GridLines |
2D grid lines. More... | |
class | gazebo::gui::GroupWidget |
A collapsible widget that holds child widgets. More... | |
class | gazebo::gui::HotkeyDialog |
Dialog displaying the keyboard shortcuts. More... | |
class | gazebo::gui::ImportDialog |
Dialog for saving to file. More... | |
class | gazebo::gui::ImportImageDialog |
class | gazebo::gui::ImportImageView |
Control the import image view and manage contents in the scene. More... | |
class | gazebo::gui::JointMaker |
Handles the creation of joints in the model editor. More... | |
class | gazebo::gui::LevelInspectorDialog |
Dialog for configuring a building level. More... | |
class | gazebo::gui::LevelWidget |
A widget for adding and changing building levels. More... | |
class | gazebo::gui::LinkConfig |
A tab for configuring properties of a link. More... | |
class | gazebo::gui::MeasureItem |
Measurement lines and values. More... | |
class | gazebo::gui::ModelCreator |
Create and manage 3D visuals of a model with links and joints. More... | |
class | gazebo::gui::ModelEditorPalette |
A palette of model items which can be added to the editor. More... | |
class | gazebo::gui::ModelPluginInspector |
Inspector for model plugin properties. More... | |
class | gazebo::gui::ModelTreeWidget |
A widget that displays model properties. More... | |
class | gazebo::gui::OculusWindow |
A widget that renders a camera view suitable for the Oculus Rift. More... | |
class | gazebo::gui::RectItem |
2D rectangle. More... | |
class | gazebo::gui::RotateHandle |
Handle for rotating an editor item. More... | |
class | gazebo::gui::SaveDialog |
Dialog for saving to file. More... | |
class | gazebo::gui::ScaleWidget |
Widget that displays the scale (zoom level) of the editor. More... | |
class | gazebo::gui::SegmentItem |
2D line segment. More... | |
class | gazebo::gui::StairsInspectorDialog |
Dialog for configuring a staircase item. More... | |
class | gazebo::gui::StairsItem |
2D representation of a staircase. More... | |
class | gazebo::gui::TerrainEditorPalette |
A palette of building items which can be added to the editor. More... | |
class | gazebo::gui::ToolsWidget |
A widget that manages all the tools on the right side of the render widget. More... | |
class | gazebo::gui::TopicSelector |
A widget that provides a list of topics to select from. More... | |
class | gazebo::gui::VisualConfig |
A tab for configuring visual properties of a link. More... | |
class | gazebo::gui::VisualConfigData |
A class of widgets used for configuring visual properties. More... | |
class | gazebo::gui::WallInspectorDialog |
Dialog for configuring a wall item. More... | |
class | gazebo::gui::WallSegmentItem |
2D representation of a wall. More... | |
class | gazebo::gui::WindowDoorInspectorDialog |
Dialog for configuring a window or door item. More... | |
class | gazebo::gui::WindowItem |
2D representation of a window. More... | |
Functions | |
gazebo::gui::CloneWindow::CloneWindow (QWidget *_parent=0) | |
Constructor. More... | |
gazebo::gui::ConfigChildWidget::ConfigChildWidget () | |
Constructor;. More... | |
gazebo::gui::ConfigWidget::ConfigWidget () | |
Constructor. More... | |
gazebo::gui::EntityMaker::EntityMaker (EntityMakerPrivate &_dataPtr) | |
Constructor used by inherited classes. More... | |
gazebo::gui::ModelEditorPalette::ModelEditorPalette (QWidget *_parent=0) | |
Constructor. More... | |
gazebo::gui::ModelTreeWidget::ModelTreeWidget (QWidget *_parent=0) | |
Constructor. More... | |
gazebo::gui::OculusWindow::OculusWindow (int _x, int _y, const std::string &_visual, QWidget *_parent=0) | |
Constructor. More... | |
gazebo::gui::TerrainEditorPalette::TerrainEditorPalette (QWidget *_parent=0) | |
Constructor. More... | |
virtual | gazebo::gui::CloneWindow::~CloneWindow () |
Destructor. More... | |
gazebo::gui::ConfigWidget::~ConfigWidget () | |
Destructor. More... | |
virtual | gazebo::gui::EntityMaker::~EntityMaker () |
Destructor. More... | |
gazebo::gui::ModelEditorPalette::~ModelEditorPalette () | |
Destructor. More... | |
gazebo::gui::ModelTreeWidget::~ModelTreeWidget ()=default | |
Destructor. More... | |
virtual | gazebo::gui::OculusWindow::~OculusWindow () |
Destructor. More... | |
gazebo::gui::TerrainEditorPalette::~TerrainEditorPalette () | |
Destructor. More... | |
bool | gazebo::gui::ConfigWidget::AddConfigChildWidget (const std::string &_name, ConfigChildWidget *_child) |
Register a child widget as a child of this widget, so it can be updated. More... | |
void | gazebo::gui::ModelEditorPalette::AddItem (QWidget *_item, const std::string &_category="Other") |
Add an item to the model editor palette. More... | |
bool | gazebo::gui::ConfigWidget::AddItemEnumWidget (const std::string &_name, const std::string &_itemText) |
Add an item to a child enum widget. More... | |
bool | gazebo::gui::ConfigWidget::BoolWidgetValue (const std::string &_name) const |
Get a bool value from a child widget. More... | |
bool | gazebo::gui::ConfigWidget::ClearEnumWidget (const std::string &_name) |
Remove all items from a child enum widget. More... | |
common::Color | gazebo::gui::ConfigWidget::ColorWidgetValue (const std::string &_name) const |
Get a color value from a child widget. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::ConfigChildWidgetByName (const std::string &_name) const |
Get a config child widget by its name. More... | |
unsigned int | gazebo::gui::ConfigWidget::ConfigChildWidgetCount () const |
Get the number of child widgets. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateBoolWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring a bool value. More... | |
bool | gazebo::gui::OculusWindow::CreateCamera () |
Initialize Oculus and create a camera. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateColorWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring a color value. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateDoubleWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring a double value. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateEnumWidget (const std::string &_key, const std::vector< std::string > &_values, const int _level=0) |
Create a widget for configuring an enum value. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateGeometryWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring a geometry value. More... | |
GroupWidget * | gazebo::gui::ConfigWidget::CreateGroupWidget (const std::string &_name, ConfigChildWidget *_childWidget, const int _level=0) |
Create a widget which has a button header which collapses the field widget. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateIntWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring an integer value. More... | |
void | gazebo::gui::ModelEditorPalette::CreateJoint (const std::string &_type) |
Add a joint to the model. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreatePoseWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring a pose value. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateStringWidget (const std::string &_key, const int _level=0, const std::string &_type="line") |
Create a widget for configuring a string value. More... | |
virtual void | gazebo::gui::EntityMaker::CreateTheEntity ()=0 |
Creates the entity. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateUIntWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring an unsigned integer value. More... | |
ConfigChildWidget * | gazebo::gui::ConfigWidget::CreateVector3dWidget (const std::string &_key, const int _level=0) |
Create a widget for configuring a vector3 value. More... | |
double | gazebo::gui::ConfigWidget::DoubleWidgetValue (const std::string &_name) const |
Get a double value from a child widget. More... | |
virtual ignition::math::Vector3d | gazebo::gui::EntityMaker::EntityPosition () const |
Returns the entity world position. More... | |
std::string | gazebo::gui::ConfigWidget::EnumWidgetValue (const std::string &_name) const |
Get an enum value from a child widget. More... | |
std::string | gazebo::gui::ConfigWidget::GeometryWidgetValue (const std::string &_name, ignition::math::Vector3d &_dimensions, std::string &_uri) const |
Get a geometry value from a child widget. More... | |
bool | gazebo::gui::ConfigWidget::GetBoolWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get a bool value from a child widget. More... | |
common::Color | gazebo::gui::ConfigWidget::GetColorWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get a color value from a child widget. More... | |
double | gazebo::gui::ConfigWidget::GetDoubleWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get a double value from a child widget. More... | |
std::string | gazebo::gui::ConfigWidget::GetEnumWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get an enum value from a child widget. More... | |
std::string | gazebo::gui::ConfigWidget::GetGeometryWidgetValue (const std::string &_name, math::Vector3 &_dimensions, std::string &_uri) const GAZEBO_DEPRECATED(7.0) |
Get a geometry value from a child widget. More... | |
std::string | gazebo::gui::ConfigWidget::GetHumanReadableKey (const std::string &_key) GAZEBO_DEPRECATED(7.0) |
Create a human readable key, capitalizing the first letter and removing characters like "_". More... | |
int | gazebo::gui::ConfigWidget::GetIntWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get an integer value from a child widget. More... | |
ModelCreator * | gazebo::gui::ModelEditorPalette::GetModelCreator () |
Get the model creator. More... | |
google::protobuf::Message * | gazebo::gui::ConfigWidget::GetMsg () GAZEBO_DEPRECATED(7.0) |
Get the updated message. More... | |
int | gazebo::gui::CloneWindow::GetPort () GAZEBO_DEPRECATED(7.0) |
Get the port for the new gzserver specified by the user. More... | |
math::Pose | gazebo::gui::ConfigWidget::GetPoseWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get a pose value from a child widget. More... | |
void | gazebo::gui::ConfigWidget::GetRangeFromKey (const std::string &_key, double &_min, double &_max) GAZEBO_DEPRECATED(7.0) |
Returns the range for a given key. More... | |
std::string | gazebo::gui::ConfigWidget::GetStringWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get a string value from a child widget. More... | |
unsigned int | gazebo::gui::ConfigWidget::GetUIntWidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get an unsigned integer value from a child widget. More... | |
std::string | gazebo::gui::ConfigWidget::GetUnitFromKey (const std::string &_key, const std::string &_jointType="") GAZEBO_DEPRECATED(7.0) |
Returns the unit for a given key. More... | |
math::Vector3 | gazebo::gui::ConfigWidget::GetVector3WidgetValue (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get a vector3 value from a child widget. More... | |
bool | gazebo::gui::ConfigWidget::GetWidgetReadOnly (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get whether a child widget is read-only. More... | |
bool | gazebo::gui::ConfigWidget::GetWidgetVisible (const std::string &_name) const GAZEBO_DEPRECATED(7.0) |
Get whether a child widget is visible. More... | |
std::string | gazebo::gui::ConfigWidget::HumanReadableKey (const std::string &_key) const |
Create a human readable key, capitalizing the first letter and removing characters like "_". More... | |
void | gazebo::gui::ConfigWidget::InsertLayout (QLayout *_layout, int _pos) |
Insert a layout into the config widget's layout at a specific position. More... | |
void | gazebo::gui::ModelEditorPalette::InsertWidget (unsigned int _index, QWidget *_widget) |
Add a widget inside the model editor palette widget. More... | |
int | gazebo::gui::ConfigWidget::IntWidgetValue (const std::string &_name) const |
Get an integer value from a child widget. More... | |
bool | gazebo::gui::CloneWindow::IsValidPort () const |
True if the stored port is a valid one. More... | |
void | gazebo::gui::OculusWindow::keyPressEvent (QKeyEvent *_event) |
void | gazebo::gui::ConfigWidget::Load (const google::protobuf::Message *_msg) |
Load from a google protobuf message. More... | |
google::protobuf::Message * | gazebo::gui::ConfigWidget::Msg () |
Get the updated message. More... | |
virtual void | gazebo::gui::EntityMaker::OnMouseMove (const common::MouseEvent &_event) |
Callback when moving mouse. More... | |
virtual void | gazebo::gui::EntityMaker::OnMouseRelease (const common::MouseEvent &_event) |
Callback when mouse button is released. More... | |
int | gazebo::gui::CloneWindow::Port () const |
Get the port for the new gzserver specified by the user. More... | |
ignition::math::Pose3d | gazebo::gui::ConfigWidget::PoseWidgetValue (const std::string &_name) const |
Get a pose value from a child widget. More... | |
void | gazebo::gui::ConfigWidget::RangeFromKey (const std::string &_key, double &_min, double &_max) const |
Returns the range for a given key. More... | |
bool | gazebo::gui::ConfigWidget::RemoveItemEnumWidget (const std::string &_name, const std::string &_itemText) |
Remove an item from a child enum widget. More... | |
void | gazebo::gui::ModelEditorPalette::RemoveWidget (QWidget *_widget) |
Remove a widget from the model editor palette widget. More... | |
virtual void | gazebo::gui::OculusWindow::resizeEvent (QResizeEvent *_e) |
bool | gazebo::gui::ConfigWidget::SetBoolWidgetValue (const std::string &_name, bool _value) |
Set a bool value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetColorWidgetValue (const std::string &_name, const common::Color &_value) |
Set a color value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetDoubleWidgetValue (const std::string &_name, double _value) |
Set a double value to a child widget. More... | |
virtual void | gazebo::gui::EntityMaker::SetEntityPosition (const ignition::math::Vector3d &_pos) |
Sets the entity world position. More... | |
bool | gazebo::gui::ConfigWidget::SetEnumWidgetValue (const std::string &_name, const std::string &_value) |
Set an enum value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetGeometryWidgetValue (const std::string &_name, const std::string &_value, const math::Vector3 &_dimensions, const std::string &_uri="") GAZEBO_DEPRECATED(7.0) |
Set a geometry value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetGeometryWidgetValue (const std::string &_name, const std::string &_value, const ignition::math::Vector3d &_dimensions, const std::string &_uri="") |
Set a geometry value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetIntWidgetValue (const std::string &_name, int _value) |
Set an integer value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetPoseWidgetValue (const std::string &_name, const math::Pose &_value) GAZEBO_DEPRECATED(7.0) |
Set a pose value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetPoseWidgetValue (const std::string &_name, const ignition::math::Pose3d &_value) |
Set a pose value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetStringWidgetValue (const std::string &_name, const std::string &_value) |
Set a string value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetUIntWidgetValue (const std::string &_name, unsigned int _value) |
Set an unsigned integer value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetVector3dWidgetValue (const std::string &_name, const ignition::math::Vector3d &_value) |
Set a vector3 value to a child widget. More... | |
bool | gazebo::gui::ConfigWidget::SetVector3WidgetValue (const std::string &_name, const math::Vector3 &_value) GAZEBO_DEPRECATED(7.0) |
Set a vector3 value to a child widget. More... | |
void | gazebo::gui::ConfigWidget::SetWidgetReadOnly (const std::string &_name, bool _readOnly) |
Set whether a child widget should be read-only. More... | |
void | gazebo::gui::ConfigWidget::SetWidgetVisible (const std::string &_name, bool _visible) |
Set whether a child widget should be visible. More... | |
virtual void | gazebo::gui::OculusWindow::showEvent (QShowEvent *_e) |
virtual void | gazebo::gui::EntityMaker::Start () |
Start the maker. More... | |
virtual void | gazebo::gui::EntityMaker::Stop () |
Stop the maker. More... | |
std::string | gazebo::gui::ConfigWidget::StringWidgetValue (const std::string &_name) const |
Get a string value from a child widget. More... | |
static QString | gazebo::gui::ConfigWidget::StyleSheet (const std::string &_type, const int _level=0) |
Get a style sheet in string format, to be applied to a child config widget with setStyleSheet. More... | |
unsigned int | gazebo::gui::ConfigWidget::UIntWidgetValue (const std::string &_name) const |
Get an unsigned integer value from a child widget. More... | |
std::string | gazebo::gui::ConfigWidget::UnitFromKey (const std::string &_key, const std::string &_jointType="") const |
Returns the unit for a given key. More... | |
void | gazebo::gui::ConfigWidget::UpdateFromMsg (const google::protobuf::Message *_msg) |
Update the widgets from a message. More... | |
ignition::math::Vector3d | gazebo::gui::ConfigWidget::Vector3dWidgetValue (const std::string &_name) const |
Get a vector3 value from a child widget. More... | |
bool | gazebo::gui::ConfigWidget::WidgetReadOnly (const std::string &_name) const |
Get whether a child widget is read-only. More... | |
bool | gazebo::gui::ConfigWidget::WidgetVisible (const std::string &_name) const |
Get whether a child widget is visible. More... | |
Variables | |
static const std::vector< QString > | gazebo::gui::ConfigWidget::bgColors |
List of colors used for the background of widgets according to their level. More... | |
static const QString | gazebo::gui::ConfigWidget::blueColor |
Blue color used for "blue" or "z" fields. More... | |
QWidget * | gazebo::gui::GroupWidget::childWidget |
Child widget that can be collapsed or expanded. More... | |
EntityMakerPrivate * | gazebo::gui::EntityMaker::dataPtr |
QStackedWidget * | gazebo::gui::GeometryConfigWidget::geomDimensionWidget |
A stacked widget containing widgets for configuring geometry dimensions. More... | |
QWidget * | gazebo::gui::GeometryConfigWidget::geomFilenameButton |
A button for selecting the mesh filename. More... | |
QWidget * | gazebo::gui::GeometryConfigWidget::geomFilenameLabel |
A label for the mesh filename widget. More... | |
QWidget * | gazebo::gui::GeometryConfigWidget::geomFilenameLineEdit |
A line edit for editing the mesh filename. More... | |
QWidget * | gazebo::gui::GeometryConfigWidget::geomLengthLabel |
A label for the length widget. More... | |
QWidget * | gazebo::gui::GeometryConfigWidget::geomLengthSpinBox |
A spin box for configuring the length of the geometry. More... | |
QWidget * | gazebo::gui::GeometryConfigWidget::geomLengthUnitLabel |
A label for the unit of the length widget. More... | |
static const QString | gazebo::gui::ConfigWidget::greenColor |
Green color used for "green" or "y" fields. More... | |
GroupWidget * | gazebo::gui::ConfigChildWidget::groupWidget |
Pointer to group widget. More... | |
std::string | gazebo::gui::ConfigChildWidget::key |
Widget's key value. More... | |
std::map< QWidget *, QLabel * > | gazebo::gui::ConfigChildWidget::mapWidgetToUnit |
Map a widget to the label holding its unit value. More... | |
static const QString | gazebo::gui::ConfigWidget::redColor |
Red color used for "red" or "x" fields. More... | |
std::string | gazebo::gui::ConfigChildWidget::scopedName |
Widget's scoped name within parent config widget. More... | |
static const std::vector< QString > | gazebo::gui::ConfigWidget::widgetColors |
List of colors used for widget areas according to their level. More... | |
std::vector< QWidget * > | gazebo::gui::ConfigChildWidget::widgets |
List of widgets holding values, such as Spins and LineEdits. More... | |
Signals | |
void | gazebo::gui::ConfigWidget::BoolValueChanged (const QString &_name, const bool _value) |
Signal that a bool config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::ColorValueChanged (const QString &_name, const gazebo::common::Color &_value) |
Signal that a color config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::DoubleValueChanged (const QString &_name, const double _value) |
Signal that a double config widget's value has changed. More... | |
void | gazebo::gui::EnumConfigWidget::EnumValueChanged (const QString &_value) |
brief Signal an enum value change event. More... | |
void | gazebo::gui::ConfigWidget::EnumValueChanged (const QString &_name, const QString &_value) |
Signal that an enum config widget's enum value has changed. More... | |
void | gazebo::gui::ConfigWidget::GeometryValueChanged (const std::string &_name, const std::string &_value, const ignition::math::Vector3d &_dimensions, const std::string &_uri) |
Signal that a geometry config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::IntValueChanged (const QString &_name, const int _value) |
Signal that an int config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::PoseValueChanged (const QString &_name, const ignition::math::Pose3d &_pose) |
Signal that a pose config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::StringValueChanged (const QString &_name, const std::string &_value) |
Signal that a string config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::UIntValueChanged (const QString &_name, const unsigned int _value) |
Signal that a uint config widget's value has changed. More... | |
void | gazebo::gui::ConfigWidget::Vector3dValueChanged (const QString &_name, const ignition::math::Vector3d &_value) |
Signal that a vector3 config widget's value has changed. More... | |
gazebo::gui::CloneWindow::CloneWindow | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent widget pointer. |
|
inline |
Constructor;.
gazebo::gui::ConfigWidget::ConfigWidget | ( | ) |
Constructor.
|
protected |
Constructor used by inherited classes.
[in] | _dataPtr | Pointer to private data. |
gazebo::gui::ModelEditorPalette::ModelEditorPalette | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent QWidget. |
gazebo::gui::ModelTreeWidget::ModelTreeWidget | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent QWidget. |
gazebo::gui::OculusWindow::OculusWindow | ( | int | _x, |
int | _y, | ||
const std::string & | _visual, | ||
QWidget * | _parent = 0 |
||
) |
Constructor.
gazebo::gui::TerrainEditorPalette::TerrainEditorPalette | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent QWidget. |
|
virtual |
Destructor.
gazebo::gui::ConfigWidget::~ConfigWidget | ( | ) |
Destructor.
|
virtual |
Destructor.
gazebo::gui::ModelEditorPalette::~ModelEditorPalette | ( | ) |
Destructor.
|
default |
Destructor.
|
virtual |
Destructor.
gazebo::gui::TerrainEditorPalette::~TerrainEditorPalette | ( | ) |
Destructor.
bool gazebo::gui::ConfigWidget::AddConfigChildWidget | ( | const std::string & | _name, |
ConfigChildWidget * | _child | ||
) |
Register a child widget as a child of this widget, so it can be updated.
Note that the widget is not automatically added to a layout.
[in] | _name | Unique name to indentify the child within this widget |
[in] | _child | Child widget to be added. It doesn't need to be a ConfigChildWidget. |
void gazebo::gui::ModelEditorPalette::AddItem | ( | QWidget * | _item, |
const std::string & | _category = "Other" |
||
) |
Add an item to the model editor palette.
[in] | _Item | item to add. |
[in] | _category | Category to add the item too. |
bool gazebo::gui::ConfigWidget::AddItemEnumWidget | ( | const std::string & | _name, |
const std::string & | _itemText | ||
) |
Add an item to a child enum widget.
[in] | _name | Name of the child widget. |
[in] | _itemText | Enum text value. |
bool gazebo::gui::ConfigWidget::BoolWidgetValue | ( | const std::string & | _name | ) | const |
Get a bool value from a child widget.
[in] | _name | Name of the child widget. |
bool gazebo::gui::ConfigWidget::ClearEnumWidget | ( | const std::string & | _name | ) |
Remove all items from a child enum widget.
[in] | _name | Name of the child widget. |
common::Color gazebo::gui::ConfigWidget::ColorWidgetValue | ( | const std::string & | _name | ) | const |
Get a color value from a child widget.
[in] | _name | Name of the child widget. |
ConfigChildWidget* gazebo::gui::ConfigWidget::ConfigChildWidgetByName | ( | const std::string & | _name | ) | const |
Get a config child widget by its name.
[in] | _name | Scoped name of the child widget. |
unsigned int gazebo::gui::ConfigWidget::ConfigChildWidgetCount | ( | ) | const |
Get the number of child widgets.
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateBoolWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring a bool value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
bool gazebo::gui::OculusWindow::CreateCamera | ( | ) |
Initialize Oculus and create a camera.
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateColorWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring a color value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateDoubleWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring a double value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateEnumWidget | ( | const std::string & | _key, |
const std::vector< std::string > & | _values, | ||
const int | _level = 0 |
||
) |
Create a widget for configuring an enum value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _values | A list of enum values in string. |
[in] | _level | Level of the widget in the tree. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateGeometryWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring a geometry value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
GroupWidget* gazebo::gui::ConfigWidget::CreateGroupWidget | ( | const std::string & | _name, |
ConfigChildWidget * | _childWidget, | ||
const int | _level = 0 |
||
) |
Create a widget which has a button header which collapses the field widget.
[in] | _name | Header name. |
[out] | _childWidget | Widget which will be collapsed. |
[in] | _level | Level of the widget in the tree. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateIntWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring an integer value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
void gazebo::gui::ModelEditorPalette::CreateJoint | ( | const std::string & | _type | ) |
Add a joint to the model.
[in] | _type | Type of joint to add. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreatePoseWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring a pose value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateStringWidget | ( | const std::string & | _key, |
const int | _level = 0 , |
||
const std::string & | _type = "line" |
||
) |
Create a widget for configuring a string value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
[in] | _type | Type of string widget, such as "line" or "plain". |
|
protectedpure virtual |
Creates the entity.
Implemented in gazebo::gui::LightMaker.
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateUIntWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring an unsigned integer value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
ConfigChildWidget* gazebo::gui::ConfigWidget::CreateVector3dWidget | ( | const std::string & | _key, |
const int | _level = 0 |
||
) |
Create a widget for configuring a vector3 value.
[in] | _key | A key that is used as a label for the widget. |
[in] | _level | Level of the widget in the tree. |
double gazebo::gui::ConfigWidget::DoubleWidgetValue | ( | const std::string & | _name | ) | const |
Get a double value from a child widget.
[in] | _name | Name of the child widget. |
|
virtual |
Returns the entity world position.
Reimplemented in gazebo::gui::ModelMaker, and gazebo::gui::LightMaker.
std::string gazebo::gui::ConfigWidget::EnumWidgetValue | ( | const std::string & | _name | ) | const |
Get an enum value from a child widget.
[in] | _name | Name of the child widget. |
std::string gazebo::gui::ConfigWidget::GeometryWidgetValue | ( | const std::string & | _name, |
ignition::math::Vector3d & | _dimensions, | ||
std::string & | _uri | ||
) | const |
Get a geometry value from a child widget.
[in] | _name | Name of the child widget. |
[out] | _dimensions | Dimensions of geometry. |
[out] | _uri | URI of the geometry mesh, if any. |
bool gazebo::gui::ConfigWidget::GetBoolWidgetValue | ( | const std::string & | _name | ) | const |
Get a bool value from a child widget.
[in] | _name | Name of the child widget. |
common::Color gazebo::gui::ConfigWidget::GetColorWidgetValue | ( | const std::string & | _name | ) | const |
Get a color value from a child widget.
[in] | _name | Name of the child widget. |
double gazebo::gui::ConfigWidget::GetDoubleWidgetValue | ( | const std::string & | _name | ) | const |
Get a double value from a child widget.
[in] | _name | Name of the child widget. |
std::string gazebo::gui::ConfigWidget::GetEnumWidgetValue | ( | const std::string & | _name | ) | const |
Get an enum value from a child widget.
[in] | _name | Name of the child widget. |
std::string gazebo::gui::ConfigWidget::GetGeometryWidgetValue | ( | const std::string & | _name, |
math::Vector3 & | _dimensions, | ||
std::string & | _uri | ||
) | const |
Get a geometry value from a child widget.
[in] | _name | Name of the child widget. |
[out] | _dimensions | Dimensions of geometry. |
[out] | _uri | URI of the geometry mesh, if any. |
std::string gazebo::gui::ConfigWidget::GetHumanReadableKey | ( | const std::string & | _key | ) |
Create a human readable key, capitalizing the first letter and removing characters like "_".
[in] | _key | Non-human-readable key. |
int gazebo::gui::ConfigWidget::GetIntWidgetValue | ( | const std::string & | _name | ) | const |
Get an integer value from a child widget.
[in] | _name | Name of the child widget. |
ModelCreator* gazebo::gui::ModelEditorPalette::GetModelCreator | ( | ) |
Get the model creator.
google::protobuf::Message* gazebo::gui::ConfigWidget::GetMsg | ( | ) |
int gazebo::gui::CloneWindow::GetPort | ( | ) |
Get the port for the new gzserver specified by the user.
math::Pose gazebo::gui::ConfigWidget::GetPoseWidgetValue | ( | const std::string & | _name | ) | const |
Get a pose value from a child widget.
[in] | _name | Name of the child widget. |
void gazebo::gui::ConfigWidget::GetRangeFromKey | ( | const std::string & | _key, |
double & | _min, | ||
double & | _max | ||
) |
Returns the range for a given key.
For example, the key "transparency" returns min == 0, max == 1.
[in] | _key | The key. |
[out] | _min | The minimum value. |
[out] | _max | The maximum value. |
std::string gazebo::gui::ConfigWidget::GetStringWidgetValue | ( | const std::string & | _name | ) | const |
Get a string value from a child widget.
[in] | _name | Name of the child widget. |
unsigned int gazebo::gui::ConfigWidget::GetUIntWidgetValue | ( | const std::string & | _name | ) | const |
Get an unsigned integer value from a child widget.
[in] | _name | Name of the child widget. |
std::string gazebo::gui::ConfigWidget::GetUnitFromKey | ( | const std::string & | _key, |
const std::string & | _jointType = "" |
||
) |
Returns the unit for a given key.
For example, the key "mass" returns "kg".
[in] | _key | The key. |
[in] | _jointType | In case the field belongs to a joint, the joint's type. |
math::Vector3 gazebo::gui::ConfigWidget::GetVector3WidgetValue | ( | const std::string & | _name | ) | const |
Get a vector3 value from a child widget.
[in] | _name | Name of the child widget. |
bool gazebo::gui::ConfigWidget::GetWidgetReadOnly | ( | const std::string & | _name | ) | const |
Get whether a child widget is read-only.
[in] | _name | Name of the child widget. |
bool gazebo::gui::ConfigWidget::GetWidgetVisible | ( | const std::string & | _name | ) | const |
Get whether a child widget is visible.
[in] | _name | Name of the child widget. |
std::string gazebo::gui::ConfigWidget::HumanReadableKey | ( | const std::string & | _key | ) | const |
Create a human readable key, capitalizing the first letter and removing characters like "_".
[in] | _key | Non-human-readable key. |
void gazebo::gui::ConfigWidget::InsertLayout | ( | QLayout * | _layout, |
int | _pos | ||
) |
Insert a layout into the config widget's layout at a specific position.
[in] | _layout | The layout to be inserted. |
[in] | _pos | The position to insert at, 0 being the top. |
void gazebo::gui::ModelEditorPalette::InsertWidget | ( | unsigned int | _index, |
QWidget * | _widget | ||
) |
Add a widget inside the model editor palette widget.
[in] | _index | Index in the splitter to insert the widget at. |
[in] | _widget | Widget to be added. |
int gazebo::gui::ConfigWidget::IntWidgetValue | ( | const std::string & | _name | ) | const |
Get an integer value from a child widget.
[in] | _name | Name of the child widget. |
bool gazebo::gui::CloneWindow::IsValidPort | ( | ) | const |
True if the stored port is a valid one.
A valid port is an integer number in the 1025-65535 range.
|
protected |
void gazebo::gui::ConfigWidget::Load | ( | const google::protobuf::Message * | _msg | ) |
Load from a google protobuf message.
[in] | _msg | Message to load from. |
google::protobuf::Message* gazebo::gui::ConfigWidget::Msg | ( | ) |
Get the updated message.
|
virtual |
Callback when moving mouse.
[in] | _event | MouseEvent object |
|
virtual |
Callback when mouse button is released.
[in] | _event | MouseEvent object |
int gazebo::gui::CloneWindow::Port | ( | ) | const |
Get the port for the new gzserver specified by the user.
ignition::math::Pose3d gazebo::gui::ConfigWidget::PoseWidgetValue | ( | const std::string & | _name | ) | const |
Get a pose value from a child widget.
[in] | _name | Name of the child widget. |
void gazebo::gui::ConfigWidget::RangeFromKey | ( | const std::string & | _key, |
double & | _min, | ||
double & | _max | ||
) | const |
Returns the range for a given key.
For example, the key "transparency" returns min == 0, max == 1.
[in] | _key | The key. |
[out] | _min | The minimum value. |
[out] | _max | The maximum value. |
bool gazebo::gui::ConfigWidget::RemoveItemEnumWidget | ( | const std::string & | _name, |
const std::string & | _itemText | ||
) |
Remove an item from a child enum widget.
[in] | _name | Name of the child widget. |
[in] | _itemText | Text of the enum value. |
void gazebo::gui::ModelEditorPalette::RemoveWidget | ( | QWidget * | _widget | ) |
Remove a widget from the model editor palette widget.
[in] | _widget | Widget to be added. |
|
protectedvirtual |
bool gazebo::gui::ConfigWidget::SetBoolWidgetValue | ( | const std::string & | _name, |
bool | _value | ||
) |
Set a bool value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetColorWidgetValue | ( | const std::string & | _name, |
const common::Color & | _value | ||
) |
Set a color value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetDoubleWidgetValue | ( | const std::string & | _name, |
double | _value | ||
) |
Set a double value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
|
protectedvirtual |
Sets the entity world position.
[in] | _pos | New position in the world frame. |
Reimplemented in gazebo::gui::ModelMaker, and gazebo::gui::LightMaker.
bool gazebo::gui::ConfigWidget::SetEnumWidgetValue | ( | const std::string & | _name, |
const std::string & | _value | ||
) |
Set an enum value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetGeometryWidgetValue | ( | const std::string & | _name, |
const std::string & | _value, | ||
const math::Vector3 & | _dimensions, | ||
const std::string & | _uri = "" |
||
) |
Set a geometry value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Type of geometry. |
[in] | _dimensions | Dimensions of geometry. |
bool gazebo::gui::ConfigWidget::SetGeometryWidgetValue | ( | const std::string & | _name, |
const std::string & | _value, | ||
const ignition::math::Vector3d & | _dimensions, | ||
const std::string & | _uri = "" |
||
) |
Set a geometry value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Type of geometry. |
[in] | _dimensions | Dimensions of geometry. |
bool gazebo::gui::ConfigWidget::SetIntWidgetValue | ( | const std::string & | _name, |
int | _value | ||
) |
Set an integer value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetPoseWidgetValue | ( | const std::string & | _name, |
const math::Pose & | _value | ||
) |
Set a pose value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetPoseWidgetValue | ( | const std::string & | _name, |
const ignition::math::Pose3d & | _value | ||
) |
Set a pose value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetStringWidgetValue | ( | const std::string & | _name, |
const std::string & | _value | ||
) |
Set a string value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetUIntWidgetValue | ( | const std::string & | _name, |
unsigned int | _value | ||
) |
Set an unsigned integer value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetVector3dWidgetValue | ( | const std::string & | _name, |
const ignition::math::Vector3d & | _value | ||
) |
Set a vector3 value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
bool gazebo::gui::ConfigWidget::SetVector3WidgetValue | ( | const std::string & | _name, |
const math::Vector3 & | _value | ||
) |
Set a vector3 value to a child widget.
[in] | _name | Name of the child widget. |
[in] | _value | Value to set to. |
void gazebo::gui::ConfigWidget::SetWidgetReadOnly | ( | const std::string & | _name, |
bool | _readOnly | ||
) |
Set whether a child widget should be read-only.
[in] | _name | Name of the child widget. |
[in] | _visible | True to set the widget to be read-only. |
void gazebo::gui::ConfigWidget::SetWidgetVisible | ( | const std::string & | _name, |
bool | _visible | ||
) |
Set whether a child widget should be visible.
[in] | _name | Name of the child widget. |
[in] | _visible | True to set the widget to be visible. |
|
protectedvirtual |
|
virtual |
Start the maker.
Reimplemented in gazebo::gui::LightMaker.
|
virtual |
Stop the maker.
Reimplemented in gazebo::gui::ModelMaker, and gazebo::gui::LightMaker.
std::string gazebo::gui::ConfigWidget::StringWidgetValue | ( | const std::string & | _name | ) | const |
Get a string value from a child widget.
[in] | _name | Name of the child widget. |
|
static |
Get a style sheet in string format, to be applied to a child config widget with setStyleSheet.
[in] | _type | Type of style sheet, such as "warning", "active", "normal". |
[in] | _level | Level of widget in the tree. |
unsigned int gazebo::gui::ConfigWidget::UIntWidgetValue | ( | const std::string & | _name | ) | const |
Get an unsigned integer value from a child widget.
[in] | _name | Name of the child widget. |
std::string gazebo::gui::ConfigWidget::UnitFromKey | ( | const std::string & | _key, |
const std::string & | _jointType = "" |
||
) | const |
Returns the unit for a given key.
For example, the key "mass" returns "kg".
[in] | _key | The key. |
[in] | _jointType | In case the field belongs to a joint, the joint's type. |
void gazebo::gui::ConfigWidget::UpdateFromMsg | ( | const google::protobuf::Message * | _msg | ) |
Update the widgets from a message.
[in] | _msg | Message used for updating the widgets. |
ignition::math::Vector3d gazebo::gui::ConfigWidget::Vector3dWidgetValue | ( | const std::string & | _name | ) | const |
Get a vector3 value from a child widget.
[in] | _name | Name of the child widget. |
bool gazebo::gui::ConfigWidget::WidgetReadOnly | ( | const std::string & | _name | ) | const |
Get whether a child widget is read-only.
[in] | _name | Name of the child widget. |
bool gazebo::gui::ConfigWidget::WidgetVisible | ( | const std::string & | _name | ) | const |
Get whether a child widget is visible.
[in] | _name | Name of the child widget. |
|
static |
List of colors used for the background of widgets according to their level.
|
static |
Blue color used for "blue" or "z" fields.
QWidget* gazebo::gui::GroupWidget::childWidget |
Child widget that can be collapsed or expanded.
|
protected |
QStackedWidget* gazebo::gui::GeometryConfigWidget::geomDimensionWidget |
A stacked widget containing widgets for configuring geometry dimensions.
QWidget* gazebo::gui::GeometryConfigWidget::geomFilenameButton |
A button for selecting the mesh filename.
QWidget* gazebo::gui::GeometryConfigWidget::geomFilenameLabel |
A label for the mesh filename widget.
QWidget* gazebo::gui::GeometryConfigWidget::geomFilenameLineEdit |
A line edit for editing the mesh filename.
QWidget* gazebo::gui::GeometryConfigWidget::geomLengthLabel |
A label for the length widget.
QWidget* gazebo::gui::GeometryConfigWidget::geomLengthSpinBox |
A spin box for configuring the length of the geometry.
QWidget* gazebo::gui::GeometryConfigWidget::geomLengthUnitLabel |
A label for the unit of the length widget.
|
static |
Green color used for "green" or "y" fields.
GroupWidget* gazebo::gui::ConfigChildWidget::groupWidget |
Pointer to group widget.
NULL if this widget is not contained inside a group widget.
std::string gazebo::gui::ConfigChildWidget::key |
Widget's key value.
std::map<QWidget *, QLabel *> gazebo::gui::ConfigChildWidget::mapWidgetToUnit |
Map a widget to the label holding its unit value.
|
static |
Red color used for "red" or "x" fields.
std::string gazebo::gui::ConfigChildWidget::scopedName |
Widget's scoped name within parent config widget.
|
static |
List of colors used for widget areas according to their level.
std::vector<QWidget *> gazebo::gui::ConfigChildWidget::widgets |
List of widgets holding values, such as Spins and LineEdits.
|
signal |
Signal that a bool config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New bool. |
|
signal |
Signal that a color config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New color. |
|
signal |
Signal that a double config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New double. |
|
signal |
brief Signal an enum value change event.
[in] | _value | New enum value in string. |
|
signal |
Signal that an enum config widget's enum value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New enum value string. |
|
signal |
Signal that a geometry config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New geometry name, such as "box". |
[in] | _dimensions | New dimensions. |
[in] | _uri | New uri, for meshes. |
|
signal |
Signal that an int config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New int. |
|
signal |
Signal that a pose config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _pose | New pose. |
|
signal |
Signal that a string config widget's value has changed.
Note that only single line widgets will emit signals, so plain text widgets don't emit signals.
[in] | _name | Scoped name of widget. |
[in] | _value | New string. |
|
signal |
Signal that a uint config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New uint. |
|
signal |
Signal that a vector3 config widget's value has changed.
[in] | _name | Scoped name of widget. |
[in] | _value | New vector3. |