Conversions Conversions.hh gui/Conversions.hh.
More...
#include <Conversions.hh>
Conversions Conversions.hh gui/Conversions.hh.
A set of utility function to convert between Gazebo and Qt data types
static QColor gazebo::gui::Conversions::Convert |
( |
const common::Color & |
_color | ) |
|
|
static |
Return the equivalent qt color.
- Parameters
-
[in] | _color | Gazebo color to convert |
- Returns
- Qt color value
static common::Color gazebo::gui::Conversions::Convert |
( |
const QColor & |
_color | ) |
|
|
static |
Return the equivalent gazebo color.
- Parameters
-
[in] | _color | Qt color to convert |
- Returns
- Gazebo color value
static QPointF gazebo::gui::Conversions::Convert |
( |
const ignition::math::Vector2d & |
_pt | ) |
|
|
static |
Return the equivalent QPointF.
- Parameters
-
[in] | _point | Ignition vector to convert. |
- Returns
- QPointF.
static ignition::math::Vector2d gazebo::gui::Conversions::Convert |
( |
const QPointF & |
_pt | ) |
|
|
static |
Return the equivalent ignition vector.
- Parameters
-
[in] | _color | QPointF to convert |
- Returns
- Ignition Vector2d.
The documentation for this class was generated from the following file: