Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_BUILDING_STAIRSINSPECTORDIALOG_HH_
18 #define GAZEBO_GUI_BUILDING_STAIRSINSPECTORDIALOG_HH_
22 #include <ignition/math/Vector2.hh>
34 class StairsInspectorDialogPrivate;
55 public: ignition::math::Vector2d StartPosition()
const;
59 public:
double Width()
const;
63 public:
double Depth()
const;
67 public:
double Height()
const;
71 public:
int Steps()
const;
75 public:
void SetName(
const std::string &_name);
79 public:
void SetStartPosition(
const ignition::math::Vector2d &_pos);
83 public:
void SetWidth(
const double _width);
87 public:
void SetDepth(
const double _depth);
91 public:
void SetHeight(
const double _height);
95 public:
void SetSteps(
const int _steps);
99 private: std::unique_ptr<StairsInspectorDialogPrivate> dataPtr;
int Steps() const
Get the number of steps in the staircase.
void SetDepth(const double _depth)
Set the depth of the staircase.
Forward declarations for the common classes.
Definition: Animation.hh:26
double Width() const
Get the width the staircase.
void SetName(const std::string &_name)
Set the name of the staircase.
~StairsInspectorDialog()
Destructor.
void SetSteps(const int _steps)
Set the number of steps in the staircase.
Base Dialog for a specific inspector dialog.
Definition: BaseInspectorDialog.hh:39
double Height() const
Get the height the staircase.
ignition::math::Vector2d StartPosition() const
Get start position (bottom-end) of the staircase.
void SetStartPosition(const ignition::math::Vector2d &_pos)
Set the start position of the staircase.
Dialog for configuring a staircase item.
Definition: StairsInspectorDialog.hh:41
double Depth() const
Get the depth the staircase.
void SetHeight(const double _height)
Set the height of the staircase.
void SetWidth(const double _width)
Set the width of the staircase.
gui
Definition: KeyEventHandler.hh:29
StairsInspectorDialog(QWidget *_parent=0)
Constructor.