|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Aim constraint data: a local ray (point, dir) passes a global point target. More...
#include <aim_error_function.h>
Public Member Functions | |
| AimDataT (const Vector3< T > &inLocalPt, const Vector3< T > &inLocalDir, 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 > | localPoint |
| The origin of the local ray. | |
| Vector3< T > | localDir |
| The direction of the local ray. | |
| Vector3< T > | globalTarget |
| The global aim target. | |
| 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. | |
Aim constraint data: a local ray (point, dir) passes a global point target.
Definition at line 16 of file aim_error_function.h.
|
inlineexplicit |
Definition at line 24 of file aim_error_function.h.
| Vector3<T> momentum::AimDataT< T >::globalTarget |
The global aim target.
Definition at line 22 of file aim_error_function.h.
Referenced by momentum::AimDirErrorFunctionT< T >::evalFunction(), and momentum::AimDistErrorFunctionT< T >::evalFunction().
| Vector3<T> momentum::AimDataT< T >::localDir |
The direction of the local ray.
Definition at line 20 of file aim_error_function.h.
Referenced by momentum::AimDirErrorFunctionT< T >::evalFunction(), and momentum::AimDistErrorFunctionT< T >::evalFunction().
| Vector3<T> momentum::AimDataT< T >::localPoint |
The origin of the local ray.
Definition at line 18 of file aim_error_function.h.
Referenced by momentum::AimDirErrorFunctionT< T >::evalFunction(), and momentum::AimDistErrorFunctionT< T >::evalFunction().