Conversions Conversions.hh rendering/Conversions.hh.
More...
#include <Conversions.hh>
Conversions Conversions.hh rendering/Conversions.hh.
A set of utility function to convert between Gazebo and Ogre data types
static Ogre::ColourValue gazebo::rendering::Conversions::Convert |
( |
const common::Color & |
_clr | ) |
|
|
static |
Return the equivalent ogre color.
- Parameters
-
[in] | _clr | Gazebo 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] | _clr | Ogre 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
-
- Returns
- Ogre vector
static Ogre::Vector3 gazebo::rendering::Conversions::Convert |
( |
const ignition::math::Vector3d & |
_v | ) |
|
|
static |
return Ogre Vector from ignition::math::Vector3d
- Parameters
-
[in] | _v | ignition::math::Vector3d |
- Returns
- Ogre vector
static math::Vector3 gazebo::rendering::Conversions::Convert |
( |
const Ogre::Vector3 & |
_v | ) |
|
|
static |
return gazebo Vector from ogre Vector3
- Parameters
-
- Returns
- Gazebo vector
static Ogre::Quaternion gazebo::rendering::Conversions::Convert |
( |
const math::Quaternion & |
_v | ) |
|
|
static |
Gazebo quaternion to Ogre quaternion.
- Parameters
-
- Returns
- Ogre quaternion
static math::Quaternion gazebo::rendering::Conversions::Convert |
( |
const Ogre::Quaternion & |
_v | ) |
|
|
static |
Ogre quaternion to Gazebo quaternion.
- Parameters
-
[in] | _v | Ogre quaternion return Gazebo quaternion |
static Ogre::Node::TransformSpace gazebo::rendering::Conversions::Convert |
( |
const ReferenceFrame & |
_rf | ) |
|
|
static |
Return the equivalent ogre transform space.
- Parameters
-
[in] | _rf | gazebo reference frame to convert |
- Returns
- Ogre node transform space
static ReferenceFrame gazebo::rendering::Conversions::Convert |
( |
const Ogre::Node::TransformSpace & |
_ts | ) |
|
|
static |
Return the equivalent gazebo reference frame.
- Parameters
-
[in] | _ts | Ogre node transform space to convert |
- Returns
- Gazebo reference frame
static ignition::math::Vector3d gazebo::rendering::Conversions::ConvertIgn |
( |
const Ogre::Vector3 & |
_v | ) |
|
|
static |
return ignition::math::Vector3d from ogre Vector3
- Parameters
-
- Returns
- ignition::math::Vector3d
static ignition::math::Quaterniond gazebo::rendering::Conversions::ConvertIgn |
( |
const Ogre::Quaternion & |
_v | ) |
|
|
static |
Ogre quaternion to ignition::math::Quaterniond.
- Parameters
-
[in] | _v | Ogre quaternion return Ignition math quaternion |
The documentation for this class was generated from the following file: