33#ifndef DART_DYNAMICS_DETAIL_SOFTBODYNODEASPECT_HPP_
34#define DART_DYNAMICS_DETAIL_SOFTBODYNODEASPECT_HPP_
89 const std::vector<PointMass::Properties>& _points
90 = std::vector<PointMass::Properties>(),
91 const std::vector<Eigen::Vector3i>& _faces
92 = std::vector<Eigen::Vector3i>());
103 void addFace(
const Eigen::Vector3i& _newFace);
#define DART_DEFINE_ALIGNED_SHARED_OBJECT_CREATOR(class_name)
Definition Memory.hpp:155
This is an alternative to EmbedStateAndProperties which allows your class to also inherit other Compo...
Definition EmbeddedAspect.hpp:435
Definition CompositeData.hpp:186
BodyNode class represents a single node of the skeleton.
Definition BodyNode.hpp:79
SoftBodyNode represent a soft body that has one deformable skin.
Definition SoftBodyNode.hpp:46
Definition SoftMeshShape.hpp:47
const double DART_DEFAULT_DAMPING_COEFF
Definition SoftBodyNodeAspect.hpp:45
const double DART_DEFAULT_VERTEX_STIFFNESS
Definition SoftBodyNodeAspect.hpp:43
const double DART_DEFAULT_EDGE_STIFNESS
Definition SoftBodyNodeAspect.hpp:44
Definition BulletCollisionDetector.cpp:65
Properties for each PointMass.
Definition PointMass.hpp:84
Definition SoftBodyNodeAspect.hpp:109
virtual ~SoftBodyNodeProperties()=default
Definition SoftBodyNodeAspect.hpp:66
void addFace(const Eigen::Vector3i &_newFace)
Add a face to this Properties struct.
Definition SoftBodyNode.cpp:101
void addPointMass(const PointMass::Properties &_properties)
Add a PointMass to this Properties struct.
Definition SoftBodyNode.cpp:70
virtual ~SoftBodyNodeUniqueProperties()=default
double mKe
Spring stiffness for edge deformation restoring spring force of the point masses.
Definition SoftBodyNodeAspect.hpp:73
std::vector< PointMass::Properties > mPointProps
Array of Properties for PointMasses.
Definition SoftBodyNodeAspect.hpp:79
bool connectPointMasses(std::size_t i1, std::size_t i2)
Connect two PointMasses together in this Properties struct.
Definition SoftBodyNode.cpp:77
double mKv
Spring stiffness for vertex deformation restoring spring force of the point masses.
Definition SoftBodyNodeAspect.hpp:69
std::vector< Eigen::Vector3i > mFaces
Tri-mesh indexes for rendering.
Definition SoftBodyNodeAspect.hpp:83
double mDampCoeff
Damping coefficient.
Definition SoftBodyNodeAspect.hpp:76
Definition SoftBodyNodeAspect.hpp:57
virtual ~SoftBodyNodeUniqueState()=default
std::vector< PointMass::State > mPointStates
Array of States for PointMasses.
Definition SoftBodyNodeAspect.hpp:59