Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_CONVERSIONS_HH_
18 #define GAZEBO_GUI_CONVERSIONS_HH_
20 #include <ignition/math/Color.hh>
21 #include <ignition/math/Vector2.hh>
22 #include <ignition/math/Vector3.hh>
43 public:
static QColor
Convert(
const ignition::math::Color &_color);
48 public:
static ignition::math::Color
Convert(
const QColor &_color);
53 public:
static QPointF
Convert(
const ignition::math::Vector2d &_pt);
58 public:
static ignition::math::Vector2d
Convert(
const QPointF &_pt);
63 public:
static QVector3D
Convert(
const ignition::math::Vector3d &_vec);
68 public:
static ignition::math::Vector3d
Convert(
const QVector3D &_vec);
static QVector3D Convert(const ignition::math::Vector3d &_vec)
Return the equivalent qt vector 3d.
Forward declarations for the common classes.
Definition: Animation.hh:27
Conversions Conversions.hh gui/Conversions.hh.
Definition: gui/Conversions.hh:39
static ignition::math::Vector2d Convert(const QPointF &_pt)
Return the equivalent ignition vector.
static QColor Convert(const ignition::math::Color &_color)
Return the equivalent Qt color.
static QPointF Convert(const ignition::math::Vector2d &_pt)
Return the equivalent QPointF.
static ignition::math::Color Convert(const QColor &_color)
Return the equivalent Ignition Math color.
gui
Definition: KeyEventHandler.hh:29
static ignition::math::Vector3d Convert(const QVector3D &_vec)
Return the equivalent ignition vector 3d.