|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Constraint data on 3x3 rotation represented in quaternions. More...
#include <orientation_error_function.h>
Public Member Functions | |
| OrientationDataT (const Eigen::Quaternion< T > &inOffset, const Eigen::Quaternion< T > &inTarget, size_t pIndex, float w, const std::string &n="") | |
| param[in] inOffset: input rotation offset in the parent space param[in] inTarget: input target rotation in global space param[in] pIndex: joint index of the parent joint param[in] w: weight param[in] n: name of this constraint | |
| Public Member Functions inherited from momentum::ConstraintData | |
| ConstraintData (size_t pIndex, float w, const std::string &n="") | |
Public Attributes | |
| Eigen::Quaternion< T > | offset |
| Rotation offset in the parent space. | |
| Eigen::Quaternion< T > | target |
| Target rotation in global space. | |
| Public Attributes inherited from momentum::ConstraintData | |
| size_t | parent = kInvalidIndex |
| Parent joint index this constraint is under. | |
| float | weight = 0.0f |
| Weight of the constraint. | |
| std::string | name = {} |
| Name of the constraint. | |
Constraint data on 3x3 rotation represented in quaternions.
Definition at line 16 of file orientation_error_function.h.
|
inlineexplicit |
param[in] inOffset: input rotation offset in the parent space param[in] inTarget: input target rotation in global space param[in] pIndex: joint index of the parent joint param[in] w: weight param[in] n: name of this constraint
Definition at line 27 of file orientation_error_function.h.
| Eigen::Quaternion<T> momentum::OrientationDataT< T >::offset |
Rotation offset in the parent space.
Definition at line 18 of file orientation_error_function.h.
Referenced by momentum::OrientationErrorFunctionT< T >::evalFunction(), and momentum::OrientationRotDiffErrorFunctionT< T >::evalFunction().
| Eigen::Quaternion<T> momentum::OrientationDataT< T >::target |
Target rotation in global space.
Definition at line 20 of file orientation_error_function.h.
Referenced by momentum::OrientationErrorFunctionT< T >::evalFunction(), and momentum::OrientationRotDiffErrorFunctionT< T >::evalFunction().