gz/rendering/ogre2/Ogre2Conversions.hh
Go to the documentation of this file.
Conversions Conversions.hh rendering/Conversions.hh.
Definition: gz/rendering/ogre2/Ogre2Conversions.hh:54
static math::Angle Convert(const Ogre::Radian &_angle)
Ogre angle to ign-math angle.
static math::Color Convert(const Ogre::ColourValue &_color)
Return the equivalent ign-math color.
static Ogre::PixelFormatGpu Convert(PixelFormat _format)
Ign-rendering PixelFormat to Ogre PixelFormat.
static math::Matrix4d Convert(const Ogre::Matrix4 &_m)
Ogre Matrix4 to ignition math Matrix4d.
static Ogre::Radian Convert(const math::Angle &_angle)
Ign-math angle to Ogre angle.
static math::Vector3d Convert(const Ogre::Vector3 &_vector)
return ign-math Vector from ogre Vector3
static Ogre::ColourValue Convert(const math::Color &_color)
Return the equivalent ogre color.
static Ogre::Quaternion Convert(const math::Quaterniond &_quat)
Ign-math quaternion to Ogre quaternion.
static Ogre::Matrix4 Convert(const math::Matrix4d &_m)
Ignition math Matrix4d to Ogre Matrix4.
static Ogre::Vector3 Convert(const math::Vector3d &_vector)
return Ogre Vector from ign-math Vector3
static math::Quaterniond Convert(const Ogre::Quaternion &_quat)
Ogre quaternion to ign-math quaternion.
PixelFormat
Image pixel format types.
Definition: gz/rendering/PixelFormat.hh:33
@ PF_COUNT
< Number of pixel format types
Definition: gz/rendering/PixelFormat.hh:61