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

#include <fully_differentiable_orientation_error_function.h>

Public Member Functions

 OrientationConstraintT (const Quaternion< T > &offset, const Quaternion< T > &target, size_t parent, float w, const std::string &n="")

Public Attributes

Quaternion< T > offset
 Constraint rotation offset in local joint space.
Quaternion< T > target
 Target orientation in global space.
size_t parent
 Parent joint index this constraint is under.
float weight
 Weight of the constraint.
std::string name
 Name of the constraint.

Detailed Description

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

Definition at line 19 of file fully_differentiable_orientation_error_function.h.

Constructor & Destructor Documentation

◆ OrientationConstraintT()

template<typename T>
momentum::OrientationConstraintT< T >::OrientationConstraintT ( const Quaternion< T > & offset,
const Quaternion< T > & target,
size_t parent,
float w,
const std::string & n = "" )
inlineexplicit

Member Data Documentation

◆ name

template<typename T>
std::string momentum::OrientationConstraintT< T >::name

Name of the constraint.

Definition at line 24 of file fully_differentiable_orientation_error_function.h.

◆ offset

template<typename T>
Quaternion<T> momentum::OrientationConstraintT< T >::offset

Constraint rotation offset in local joint space.

Definition at line 20 of file fully_differentiable_orientation_error_function.h.

Referenced by momentum::FullyDifferentiableOrientationErrorFunctionT< T >::getError().

◆ parent

template<typename T>
size_t momentum::OrientationConstraintT< T >::parent

Parent joint index this constraint is under.

Definition at line 22 of file fully_differentiable_orientation_error_function.h.

Referenced by momentum::FullyDifferentiableOrientationErrorFunctionT< T >::getError().

◆ target

template<typename T>
Quaternion<T> momentum::OrientationConstraintT< T >::target

Target orientation in global space.

Definition at line 21 of file fully_differentiable_orientation_error_function.h.

Referenced by momentum::FullyDifferentiableOrientationErrorFunctionT< T >::getError().

◆ weight


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