Triangle mesh collision helper class. More...
#include <SimbodyMesh.hh>
Public Member Functions | |
SimbodyMesh () | |
Constructor. More... | |
virtual | ~SimbodyMesh () |
Destructor. More... | |
void | Init (const common::SubMesh *_subMesh, SimbodyCollisionPtr _collision, const math::Vector3 &_scale) |
Create a mesh collision shape using a submesh. More... | |
void | Init (const common::Mesh *_mesh, SimbodyCollisionPtr _collision, const math::Vector3 &_scale) |
Create a mesh collision shape using a mesh. More... | |
Triangle mesh collision helper class.
SimbodyMesh | ( | ) |
Constructor.
|
virtual |
Destructor.
void Init | ( | const common::SubMesh * | _subMesh, |
SimbodyCollisionPtr | _collision, | ||
const math::Vector3 & | _scale | ||
) |
Create a mesh collision shape using a submesh.
[in] | _subMesh | Pointer to the submesh. |
[in] | _collision | Pointer to the collsion object. |
[in] | _scale | Scaling factor. |
void Init | ( | const common::Mesh * | _mesh, |
SimbodyCollisionPtr | _collision, | ||
const math::Vector3 & | _scale | ||
) |
Create a mesh collision shape using a mesh.
[in] | _mesh | Pointer to the mesh. |
[in] | _collision | Pointer to the collsion object. |
[in] | _scale | Scaling factor. |