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

Dialog for configuring a wall item. More...

#include <WallInspectorDialog.hh>

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

Public Member Functions

 WallInspectorDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~WallInspectorDialog ()
 Destructor. More...
 
ignition::math::Vector2d EndPosition () const
 Get the end position of the wall segment. More...
 
double Height () const
 Get the height of the wall. More...
 
double Length () const
 Get the length the wall segment. More...
 
void SetEndPosition (const ignition::math::Vector2d &_pos)
 Set the end position of the wall segment. More...
 
void SetHeight (const double _height)
 Set the height of the wall. More...
 
void SetLength (const double _length)
 Set the length of the wall segment. More...
 
void SetName (const std::string &_name)
 Set the name of the wall. More...
 
void SetStartPosition (const ignition::math::Vector2d &_pos)
 Set the start position of the wall segment. More...
 
void SetThickness (const double _thickness)
 Set the thickness of the wall. More...
 
ignition::math::Vector2d StartPosition () const
 Get the start position of the wall segment. More...
 
double Thickness () const
 Get the thickness of the wall. More...
 
- Public Member Functions inherited from gazebo::gui::BaseInspectorDialog
 BaseInspectorDialog (QWidget *_parent)
 Constructor. More...
 
 ~BaseInspectorDialog ()
 Destructor. More...
 
common::Color Color () const
 Get the color. More...
 
void InitColorComboBox ()
 Initiate color combo box. More...
 
void InitTextureComboBox ()
 Initiate texture combo box. More...
 
void SetColor (const common::Color &_color)
 Set the color. More...
 
void SetTexture (const std::string &_texture)
 Set the texture. More...
 
std::string Texture () const
 Get the texture. More...
 

Additional Inherited Members

- Signals inherited from gazebo::gui::BaseInspectorDialog
void Applied ()
 Qt signal emitted to indicate that changes should be applied. More...
 
- Protected Slots inherited from gazebo::gui::BaseInspectorDialog
void OnApply ()
 Qt callback when the Apply button is pressed. More...
 
void OnCancel ()
 Qt callback when the Cancel button is pressed. More...
 
void OnOK ()
 Qt callback when the Ok button is pressed. More...
 
- Protected Attributes inherited from gazebo::gui::BaseInspectorDialog
QComboBox * colorComboBox
 Combo box for selecting the color. More...
 
QComboBox * textureComboBox
 Combo box for selecting the texture. More...
 

Detailed Description

Dialog for configuring a wall item.

Constructor & Destructor Documentation

gazebo::gui::WallInspectorDialog::WallInspectorDialog ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.
gazebo::gui::WallInspectorDialog::~WallInspectorDialog ( )

Destructor.

Member Function Documentation

ignition::math::Vector2d gazebo::gui::WallInspectorDialog::EndPosition ( ) const

Get the end position of the wall segment.

Returns
Wall segment end position in pixel coordinates.
double gazebo::gui::WallInspectorDialog::Height ( ) const

Get the height of the wall.

Returns
Wall height in pixels.
double gazebo::gui::WallInspectorDialog::Length ( ) const

Get the length the wall segment.

Returns
Wall segment length in pixels.
void gazebo::gui::WallInspectorDialog::SetEndPosition ( const ignition::math::Vector2d &  _pos)

Set the end position of the wall segment.

Parameters
[in]_posend position of the wall segment in pixel coordinates.
void gazebo::gui::WallInspectorDialog::SetHeight ( const double  _height)

Set the height of the wall.

Parameters
[in]_heightHeight of wall in pixels.
void gazebo::gui::WallInspectorDialog::SetLength ( const double  _length)

Set the length of the wall segment.

Parameters
[in]_lengthLength of the wall segment in pixels.
void gazebo::gui::WallInspectorDialog::SetName ( const std::string &  _name)

Set the name of the wall.

Parameters
[in]_nameName to set the wall to.
void gazebo::gui::WallInspectorDialog::SetStartPosition ( const ignition::math::Vector2d &  _pos)

Set the start position of the wall segment.

Parameters
[in]_posStart position of the wall segment in pixel coordinates.
void gazebo::gui::WallInspectorDialog::SetThickness ( const double  _thickness)

Set the thickness of the wall.

Parameters
[in]_thicknessThickness of wall in pixels.
ignition::math::Vector2d gazebo::gui::WallInspectorDialog::StartPosition ( ) const

Get the start position of the wall segment.

Returns
Wall segment start position in pixel coordinates.
double gazebo::gui::WallInspectorDialog::Thickness ( ) const

Get the thickness of the wall.

Returns
Wall thickness in pixels.

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