33#ifndef DART_DYNAMICS_SOFTMESHSHAPE_HPP_
34#define DART_DYNAMICS_SOFTMESHSHAPE_HPP_
37#include <assimp/scene.h>
59 const std::string&
getType()
const override;
SoftBodyNode represent a soft body that has one deformable skin.
Definition SoftBodyNode.hpp:46
Definition SoftMeshShape.hpp:48
const std::string & getType() const override
Returns a string representing the shape type.
Definition SoftMeshShape.cpp:58
void _buildMesh()
Build mesh using SoftBodyNode data.
Definition SoftMeshShape.cpp:102
void updateVolume() const override
Updates volume.
Definition SoftMeshShape.cpp:96
void updateBoundingBox() const override
Updates bounding box.
Definition SoftMeshShape.cpp:89
const SoftBodyNode * getSoftBodyNode() const
Get the SoftBodyNode that is associated with this SoftMeshShape.
Definition SoftMeshShape.cpp:75
SoftBodyNode * mSoftBodyNode
Definition SoftMeshShape.hpp:88
std::unique_ptr< aiMesh > mAssimpMesh
Definition SoftMeshShape.hpp:91
static const std::string & getStaticType()
Returns shape type for this class.
Definition SoftMeshShape.cpp:64
Eigen::Matrix3d computeInertia(double mass) const override
Computes the inertia.
Definition SoftMeshShape.cpp:80
virtual ~SoftMeshShape()
Destructor.
Definition SoftMeshShape.cpp:52
const aiMesh * getAssimpMesh() const
Definition SoftMeshShape.cpp:70
void update()
Update positions of the vertices using the parent soft body node.
Definition SoftMeshShape.cpp:140
Definition BulletCollisionDetector.cpp:60