17 #ifndef GAZEBO_RENDERING_CONVERSIONS_HH_
18 #define GAZEBO_RENDERING_CONVERSIONS_HH_
20 #include <ignition/math/Color.hh>
21 #include <ignition/math/Matrix4.hh>
22 #include <ignition/math/Quaternion.hh>
23 #include <ignition/math/Vector3.hh>
53 public:
static Ogre::ColourValue
Convert(
54 const ignition::math::Color &_clr);
59 public:
static ignition::math::Color
Convert(
60 const Ogre::ColourValue &_clr);
65 public:
static ignition::math::Vector3d
ConvertIgn(
66 const Ogre::Vector3 &_v);
71 public:
static Ogre::Vector3
Convert(
const ignition::math::Vector3d &_v);
76 public:
static ignition::math::Quaterniond
ConvertIgn(
77 const Ogre::Quaternion &_q);
82 public:
static Ogre::Quaternion
Convert(
83 const ignition::math::Quaterniond &_q);
88 public:
static ignition::math::Matrix4d
ConvertIgn(
89 const Ogre::Matrix4 &_m);
94 public:
static Ogre::Matrix4
Convert(
const ignition::math::Matrix4d &_m);
99 public:
static Ogre::Node::TransformSpace
Convert(
106 const Ogre::Node::TransformSpace &_ts);
ReferenceFrame
Frame of reference.
Definition: RenderTypes.hh:244
GAZEBO_VISIBLE ignition::math::Vector3d ConvertIgn(const msgs::Vector3d &_v)
Convert a msgs::Vector3d to an ignition::math::Vector.
GAZEBO_VISIBLE msgs::Vector3d Convert(const ignition::math::Vector3d &_v)
Convert a ignition::math::Vector3 to a msgs::Vector3d.
Conversions Conversions.hh rendering/Conversions.hh.
Definition: rendering/Conversions.hh:41
Defines a color.
Definition: Color.hh:36
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:328