Ogre2Conversions Class Reference
Conversions Conversions.hh rendering/Conversions.hh. More...
#include <Ogre2Conversions.hh>
Static Public Member Functions | |
static Ogre::Radian | Convert (const math::Angle &_angle) |
Ign-math angle to Ogre angle. More... | |
static Ogre::ColourValue | Convert (const math::Color &_color) |
Return the equivalent ogre color. More... | |
static Ogre::Matrix4 | Convert (const math::Matrix4d &_m) |
Ignition math Matrix4d to Ogre Matrix4. More... | |
static Ogre::Quaternion | Convert (const math::Quaterniond &_quat) |
Ign-math quaternion to Ogre quaternion. More... | |
static Ogre::Vector3 | Convert (const math::Vector3d &_vector) |
return Ogre Vector from ign-math Vector3 More... | |
static math::Color | Convert (const Ogre::ColourValue &_color) |
Return the equivalent ign-math color. More... | |
static math::Matrix4d | Convert (const Ogre::Matrix4 &_m) |
Ogre Matrix4 to ignition math Matrix4d. More... | |
static math::Quaterniond | Convert (const Ogre::Quaternion &_quat) |
Ogre quaternion to ign-math quaternion. More... | |
static math::Angle | Convert (const Ogre::Radian &_angle) |
Ogre angle to ign-math angle. More... | |
static math::Vector3d | Convert (const Ogre::Vector3 &_vector) |
return ign-math Vector from ogre Vector3 More... | |
static Ogre::PixelFormatGpu | Convert (PixelFormat _format) |
Ign-rendering PixelFormat to Ogre PixelFormat. More... | |
Detailed Description
Conversions Conversions.hh rendering/Conversions.hh.
A set of utility function to convert between Ignition and Ogre data types
Member Function Documentation
◆ Convert() [1/11]
|
static |
◆ Convert() [2/11]
|
static |
Return the equivalent ogre color.
- Parameters
-
[in] _color ign-math color to convert
- Returns
- Ogre color value
◆ Convert() [3/11]
|
static |
◆ Convert() [4/11]
|
static |
◆ Convert() [5/11]
|
static |
◆ Convert() [6/11]
|
static |
Return the equivalent ign-math color.
- Parameters
-
[in] _color Ogre color to convert
- Returns
- ign-math color value
◆ Convert() [7/11]
|
static |
◆ Convert() [8/11]
|
static |
◆ Convert() [9/11]
|
static |
◆ Convert() [10/11]
|
static |
◆ Convert() [11/11]
|
static |
The documentation for this class was generated from the following file: