#include <Superpose.h>
Public Types | |
typedef std::vector< Vec3Pair > | VectorSet |
Static Public Member Functions | |
static TransformAndResidual | superpose (const VectorSet &vectors) |
Compute the transformation that orients the first (source) set of vectors to match as closely as possible the second (target) set. |
static TransformAndResidual superpose | ( | const VectorSet & | vectors | ) | [inline, static] |
Compute the transformation that orients the first (source) set of vectors to match as closely as possible the second (target) set.
Using a weighted least-squares criterion.
References a, SimTK::abs(), b, SimTK::cross(), SimTK::dot(), Eigen::getAllEigenValuesAndVectors(), fkinkryx::i, k, SimTK::real(), Mat::transpose(), C::U, x, and y.