|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Point-on-plane or Point-in-half-plane constraint data. More...
#include <plane_error_function.h>
Public Member Functions | |
| PlaneDataT (const Vector3< T > &inOffset, const Vector3< T > &inNormal, const T inD, 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 |
| Vector3< T > | normal |
| T | d |
| 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. | |
Point-on-plane or Point-in-half-plane constraint data.
The constraint uses the plane equation: x.dot(normal) - d = 0; use -d instead of +d to be backwards compatible with previous implementation.
Definition at line 18 of file plane_error_function.h.
|
inlineexplicit |
Definition at line 23 of file plane_error_function.h.
| T momentum::PlaneDataT< T >::d |
Definition at line 21 of file plane_error_function.h.
Referenced by momentum::PlaneErrorFunctionT< T >::evalFunction().
| Vector3<T> momentum::PlaneDataT< T >::normal |
Definition at line 20 of file plane_error_function.h.
Referenced by momentum::PlaneErrorFunctionT< T >::evalFunction().
| Vector3<T> momentum::PlaneDataT< T >::offset |
Definition at line 19 of file plane_error_function.h.
Referenced by momentum::PlaneErrorFunctionT< T >::evalFunction().