BulletTypes Class Reference

A set of functions for converting between the math types used by gazebo and bullet. More...

#include <BulletTypes.hh>

Static Public Member Functions

static math::Pose ConvertPose (const btTransform &_bt) GAZEBO_DEPRECATED(8.0)
 Convert a bullet transform to a gazebo pose. More...
 
static btTransform ConvertPose (const math::Pose &_pose) GAZEBO_DEPRECATED(8.0)
 Convert a gazebo pose to a bullet transform. More...
 
static btTransform ConvertPose (const ignition::math::Pose3d &_pose)
 Convert an ignition math pose to a bullet transform. More...
 
static ignition::math::Pose3d ConvertPoseIgn (const btTransform &_bt)
 Convert a bullet transform to an ignition math pose. More...
 
static math::Vector3 ConvertVector3 (const btVector3 &_bt) GAZEBO_DEPRECATED(8.0)
 Convert a bullet btVector3 to a gazebo Vector3. More...
 
static btVector3 ConvertVector3 (const math::Vector3 &_vec) GAZEBO_DEPRECATED(8.0)
 Convert a gazebo Vector3 to a bullet btVector3. More...
 
static btVector3 ConvertVector3 (const ignition::math::Vector3d &_vec)
 Convert an ignition Vector3d to a bullet btVector3. More...
 
static ignition::math::Vector3d ConvertVector3Ign (const btVector3 &_bt)
 Convert a bullet btVector3 to an ignition Vector3d. More...
 
static math::Vector4 ConvertVector4 (const btVector4 &_bt) GAZEBO_DEPRECATED(8.0)
 Convert a bullet btVector4 to a gazebo Vector4. More...
 
static btVector4 ConvertVector4 (const math::Vector4 &_vec) GAZEBO_DEPRECATED(8.0)
 Convert a gazebo Vector4 to a bullet btVector4. More...
 
static ignition::math::Vector4d ConvertVector4dIgn (const btVector4 &_bt)
 Convert a bullet btVector4 to an ignition math Vector4d. More...
 
static btVector4 ConvertVector4dIgn (const ignition::math::Vector4d &_vec)
 Convert an ignition math Vector4d to a bullet btVector4. More...
 

Detailed Description

A set of functions for converting between the math types used by gazebo and bullet.

Member Function Documentation

static math::Pose ConvertPose ( const btTransform &  _bt)
inlinestatic

Convert a bullet transform to a gazebo pose.

Parameters
[in]_btBullet pose (btTransform).
Returns
Gazebo pose.
Deprecated:
See ConvertPoseIgn

References BulletTypes::ConvertPoseIgn().

Referenced by BulletTypes::ConvertPose(), BulletSphereShape::SetRadius(), BulletBoxShape::SetSize(), and BulletCylinderShape::SetSize().

static btTransform ConvertPose ( const math::Pose _pose)
inlinestatic

Convert a gazebo pose to a bullet transform.

Parameters
[in]_poseGazebo pose.
Returns
Bullet pose (btTransform).
Deprecated:
See function which accepts ignition math.

References BulletTypes::ConvertPose().

static btTransform ConvertPose ( const ignition::math::Pose3d &  _pose)
inlinestatic

Convert an ignition math pose to a bullet transform.

Parameters
[in]_poseIgnition math pose.
Returns
Bullet pose (btTransform).

References BulletTypes::ConvertVector3().

static ignition::math::Pose3d ConvertPoseIgn ( const btTransform &  _bt)
inlinestatic

Convert a bullet transform to an ignition math pose.

Parameters
[in]_btBullet pose (btTransform).
Returns
Ignition math pose.

References BulletTypes::ConvertVector3Ign().

Referenced by BulletTypes::ConvertPose().

static math::Vector3 ConvertVector3 ( const btVector3 &  _bt)
inlinestatic

Convert a bullet btVector3 to a gazebo Vector3.

Parameters
[in]_btBullet Vector3.
Returns
Gazebo Vector3.
Deprecated:
See ConvertVector3Ign

Referenced by BulletTypes::ConvertPose().

static btVector3 ConvertVector3 ( const math::Vector3 _vec)
inlinestatic

Convert a gazebo Vector3 to a bullet btVector3.

Parameters
[in]_vecGazebo Vector3.
Returns
Bullet Vector3.
Deprecated:
See function which accepts ignition math.
static btVector3 ConvertVector3 ( const ignition::math::Vector3d &  _vec)
inlinestatic

Convert an ignition Vector3d to a bullet btVector3.

Parameters
[in]_vecIgnition Vector3d.
Returns
Bullet Vector3.
static ignition::math::Vector3d ConvertVector3Ign ( const btVector3 &  _bt)
inlinestatic

Convert a bullet btVector3 to an ignition Vector3d.

Parameters
[in]_btBullet Vector3.
Returns
Ignition Vector3d.

Referenced by BulletTypes::ConvertPoseIgn().

static math::Vector4 ConvertVector4 ( const btVector4 &  _bt)
inlinestatic

Convert a bullet btVector4 to a gazebo Vector4.

Parameters
[in]_btBullet Vector4.
Returns
Gazebo Vector4.
Deprecated:
Use ConvertVector4dIgn instead.

References BulletTypes::ConvertVector4dIgn().

static btVector4 ConvertVector4 ( const math::Vector4 _vec)
inlinestatic

Convert a gazebo Vector4 to a bullet btVector4.

Parameters
[in]_vecGazebo Vector4.
Returns
Bullet Vector4.
Deprecated:
Use ConvertVector4dIgn instead

References BulletTypes::ConvertVector4dIgn().

static ignition::math::Vector4d ConvertVector4dIgn ( const btVector4 &  _bt)
inlinestatic

Convert a bullet btVector4 to an ignition math Vector4d.

Parameters
[in]_btBullet Vector4.
Returns
Ignition math vector 4d.

Referenced by BulletTypes::ConvertVector4().

static btVector4 ConvertVector4dIgn ( const ignition::math::Vector4d &  _vec)
inlinestatic

Convert an ignition math Vector4d to a bullet btVector4.

Parameters
[in]_vecIgnition math Vector4d.
Returns
Bullet Vector4.

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