Gazebo Rendering

API Reference

7.4.2

Conversions Conversions.hh rendering/Conversions.hh. More...

#include <OgreConversions.hh>

Static Public Member Functions

static Ogre::Radian Convert (const math::Angle &_angle)
 gz-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)
 Gazebo Math Matrix4d to Ogre Matrix4. More...
 
static Ogre::Quaternion Convert (const math::Quaterniond &_quat)
 gz-math quaternion to Ogre quaternion More...
 
static Ogre::Vector3 Convert (const math::Vector3d &_vector)
 return Ogre Vector from gz-math Vector3 More...
 
static math::Color Convert (const Ogre::ColourValue &_color)
 Return the equivalent gz-math color. More...
 
static math::Matrix4d Convert (const Ogre::Matrix4 &_m)
 Ogre Matrix4 to Gazebo Math Matrix4d. More...
 
static math::Quaterniond Convert (const Ogre::Quaternion &_quat)
 Ogre quaternion to gz-math quaternion. More...
 
static math::Angle Convert (const Ogre::Radian &_angle)
 Ogre angle to gz-math angle. More...
 
static math::Vector3d Convert (const Ogre::Vector3 &_vector)
 return gz-math Vector from ogre Vector3 More...
 
static Ogre::PixelFormat Convert (PixelFormat _format)
 gz-rendering PixelFormat to Ogre PixelFormat More...
 

Detailed Description

Conversions Conversions.hh rendering/Conversions.hh.

A set of utility function to convert between Gazebo and Ogre data types

Member Function Documentation

◆ Convert() [1/11]

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

gz-math angle to Ogre angle

Parameters
[in]_anglegz-math angle
Returns
Ogre angle

◆ Convert() [2/11]

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

Return the equivalent ogre color.

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

◆ Convert() [3/11]

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

Gazebo Math Matrix4d to Ogre Matrix4.

Parameters
[in]_mGazebo Math Matrix4d
Returns
Ogre Matrix4

◆ Convert() [4/11]

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

gz-math quaternion to Ogre quaternion

Parameters
[in]_quatgz-math quaternion
Returns
Ogre quaternion

◆ Convert() [5/11]

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

return Ogre Vector from gz-math Vector3

Parameters
[in]_vectorgz-math vector
Returns
Ogre vector

◆ Convert() [6/11]

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

Return the equivalent gz-math color.

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

◆ Convert() [7/11]

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

Ogre Matrix4 to Gazebo Math Matrix4d.

Parameters
[in]_mOgre Matrix4
Returns
Gazebo Math Matrix4d

◆ Convert() [8/11]

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

Ogre quaternion to gz-math quaternion.

Parameters
[in]_quatOgre quaternion return gz-math quaternion

◆ Convert() [9/11]

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

Ogre angle to gz-math angle.

Parameters
[in]_angleOgre angle return gz-math angle

◆ Convert() [10/11]

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

return gz-math Vector from ogre Vector3

Parameters
[in]_vectorOgre vector
Returns
gz-math vector

◆ Convert() [11/11]

static Ogre::PixelFormat Convert ( PixelFormat  _format)
static

gz-rendering PixelFormat to Ogre PixelFormat

Parameters
[in]_formatgz-rendering PixelFormat return Ogre PixelFormat

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