Public Member Functions | List of all members
gazebo::physics::BulletMesh Class Reference

Triangle mesh collision helper class. More...

#include <BulletMesh.hh>

Public Member Functions

 BulletMesh ()
 Constructor. More...
 
virtual ~BulletMesh ()
 Destructor. More...
 
void Init (const common::SubMesh *_subMesh, BulletCollisionPtr _collision, const math::Vector3 &_scale)
 Create a mesh collision shape using a submesh. More...
 
void Init (const common::Mesh *_mesh, BulletCollisionPtr _collision, const math::Vector3 &_scale)
 Create a mesh collision shape using a mesh. More...
 

Detailed Description

Triangle mesh collision helper class.

Constructor & Destructor Documentation

gazebo::physics::BulletMesh::BulletMesh ( )

Constructor.

virtual gazebo::physics::BulletMesh::~BulletMesh ( )
virtual

Destructor.

Member Function Documentation

void gazebo::physics::BulletMesh::Init ( const common::SubMesh _subMesh,
BulletCollisionPtr  _collision,
const math::Vector3 _scale 
)

Create a mesh collision shape using a submesh.

Parameters
[in]_subMeshPointer to the submesh.
[in]_collisionPointer to the collsion object.
[in]_scaleScaling factor.
void gazebo::physics::BulletMesh::Init ( const common::Mesh _mesh,
BulletCollisionPtr  _collision,
const math::Vector3 _scale 
)

Create a mesh collision shape using a mesh.

Parameters
[in]_meshPointer to the mesh.
[in]_collisionPointer to the collsion object.
[in]_scaleScaling factor.

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