8#ifndef IGL_FIT_ROTATIONS_H
9#define IGL_FIT_ROTATIONS_H
23 template <
typename DerivedS,
typename DerivedD>
25 const Eigen::PlainObjectBase<DerivedS> & S,
26 const bool single_precision,
27 Eigen::PlainObjectBase<DerivedD> & R);
32 IGL_INLINE void fit_rotations_SSE(
const Eigen::MatrixXf & S, Eigen::MatrixXf & R);
36 IGL_INLINE void fit_rotations_SSE(
const Eigen::MatrixXd & S, Eigen::MatrixXd & R);
42 IGL_INLINE void fit_rotations_AVX(
const Eigen::MatrixXf & S, Eigen::MatrixXf & R);
54 template <
typename DerivedS,
typename DerivedD>
56 const Eigen::PlainObjectBase<DerivedS> & S,
57 Eigen::PlainObjectBase<DerivedD> & R);
60#ifndef IGL_STATIC_LIBRARY
61# include "fit_rotations.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
void fit_rotations(const Eigen::PlainObjectBase< DerivedS > &S, const bool single_precision, Eigen::PlainObjectBase< DerivedD > &R)
Given an input mesh and new positions find rotations for every covariance matrix in a stack of covari...
void fit_rotations_planar(const Eigen::PlainObjectBase< DerivedS > &S, Eigen::PlainObjectBase< DerivedD > &R)
Given an input mesh and new positions find 2D rotations for every vertex that best maps its one ring ...