All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
gazebo::rendering::Conversions Class Reference

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

#include <Conversions.hh>

Static Public Member Functions

static Ogre::ColourValue Convert (const common::Color &_clr)
 Return the equivalent ogre color. More...
 
static common::Color Convert (const Ogre::ColourValue &_clr)
 Return the equivalent gazebo color. More...
 
static Ogre::Vector3 Convert (const math::Vector3 &_v)
 return Ogre Vector from Gazebo Vector3 More...
 
static math::Vector3 Convert (const Ogre::Vector3 &_v)
 return gazebo Vector from ogre Vector3 More...
 
static Ogre::Quaternion Convert (const math::Quaternion &_v)
 Gazebo quaternion to Ogre quaternion. More...
 
static math::Quaternion Convert (const Ogre::Quaternion &_v)
 Ogre quaternion to Gazebo quaternion. 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

static Ogre::ColourValue gazebo::rendering::Conversions::Convert ( const common::Color _clr)
static

Return the equivalent ogre color.

Parameters
[in]_clrGazebo color to convert
Returns
Ogre color value
static common::Color gazebo::rendering::Conversions::Convert ( const Ogre::ColourValue &  _clr)
static

Return the equivalent gazebo color.

Parameters
[in]_clrOgre color to convert
Returns
Gazebo color value
static Ogre::Vector3 gazebo::rendering::Conversions::Convert ( const math::Vector3 _v)
static

return Ogre Vector from Gazebo Vector3

Parameters
[in]_vGazebo vector
Returns
Ogre vector
static math::Vector3 gazebo::rendering::Conversions::Convert ( const Ogre::Vector3 &  _v)
static

return gazebo Vector from ogre Vector3

Parameters
[in]_vOgre vector
Returns
Gazebo vector
static Ogre::Quaternion gazebo::rendering::Conversions::Convert ( const math::Quaternion _v)
static

Gazebo quaternion to Ogre quaternion.

Parameters
[in]_vGazebo quaternion
Returns
Ogre quaternion
static math::Quaternion gazebo::rendering::Conversions::Convert ( const Ogre::Quaternion &  _v)
static

Ogre quaternion to Gazebo quaternion.

Parameters
[in]_vOgre quaternion return Gazebo quaternion

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