dart
Public Member Functions | Public Attributes | List of all members
dart::dynamics::detail::SoftBodyNodeUniqueProperties Struct Reference
Inheritance diagram for dart::dynamics::detail::SoftBodyNodeUniqueProperties:
Inheritance graph
[legend]

Public Member Functions

 SoftBodyNodeUniqueProperties (double _Kv=DART_DEFAULT_VERTEX_STIFFNESS, double _Ke=DART_DEFAULT_EDGE_STIFNESS, double _DampCoeff=DART_DEFAULT_DAMPING_COEFF, const std::vector< PointMass::Properties > &_points=std::vector< PointMass::Properties >(), const std::vector< Eigen::Vector3i > &_faces=std::vector< Eigen::Vector3i >())
 
void addPointMass (const PointMass::Properties &_properties)
 Add a PointMass to this Properties struct.
 
bool connectPointMasses (std::size_t i1, std::size_t i2)
 Connect two PointMasses together in this Properties struct.
 
void addFace (const Eigen::Vector3i &_newFace)
 Add a face to this Properties struct.
 

Public Attributes

double mKv
 Spring stiffness for vertex deformation restoring spring force of the point masses.
 
double mKe
 Spring stiffness for edge deformation restoring spring force of the point masses.
 
double mDampCoeff
 Damping coefficient.
 
std::vector< PointMass::PropertiesmPointProps
 Array of Properties for PointMasses.
 
std::vector< Eigen::Vector3i > mFaces
 Tri-mesh indexes for rendering.
 

The documentation for this struct was generated from the following files: