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

Dialog for configuring a staircase item. More...

#include <StairsInspectorDialog.hh>

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

Public Member Functions

 StairsInspectorDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~StairsInspectorDialog ()
 Destructor. More...
 
double Depth () const
 Get the depth the staircase. More...
 
double Height () const
 Get the height the staircase. More...
 
void SetDepth (const double _depth)
 Set the depth of the staircase. More...
 
void SetHeight (const double _height)
 Set the height of the staircase. More...
 
void SetName (const std::string &_name)
 Set the name of the staircase. More...
 
void SetStartPosition (const ignition::math::Vector2d &_pos)
 Set the start position of the staircase. More...
 
void SetSteps (const int _steps)
 Set the number of steps in the staircase. More...
 
void SetWidth (const double _width)
 Set the width of the staircase. More...
 
ignition::math::Vector2d StartPosition () const
 Get start position (bottom-end) of the staircase. More...
 
int Steps () const
 Get the number of steps in the staircase. More...
 
double Width () const
 Get the width the staircase. 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 staircase item.

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Member Function Documentation

double gazebo::gui::StairsInspectorDialog::Depth ( ) const

Get the depth the staircase.

Returns
Staircase depth in pixels.
double gazebo::gui::StairsInspectorDialog::Height ( ) const

Get the height the staircase.

Returns
Staircase height in pixels.
void gazebo::gui::StairsInspectorDialog::SetDepth ( const double  _depth)

Set the depth of the staircase.

Parameters
[in]_depthDepth in pixels.
void gazebo::gui::StairsInspectorDialog::SetHeight ( const double  _height)

Set the height of the staircase.

Parameters
[in]_heightHeight in pixels.
void gazebo::gui::StairsInspectorDialog::SetName ( const std::string &  _name)

Set the name of the staircase.

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

Set the start position of the staircase.

Parameters
[in]_posStart position in pixel coordinates.
void gazebo::gui::StairsInspectorDialog::SetSteps ( const int  _steps)

Set the number of steps in the staircase.

Parameters
[in]_stepsNumber of steps.
void gazebo::gui::StairsInspectorDialog::SetWidth ( const double  _width)

Set the width of the staircase.

Parameters
[in]_widthWidth in pixels.
ignition::math::Vector2d gazebo::gui::StairsInspectorDialog::StartPosition ( ) const

Get start position (bottom-end) of the staircase.

Returns
The start position of the staircase in pixel coordinates.
int gazebo::gui::StairsInspectorDialog::Steps ( ) const

Get the number of steps in the staircase.

Returns
Number of steps in the staircase.
double gazebo::gui::StairsInspectorDialog::Width ( ) const

Get the width the staircase.

Returns
Staircase width in pixels.

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