Triangle mesh collision helper class. More...
#include <DARTMesh.hh>
Public Member Functions | |
DARTMesh () | |
Constructor. More... | |
virtual | ~DARTMesh () |
Destructor. More... | |
void | Init (const common::SubMesh *_subMesh, DARTCollisionPtr _collision, const ignition::math::Vector3d &_scale) |
Create a mesh collision shape using a submesh. More... | |
void | Init (const common::Mesh *_mesh, DARTCollisionPtr _collision, const ignition::math::Vector3d &_scale) |
Create a mesh collision shape using a mesh. More... | |
dart::dynamics::ShapeNodePtr | ShapeNode () const |
Returns the DART mesh shape node. More... | |
Triangle mesh collision helper class.
DARTMesh | ( | ) |
Constructor.
|
virtual |
Destructor.
void Init | ( | const common::SubMesh * | _subMesh, |
DARTCollisionPtr | _collision, | ||
const ignition::math::Vector3d & | _scale | ||
) |
Create a mesh collision shape using a submesh.
[in] | _subMesh | Pointer to the submesh. |
[in] | _collision | Pointer to the collision object. |
[in] | _scale | Scaling factor. |
void Init | ( | const common::Mesh * | _mesh, |
DARTCollisionPtr | _collision, | ||
const ignition::math::Vector3d & | _scale | ||
) |
Create a mesh collision shape using a mesh.
[in] | _mesh | Pointer to the mesh. |
[in] | _collision | Pointer to the collision object. |
[in] | _scale | Scaling factor. |
dart::dynamics::ShapeNodePtr ShapeNode | ( | ) | const |
Returns the DART mesh shape node.