Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::PoseConstraint Struct Reference

#include <parameter_transform.h>

Public Member Functions

bool operator== (const PoseConstraint &poseConstraint) const

Public Attributes

std::vector< std::pair< size_t, float > > parameterIdValue
 A vector of tuples of type: (model parameter index, parameter value).

Detailed Description

Definition at line 20 of file parameter_transform.h.

Member Function Documentation

◆ operator==()

bool momentum::PoseConstraint::operator== ( const PoseConstraint & poseConstraint) const

Definition at line 18 of file parameter_transform.cpp.

References momentum::isApprox(), and parameterIdValue.

Member Data Documentation

◆ parameterIdValue

std::vector<std::pair<size_t, float> > momentum::PoseConstraint::parameterIdValue

A vector of tuples of type: (model parameter index, parameter value).

The model parameter index must be in [0, numAllModelParameters()). The value of the model parameters specified here are kept constant (= parameter value) during optimization. The ordering of elements in the vector doesn't matter (making it an unordered map would be more semantically correct) since it stores an index to the model parameters.

Definition at line 26 of file parameter_transform.h.

Referenced by operator==(), momentum::parsePoseConstraints(), and momentum::subsetParameterTransform().


The documentation for this struct was generated from the following files: