|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Axis constraint data. More...
#include <fixed_axis_error_function.h>
Public Member Functions | |
| FixedAxisDataT (const Vector3< T > &local, const Vector3< T > &global, size_t pIndex, float w, const std::string &n="") | |
| Public Member Functions inherited from momentum::ConstraintData | |
| ConstraintData (size_t pIndex, float w, const std::string &n="") | |
Public Attributes | |
| Vector3< T > | localAxis |
| axis in the parent's coordinate frame | |
| Vector3< T > | globalAxis |
| target axis in the global frame | |
| 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. | |
Axis constraint data.
Definition at line 16 of file fixed_axis_error_function.h.
|
inlineexplicit |
Definition at line 22 of file fixed_axis_error_function.h.
| Vector3<T> momentum::FixedAxisDataT< T >::globalAxis |
target axis in the global frame
Definition at line 20 of file fixed_axis_error_function.h.
Referenced by momentum::FixedAxisAngleErrorFunctionT< T >::evalFunction(), momentum::FixedAxisCosErrorFunctionT< T >::evalFunction(), and momentum::FixedAxisDiffErrorFunctionT< T >::evalFunction().
| Vector3<T> momentum::FixedAxisDataT< T >::localAxis |
axis in the parent's coordinate frame
Definition at line 18 of file fixed_axis_error_function.h.
Referenced by momentum::FixedAxisAngleErrorFunctionT< T >::evalFunction(), momentum::FixedAxisCosErrorFunctionT< T >::evalFunction(), and momentum::FixedAxisDiffErrorFunctionT< T >::evalFunction().