Signals | 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]

Signals

void Applied ()
 Qt signal emitted to indicate that changes should be applied. More...
 

Public Member Functions

 WallInspectorDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~WallInspectorDialog ()
 Destructor. More...
 
QPointF GetEndPosition () const
 Get the end position of the wall segment. More...
 
double GetHeight () const
 Get the height of the wall. More...
 
double GetLength () const
 Get the length the wall segment. More...
 
QPointF GetStartPosition () const
 Get the start position of the wall segment. More...
 
double GetThickness () const
 Get the thickness of the wall. More...
 
void SetEndPosition (const QPointF &_pos)
 Set the end position of the wall segment. More...
 
void SetHeight (double _height)
 Set the height of the wall. More...
 
void SetLength (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 QPointF &_pos)
 Set the start position of the wall segment. More...
 
void SetThickness (double _thickness)
 Set the thickness of the wall. More...
 
- Public Member Functions inherited from gazebo::gui::BaseInspectorDialog
 BaseInspectorDialog (QWidget *_parent)
 Constructor. More...
 
 ~BaseInspectorDialog ()
 Destructor. More...
 
QColor GetColor () const
 Get the color. More...
 
QString GetTexture () const
 Get the texture. More...
 
void InitColorComboBox ()
 Initiate color combo box. More...
 
void InitTextureComboBox ()
 Initiate texture combo box. More...
 
void SetColor (const QColor _color)
 Set the color. More...
 
void SetTexture (const QString _texture)
 Set the texture. More...
 

Additional Inherited Members

- Public Attributes inherited from gazebo::gui::BaseInspectorDialog
QComboBox * colorComboBox
 Combo box for selecting the color. More...
 
std::vector< QColor > colorList
 Vector of color options. More...
 
QComboBox * textureComboBox
 Combo box for selecting the texture. More...
 
std::vector< QString > textureList
 Vector of texture options. 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

void gazebo::gui::WallInspectorDialog::Applied ( )
signal

Qt signal emitted to indicate that changes should be applied.

QPointF gazebo::gui::WallInspectorDialog::GetEndPosition ( ) const

Get the end position of the wall segment.

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

Get the height of the wall.

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

Get the length the wall segment.

Returns
Wall segment length in pixels.
QPointF gazebo::gui::WallInspectorDialog::GetStartPosition ( ) const

Get the start position of the wall segment.

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

Get the thickness of the wall.

Returns
Wall thickness in pixels.
void gazebo::gui::WallInspectorDialog::SetEndPosition ( const QPointF &  _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 ( double  _height)

Set the height of the wall.

Parameters
[in]_heightHeight of wall in pixels.
void gazebo::gui::WallInspectorDialog::SetLength ( 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 QPointF &  _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 ( double  _thickness)

Set the thickness of the wall.

Parameters
[in]_thicknessThickness of wall in pixels.

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