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 
 
§ Convert() [1/11]
Return the equivalent ogre color. 
- Parameters
 - 
  
    | [in] | _clr | Gazebo color to convert  | 
  
   
- Returns
 - Ogre color value 
 
 
 
§ Convert() [2/11]
Return the equivalent gazebo color. 
- Parameters
 - 
  
    | [in] | _clr | Ogre color to convert  | 
  
   
- Returns
 - Gazebo color value 
 
 
 
§ Convert() [3/11]
return Ogre Vector from Gazebo Vector3 
- Parameters
 - 
  
  
 
- Returns
 - Ogre vector 
 
 
 
§ Convert() [4/11]
return gazebo Vector from ogre Vector3 
- Parameters
 - 
  
  
 
- Returns
 - Gazebo vector 
 
 
 
§ Convert() [5/11]
  
  
      
        
          | static Ogre::Vector3 Convert  | 
          ( | 
          const ignition::math::Vector3d &  | 
          _v | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Return Ogre Vector3 from ignition::math::Vector3d. 
- Parameters
 - 
  
    | [in] | _v | Ignition math Vector3d  | 
  
   
- Returns
 - Ogre Vector3 
 
 
 
§ Convert() [6/11]
Gazebo quaternion to Ogre quaternion. 
- Parameters
 - 
  
  
 
- Returns
 - Ogre quaternion 
 
 
 
§ Convert() [7/11]
Ogre quaternion to Gazebo quaternion. 
- Parameters
 - 
  
  
 
- Returns
 - Gazebo quaternion 
 
 
 
§ Convert() [8/11]
  
  
      
        
          | static Ogre::Quaternion Convert  | 
          ( | 
          const ignition::math::Quaterniond &  | 
          _q | ) | 
           | 
         
       
   | 
  
static   | 
  
 
ignition::math::Quaterniond to Ogre quaternion 
- Parameters
 - 
  
    | [in] | _q | Ignition math quaternion  | 
  
   
- Returns
 - Ogre quaternion 
 
 
 
§ Convert() [9/11]
  
  
      
        
          | static Ogre::Matrix4 Convert  | 
          ( | 
          const ignition::math::Matrix4d &  | 
          _m | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Ignition math Matrix4d to Ogre Matrix4. 
- Parameters
 - 
  
    | [in] | _m | ignition math Matrix4d  | 
  
   
- Returns
 - Ogre Matrix4 
 
 
 
§ Convert() [10/11]
  
  
      
        
          | static Ogre::Node::TransformSpace Convert  | 
          ( | 
          const ReferenceFrame &  | 
          _rf | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Return the equivalent ogre transform space. 
- Parameters
 - 
  
    | [in] | _rf | gazebo reference frame to convert  | 
  
   
- Returns
 - Ogre node transform space 
 
 
 
§ Convert() [11/11]
  
  
      
        
          | static ReferenceFrame 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 
 
 
 
§ ConvertIgn() [1/3]
  
  
      
        
          | static ignition::math::Vector3d ConvertIgn  | 
          ( | 
          const Ogre::Vector3 &  | 
          _v | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Return ignition::math::Vector3d from Ogre Vector3. 
- Parameters
 - 
  
  
 
- Returns
 - Ignition math Vector3d 
 
 
 
§ ConvertIgn() [2/3]
  
  
      
        
          | static ignition::math::Quaterniond ConvertIgn  | 
          ( | 
          const Ogre::Quaternion &  | 
          _q | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Ogre quaternion to ignition::math::Quaterniond. 
- Parameters
 - 
  
    | [in] | _q | Ogre quaternion return Ignition math quaternion  | 
  
   
 
 
§ ConvertIgn() [3/3]
  
  
      
        
          | static ignition::math::Matrix4d ConvertIgn  | 
          ( | 
          const Ogre::Matrix4 &  | 
          _m | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Ogre Matrix4 to ignition math Matrix4d. 
- Parameters
 - 
  
  
 
- Returns
 - ignition math Matrix4d 
 
 
 
The documentation for this class was generated from the following file: