Dialog for configuring a staircase item.
More...
#include <StairsInspectorDialog.hh>
Dialog for configuring a staircase item.
gazebo::gui::StairsInspectorDialog::StairsInspectorDialog |
( |
QWidget * |
_parent = 0 | ) |
|
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget. |
gazebo::gui::StairsInspectorDialog::~StairsInspectorDialog |
( |
| ) |
|
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] | _depth | Depth in pixels. |
void gazebo::gui::StairsInspectorDialog::SetHeight |
( |
const double |
_height | ) |
|
Set the height of the staircase.
- Parameters
-
[in] | _height | Height in pixels. |
void gazebo::gui::StairsInspectorDialog::SetName |
( |
const std::string & |
_name | ) |
|
Set the name of the staircase.
- Parameters
-
void gazebo::gui::StairsInspectorDialog::SetStartPosition |
( |
const ignition::math::Vector2d & |
_pos | ) |
|
Set the start position of the staircase.
- Parameters
-
[in] | _pos | Start position in pixel coordinates. |
void gazebo::gui::StairsInspectorDialog::SetSteps |
( |
const int |
_steps | ) |
|
Set the number of steps in the staircase.
- Parameters
-
[in] | _steps | Number of steps. |
void gazebo::gui::StairsInspectorDialog::SetWidth |
( |
const double |
_width | ) |
|
Set the width of the staircase.
- Parameters
-
[in] | _width | Width 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: