|
Momentum
A library for solving nonlinear optimization problems related to human body kinematics
|
#include "momentum/math/coordinate_system.h"Go to the source code of this file.
Namespaces | |
| namespace | momentum |
Functions | |
| template<typename T> | |
| T | momentum::scaleFactor (const CoordinateSystem &from, const CoordinateSystem &to) |
| Returns the length scale factor when converting a length from from's unit to to's unit. | |
| template<typename T> | |
| Vector3< T > | momentum::changeVector (const Vector3< T > &v, const CoordinateSystem &from, const CoordinateSystem &to) |
| Converts a 3D position vector between coordinate systems. | |
| template<typename T> | |
| Quaternion< T > | momentum::changeQuaternion (const Quaternion< T > &q, const CoordinateSystem &from, const CoordinateSystem &to) |
| Converts a quaternion rotation between coordinate systems. | |
| template<typename T> | |
| Matrix3< T > | momentum::changeRotationMatrix (const Matrix3< T > &m, const CoordinateSystem &from, const CoordinateSystem &to) |
| Converts a 3x3 rotation matrix between coordinate systems. | |
| template<typename T> | |
| Vector3< T > | momentum::toMomentumVector (const Vector3< T > &v, const CoordinateSystem &from) |
| Converts a position vector from from into Momentum's canonical coordinate system. | |
| template<typename T> | |
| Vector3< T > | momentum::fromMomentumVector (const Vector3< T > &v, const CoordinateSystem &to) |
| Converts a position vector from Momentum's canonical coordinate system into to. | |
| template<typename T> | |
| Quaternion< T > | momentum::toMomentumQuaternion (const Quaternion< T > &q, const CoordinateSystem &from) |
| Converts a quaternion rotation from from into Momentum's canonical coordinate system. | |
| template<typename T> | |
| Quaternion< T > | momentum::fromMomentumQuaternion (const Quaternion< T > &q, const CoordinateSystem &to) |
| Converts a quaternion rotation from Momentum's canonical coordinate system into to. | |
| template<typename T> | |
| Matrix3< T > | momentum::toMomentumRotationMatrix (const Matrix3< T > &m, const CoordinateSystem &from) |
| Converts a 3x3 rotation matrix from from into Momentum's canonical coordinate system. | |
| template<typename T> | |
| Matrix3< T > | momentum::fromMomentumRotationMatrix (const Matrix3< T > &m, const CoordinateSystem &to) |
| Converts a 3x3 rotation matrix from Momentum's canonical coordinate system into to. | |
| template float | momentum::scaleFactor< float > (const CoordinateSystem &, const CoordinateSystem &) |
| template double | momentum::scaleFactor< double > (const CoordinateSystem &, const CoordinateSystem &) |
| template Vector3< float > | momentum::changeVector (const Vector3< float > &, const CoordinateSystem &, const CoordinateSystem &) |
| template Vector3< double > | momentum::changeVector (const Vector3< double > &, const CoordinateSystem &, const CoordinateSystem &) |
| template Quaternion< float > | momentum::changeQuaternion (const Quaternion< float > &, const CoordinateSystem &, const CoordinateSystem &) |
| template Quaternion< double > | momentum::changeQuaternion (const Quaternion< double > &, const CoordinateSystem &, const CoordinateSystem &) |
| template Matrix3< float > | momentum::changeRotationMatrix (const Matrix3< float > &, const CoordinateSystem &, const CoordinateSystem &) |
| template Matrix3< double > | momentum::changeRotationMatrix (const Matrix3< double > &, const CoordinateSystem &, const CoordinateSystem &) |
| template Vector3< float > | momentum::toMomentumVector (const Vector3< float > &, const CoordinateSystem &) |
| template Vector3< double > | momentum::toMomentumVector (const Vector3< double > &, const CoordinateSystem &) |
| template Vector3< float > | momentum::fromMomentumVector (const Vector3< float > &, const CoordinateSystem &) |
| template Vector3< double > | momentum::fromMomentumVector (const Vector3< double > &, const CoordinateSystem &) |
| template Quaternion< float > | momentum::toMomentumQuaternion (const Quaternion< float > &, const CoordinateSystem &) |
| template Quaternion< double > | momentum::toMomentumQuaternion (const Quaternion< double > &, const CoordinateSystem &) |
| template Quaternion< float > | momentum::fromMomentumQuaternion (const Quaternion< float > &, const CoordinateSystem &) |
| template Quaternion< double > | momentum::fromMomentumQuaternion (const Quaternion< double > &, const CoordinateSystem &) |
| template Matrix3< float > | momentum::toMomentumRotationMatrix (const Matrix3< float > &, const CoordinateSystem &) |
| template Matrix3< double > | momentum::toMomentumRotationMatrix (const Matrix3< double > &, const CoordinateSystem &) |
| template Matrix3< float > | momentum::fromMomentumRotationMatrix (const Matrix3< float > &, const CoordinateSystem &) |
| template Matrix3< double > | momentum::fromMomentumRotationMatrix (const Matrix3< double > &, const CoordinateSystem &) |