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

Holds per-frame glove error functions for the single-frame solver. More...

#include <glove_utils.h>

Public Attributes

std::shared_ptr< JointToJointPositionErrorFunctionT< float > > posFunc
 Position error function registered with the solver.
std::shared_ptr< JointToJointOrientationErrorFunctionT< float > > oriFunc
 Orientation error function registered with the solver.
std::vector< std::vector< JointToJointPositionDataT< float > > > posData
 Pre-built per-frame position constraint data.
std::vector< std::vector< JointToJointOrientationDataT< float > > > oriData
 Pre-built per-frame orientation constraint data.

Detailed Description

Holds per-frame glove error functions for the single-frame solver.

Used by trackPosesForFrames() to register error functions once and then swap constraint data per frame via updateGloveConstraintsForFrame().

Definition at line 225 of file glove_utils.h.

Member Data Documentation

◆ oriData

std::vector<std::vector<JointToJointOrientationDataT<float> > > momentum::GloveErrorFunctions::oriData

Pre-built per-frame orientation constraint data.

Definition at line 236 of file glove_utils.h.

Referenced by momentum::setupGloveErrorFunctions(), and momentum::updateGloveConstraintsForFrame().

◆ oriFunc

std::shared_ptr<JointToJointOrientationErrorFunctionT<float> > momentum::GloveErrorFunctions::oriFunc

Orientation error function registered with the solver.

Definition at line 230 of file glove_utils.h.

Referenced by momentum::setupGloveErrorFunctions(), and momentum::updateGloveConstraintsForFrame().

◆ posData

std::vector<std::vector<JointToJointPositionDataT<float> > > momentum::GloveErrorFunctions::posData

Pre-built per-frame position constraint data.

Definition at line 233 of file glove_utils.h.

Referenced by momentum::setupGloveErrorFunctions(), and momentum::updateGloveConstraintsForFrame().

◆ posFunc

std::shared_ptr<JointToJointPositionErrorFunctionT<float> > momentum::GloveErrorFunctions::posFunc

Position error function registered with the solver.

Definition at line 227 of file glove_utils.h.

Referenced by momentum::setupGloveErrorFunctions(), and momentum::updateGloveConstraintsForFrame().


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