|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Constraint data for a vertex position target. More...
#include <vertex_position_error_function.h>
Public Member Functions | |
| VertexPositionDataT ()=default | |
| VertexPositionDataT (size_t vIndex, const Eigen::Vector3< T > &targetPos, float w, const std::string &n="") | |
| Public Member Functions inherited from momentum::VertexConstraintData | |
| VertexConstraintData ()=default | |
| VertexConstraintData (size_t vIndex, float w, const std::string &n="") | |
Public Attributes | |
| Eigen::Vector3< T > | target = Eigen::Vector3<T>::Zero() |
| Target position in world 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 position target.
Constrains a mesh vertex to a target 3D position.
Definition at line 18 of file vertex_position_error_function.h.
|
default |
|
inline |
Definition at line 23 of file vertex_position_error_function.h.
References target, and momentum::VertexConstraintData::VertexConstraintData().
| Eigen::Vector3<T> momentum::VertexPositionDataT< T >::target = Eigen::Vector3<T>::Zero() |
Target position in world space.
Definition at line 20 of file vertex_position_error_function.h.
Referenced by VertexPositionDataT().