Momentum
A library for solving nonlinear optimization problems related to human body kinematics
Loading...
Searching...
No Matches
conversions.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  momentum

Functions

template<typename T>
Vector3< T > momentum::toMomentumVector3 (const Vector3< T > &vec, UpVector up=UpVector::Z, Unit unit=Unit::MM)
 This function converts a 3D vector in the mocap marker coordinate system to the Momentum coordinate system.
template<typename T>
Vector3< T > momentum::toMomentumVector3 (const Vector3< T > &vec, UpVector up, const std::string &unitStr)
 This function converts a 3D vector in the mocap marker coordinate system to the Momentum coordinate system, using a string to specify the unit.
template Vector3< float > momentum::toMomentumVector3 (const Vector3< float > &vec, UpVector up, Unit unit)
template Vector3< double > momentum::toMomentumVector3 (const Vector3< double > &vec, UpVector up, Unit unit)
template Vector3< float > momentum::toMomentumVector3 (const Vector3< float > &vec, UpVector up, const std::string &unitStr)
template Vector3< double > momentum::toMomentumVector3 (const Vector3< double > &vec, UpVector up, const std::string &unitStr)