|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
Base structure for vertex constraint data. More...
#include <vertex_error_function.h>
Public Member Functions | |
| VertexConstraintData ()=default | |
| VertexConstraintData (size_t vIndex, float w, const std::string &n="") | |
Public Attributes | |
| 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). | |
Base structure for vertex constraint data.
Derived constraint types extend this with their specific target data.
Definition at line 28 of file vertex_error_function.h.
|
default |
|
inline |
Definition at line 39 of file vertex_error_function.h.
References name, vertexIndex, and weight.
| std::string momentum::VertexConstraintData::name |
Name of the constraint (for debugging).
Definition at line 36 of file vertex_error_function.h.
Referenced by VertexConstraintData().
| size_t momentum::VertexConstraintData::vertexIndex = kInvalidIndex |
Vertex index in the mesh.
Definition at line 30 of file vertex_error_function.h.
Referenced by VertexConstraintData().
| float momentum::VertexConstraintData::weight = 0.0f |
Weight of the constraint.
Definition at line 33 of file vertex_error_function.h.
Referenced by VertexConstraintData().