29 template<
typename TDataType>
35 std::normal_distribution<double>
dist;
39 typedef typename TDataType::Real
Real;
40 typedef typename TDataType::Coord
Coord;
41 typedef typename TDataType::Matrix
Matrix;
42 typedef typename ::dyno::Mat4f
Mat;
77 unsigned long long id;
#define DECLARE_TCLASS(name, T1)
Implementation of quaternion.
std::default_random_engine generator
Mat getTransform(Coord &T, Coord &R, Coord &S)
void applyAnimationAll(Real ptime)
std::shared_ptr< AnimationCurve< TDataType > > AnimTranslation
void applyAnimationByOne(Coord &init, Coord &cur, std::shared_ptr< AnimationCurve< TDataType > > &anim, Real ptime)
void setAnimRotation(std::shared_ptr< AnimationCurve< TDataType > > r)
std::shared_ptr< AnimationCurve< TDataType > > AnimScaling
Coord getCoordByMatrix(Coord X)
void setAnimTranslation(std::shared_ptr< AnimationCurve< TDataType > > t)
void getQuat(Coord &T, Coord &R, float &S)
std::vector< std::shared_ptr< JointTree > > children
Coord getCoordByQuat(Coord X)
void getGlobalTransform()
std::normal_distribution< double > dist
std::shared_ptr< AnimationCurve< TDataType > > AnimRotation
void setAnimScaling(std::shared_ptr< AnimationCurve< TDataType > > s)
void copyFrom(JointTree< TDataType > jointTree)
std::shared_ptr< JointTree > parent
This is an implementation of AdditiveCCD based on peridyno.
DYN_FUNC JCapsule(int id1, int id2, Coord a0, Coord a1)