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

A struct that encapsulates both pose and identity parameters for a character. More...

#include <types.h>

Public Attributes

ModelParametersT< T > pose
 The model parameter vector representing the pose of the character.
JointParametersT< T > offsets
 The joint parameter vector representing the unique bone lengths of the character, defining the character's identity.

Detailed Description

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

A struct that encapsulates both pose and identity parameters for a character.

Note
This structure implies, but does not enforce, that the pose vector should contain only pose information with identity-related elements set to zero. Similarly, the identity vector should exclusively contain bone length information, excluding any pose data.

Definition at line 157 of file types.h.

Member Data Documentation

◆ offsets

template<typename T>
JointParametersT<T> momentum::CharacterParametersT< T >::offsets

The joint parameter vector representing the unique bone lengths of the character, defining the character's identity.

This vector should have a size of numSkeletonJoints * kParametersPerJoint.

Definition at line 165 of file types.h.

Referenced by momentum::InverseParameterTransformT< T >::apply(), momentum::ParameterTransformT< T >::apply(), momentum::bakeGloveOffsetsFromParams(), momentum::Character::bindPose(), and momentum::Character::splitParameters().

◆ pose


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