|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
3D position constraint data More...
#include <position_error_function.h>
Public Member Functions | |
| PositionDataT (const Vector3< T > &inOffset, const Vector3< T > &inTarget, 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 > | offset |
| Positional offset in the parent joint space. | |
| Vector3< T > | target |
| Target position. | |
| 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. | |
3D position constraint data
Definition at line 16 of file position_error_function.h.
|
inlineexplicit |
Definition at line 22 of file position_error_function.h.
| Vector3<T> momentum::PositionDataT< T >::offset |
Positional offset in the parent joint space.
Definition at line 18 of file position_error_function.h.
Referenced by momentum::PositionErrorFunctionT< T >::evalFunction().
| Vector3<T> momentum::PositionDataT< T >::target |
Target position.
Definition at line 20 of file position_error_function.h.
Referenced by momentum::PositionErrorFunctionT< T >::evalFunction().