|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Constraint data for a vertex plane target. More...
#include <vertex_plane_error_function.h>
Public Member Functions | |
| VertexPlaneDataT ()=default | |
| VertexPlaneDataT (size_t vIndex, const Eigen::Vector3< T > &n, const Eigen::Vector3< T > &p, bool abv, float w, const std::string &nm="") | |
| Public Member Functions inherited from momentum::VertexConstraintData | |
| VertexConstraintData ()=default | |
| VertexConstraintData (size_t vIndex, float w, const std::string &n="") | |
Public Attributes | |
| Eigen::Vector3< T > | normal = Eigen::Vector3<T>::UnitY() |
| Plane normal (must be normalized). | |
| Eigen::Vector3< T > | point = Eigen::Vector3<T>::Zero() |
| A point on the plane. | |
| bool | above = false |
| If true, constrain vertex to be above the plane (half-space). | |
| Public Attributes inherited from momentum::VertexConstraintData | |
| size_t | vertexIndex = kInvalidIndex |
| Vertex index in the mesh. | |
| float | weight = 0.0f |
| Weight of the constraint. | |
| std::string | name |
| Name of the constraint (for debugging). | |
Constraint data for a vertex plane target.
Constrains a mesh vertex to lie on or above a plane.
Definition at line 18 of file vertex_plane_error_function.h.
|
default |
|
inline |
Definition at line 29 of file vertex_plane_error_function.h.
References above, normal, point, and momentum::VertexConstraintData::VertexConstraintData().
| bool momentum::VertexPlaneDataT< T >::above = false |
If true, constrain vertex to be above the plane (half-space).
Definition at line 26 of file vertex_plane_error_function.h.
Referenced by VertexPlaneDataT().
| Eigen::Vector3<T> momentum::VertexPlaneDataT< T >::normal = Eigen::Vector3<T>::UnitY() |
Plane normal (must be normalized).
Definition at line 20 of file vertex_plane_error_function.h.
Referenced by VertexPlaneDataT().
| Eigen::Vector3<T> momentum::VertexPlaneDataT< T >::point = Eigen::Vector3<T>::Zero() |
A point on the plane.
Definition at line 23 of file vertex_plane_error_function.h.
Referenced by VertexPlaneDataT().