|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Go to the source code of this file.
Classes | |
| struct | momentum::TransformT< T > |
| Lightweight transform with separate rotation, translation, and uniform scaling. More... | |
Namespaces | |
| namespace | momentum |
Typedefs | |
| template<typename T> | |
| using | momentum::TransformListT = std::vector<TransformT<T>> |
| Per-joint transform list describing the state of all joints in a skeleton (one entry per joint, indexed by joint id). | |
| using | momentum::TransformList = TransformListT<float> |
Functions | |
| template<typename T> | |
| TransformT< T > | momentum::blendTransforms (momentum::span< const TransformT< T > > transforms, momentum::span< const T > weights) |
| Weighted blend of transforms: rotations are blended via averaged quaternions, translations and scales linearly. | |
| template<typename T> | |
| TransformT< T > | momentum::slerp (const TransformT< T > &t1, const TransformT< T > &t2, T weight) |
| Spherical linear interpolation between two transforms. | |