ODEMesh Class Reference

Triangle mesh helper class. More...

#include <ODEMesh.hh>

Public Member Functions

 ODEMesh ()
 Constructor. More...
 
virtual ~ODEMesh ()
 Destructor. More...
 
void Init (const common::SubMesh *_subMesh, ODECollisionPtr _collision, const math::Vector3 &_scale) GAZEBO_DEPRECATED(8.0)
 Create a mesh collision shape using a submesh. More...
 
void Init (const common::SubMesh *_subMesh, ODECollisionPtr _collision, const ignition::math::Vector3d &_scale)
 Create a mesh collision shape using a submesh. More...
 
void Init (const common::Mesh *_mesh, ODECollisionPtr _collision, const math::Vector3 &_scale) GAZEBO_DEPRECATED(8.0)
 Create a mesh collision shape using a mesh. More...
 
void Init (const common::Mesh *_mesh, ODECollisionPtr _collision, const ignition::math::Vector3d &_scale)
 Create a mesh collision shape using a mesh. More...
 
virtual void Update ()
 Update the collision mesh. More...
 

Detailed Description

Triangle mesh helper class.

Constructor & Destructor Documentation

ODEMesh ( )
explicit

Constructor.

virtual ~ODEMesh ( )
virtual

Destructor.

Member Function Documentation

void Init ( const common::SubMesh _subMesh,
ODECollisionPtr  _collision,
const math::Vector3 _scale 
)

Create a mesh collision shape using a submesh.

Parameters
[in]_subMeshPointer to the submesh.
[in]_collisionPointer to the collision object.
[in]_scaleScaling factor.
Deprecated:
See function which accepts an ignition math object.
void Init ( const common::SubMesh _subMesh,
ODECollisionPtr  _collision,
const ignition::math::Vector3d &  _scale 
)

Create a mesh collision shape using a submesh.

Parameters
[in]_subMeshPointer to the submesh.
[in]_collisionPointer to the collision object.
[in]_scaleScaling factor.
void Init ( const common::Mesh _mesh,
ODECollisionPtr  _collision,
const math::Vector3 _scale 
)

Create a mesh collision shape using a mesh.

Parameters
[in]_meshPointer to the mesh.
[in]_collisionPointer to the collision object.
[in]_scaleScaling factor.
Deprecated:
See function which accepts an ignition math object.
void Init ( const common::Mesh _mesh,
ODECollisionPtr  _collision,
const ignition::math::Vector3d &  _scale 
)

Create a mesh collision shape using a mesh.

Parameters
[in]_meshPointer to the mesh.
[in]_collisionPointer to the collision object.
[in]_scaleScaling factor.
virtual void Update ( )
virtual

Update the collision mesh.


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