Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
momentum::DistanceConstraintDataT< T > Struct Template Reference

#include <distance_error_function.h>

Static Public Member Functions

static DistanceConstraintDataT< T > createFromLocator (const momentum::Locator &locator)

Public Attributes

Eigen::Vector3< T > origin = Eigen::Vector3<T>::Zero()
T target {}
size_t parent {}
Eigen::Vector3< T > offset
T weight {}

Detailed Description

template<typename T>
struct momentum::DistanceConstraintDataT< T >

Definition at line 17 of file distance_error_function.h.

Member Function Documentation

◆ createFromLocator()

template<typename T>
DistanceConstraintDataT< T > momentum::DistanceConstraintDataT< T >::createFromLocator ( const momentum::Locator & locator)
static

Member Data Documentation

◆ offset

template<typename T>
Eigen::Vector3<T> momentum::DistanceConstraintDataT< T >::offset

Definition at line 21 of file distance_error_function.h.

Referenced by createFromLocator().

◆ origin

template<typename T>
Eigen::Vector3<T> momentum::DistanceConstraintDataT< T >::origin = Eigen::Vector3<T>::Zero()

Definition at line 18 of file distance_error_function.h.

◆ parent

template<typename T>
size_t momentum::DistanceConstraintDataT< T >::parent {}

Definition at line 20 of file distance_error_function.h.

Referenced by createFromLocator().

◆ target

template<typename T>
T momentum::DistanceConstraintDataT< T >::target {}

Definition at line 19 of file distance_error_function.h.

Referenced by createFromLocator().

◆ weight

template<typename T>
T momentum::DistanceConstraintDataT< T >::weight {}

Definition at line 22 of file distance_error_function.h.

Referenced by createFromLocator().


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