Gazebo Gui

API Reference

9.0.0
Conversions.hh File Reference
#include <gz/common/KeyEvent.hh>
#include <gz/common/MouseEvent.hh>
#include <gz/math/Color.hh>
#include <gz/math/Vector2.hh>
#include <gz/math/Vector3.hh>
#include "gz/gui/qt.h"
#include "gz/gui/Export.hh"

Go to the source code of this file.

Namespaces

namespace  gz
 
namespace  gz::common
 
namespace  gz::gui
 

Functions

QColor convert (const math::Color &_color)
 Return the equivalent Qt color.
 
QPointF convert (const math::Vector2d &_pt)
 Return the equivalent QPointF.
 
QVector3D convert (const math::Vector3d &_vec)
 Return the equivalent Qt vector 3d.
 
math::Color convert (const QColor &_color)
 Return the equivalent Gazebo color.
 
common::KeyEvent convert (const QKeyEvent &_e)
 Return the equivalent Gazebo key event.
 
common::MouseEvent convert (const QMouseEvent &_e)
 Return the equivalent Gazebo mouse event.
 
math::Vector2d convert (const QPointF &_pt)
 Return the equivalent Gazebo vector.
 
math::Vector3d convert (const QVector3D &_vec)
 Return the equivalent Gazebo vector 3d.
 
common::MouseEvent convert (const QWheelEvent &_e)
 Return the equivalent Gazebo mouse event.