Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE2_OGRE2CONVERSIONS_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2CONVERSIONS_HH_
20 #include <gz/math/Color.hh>
21 #include <gz/math/Matrix4.hh>
22 #include <gz/math/Quaternion.hh>
23 #include <gz/math/Vector3.hh>
25 #include "gz/rendering/config.hh"
28 #include "gz/rendering/ogre2/Export.hh"
34 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
47 public:
static Ogre::ColourValue Convert(
54 const Ogre::ColourValue &_color);
59 public:
static Ogre::Vector3 Convert(
const math::Vector3d &_vector);
64 public:
static math::Vector3d Convert(
const Ogre::Vector3 &_vector);
79 public:
static Ogre::Radian Convert(
const math::Angle &_angle);
84 public:
static math::Angle Convert(
const Ogre::Radian &_angle);
PixelFormat
Image pixel format types.
Definition: gz/rendering/PixelFormat.hh:32
Conversions Conversions.hh rendering/Conversions.hh.
Definition: gz/rendering/ogre2/Ogre2Conversions.hh:42
@ PF_COUNT
< Number of pixel format types
Definition: gz/rendering/PixelFormat.hh:59