Gazebo Rendering

API Reference

6.6.3

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 Ogre::Radian Convert ( const math::Angle _angle)
static

Ign-math angle to Ogre angle.

Parameters
[in]_angleign-math angle
Returns
Ogre angle

◆ Convert() [2/11]

static Ogre::ColourValue Convert ( const math::Color _color)
static

Return the equivalent ogre color.

Parameters
[in]_colorign-math color to convert
Returns
Ogre color value

◆ Convert() [3/11]

static Ogre::Matrix4 Convert ( const math::Matrix4d _m)
static

Ignition math Matrix4d to Ogre Matrix4.

Parameters
[in]_mignition math Matrix4d
Returns
Ogre Matrix4

◆ Convert() [4/11]

static Ogre::Quaternion Convert ( const math::Quaterniond _quat)
static

Ign-math quaternion to Ogre quaternion.

Parameters
[in]_quatign-math quaternion
Returns
Ogre quaternion

◆ Convert() [5/11]

static Ogre::Vector3 Convert ( const math::Vector3d _vector)
static

return Ogre Vector from ign-math Vector3

Parameters
[in]_vectorign-math vector
Returns
Ogre vector

◆ Convert() [6/11]

static math::Color Convert ( const Ogre::ColourValue &  _color)
static

Return the equivalent ign-math color.

Parameters
[in]_colorOgre color to convert
Returns
ign-math color value

◆ Convert() [7/11]

static math::Matrix4d Convert ( const Ogre::Matrix4 &  _m)
static

Ogre Matrix4 to ignition math Matrix4d.

Parameters
[in]_mOgre Matrix4
Returns
ignition math Matrix4d

◆ Convert() [8/11]

static math::Quaterniond Convert ( const Ogre::Quaternion &  _quat)
static

Ogre quaternion to ign-math quaternion.

Parameters
[in]_quatOgre quaternion return ign-math quaternion

◆ Convert() [9/11]

static math::Angle Convert ( const Ogre::Radian &  _angle)
static

Ogre angle to ign-math angle.

Parameters
[in]_angleOgre angle return Ign-math angle

◆ Convert() [10/11]

static math::Vector3d Convert ( const Ogre::Vector3 &  _vector)
static

return ign-math Vector from ogre Vector3

Parameters
[in]_vectorOgre vector
Returns
ign-math vector

◆ Convert() [11/11]

static Ogre::PixelFormatGpu Convert ( PixelFormat  _format)
static

Ign-rendering PixelFormat to Ogre PixelFormat.

Parameters
[in]_formatIgn-rendering PixelFormat return Ogre PixelFormat

The documentation for this class was generated from the following file: