8#ifndef IGL_COMISO_MIQ_H
9#define IGL_COMISO_MIQ_H
10#include "../../igl_inline.h"
45 template <
typename DerivedV,
typename DerivedF,
typename DerivedU>
47 const Eigen::PlainObjectBase<DerivedV> &V,
48 const Eigen::PlainObjectBase<DerivedF> &F,
49 const Eigen::PlainObjectBase<DerivedV> &PD1,
50 const Eigen::PlainObjectBase<DerivedV> &PD2,
51 Eigen::PlainObjectBase<DerivedU> &UV,
52 Eigen::PlainObjectBase<DerivedF> &FUV,
53 double gradientSize = 30.0,
54 double stiffness = 5.0,
55 bool directRound =
false,
56 unsigned int iter = 5,
57 unsigned int localIter = 5,
59 bool singularityRound =
true,
60 const std::vector<int> &roundVertices = std::vector<int>(),
61 const std::vector<std::vector<int>> &hardFeatures = std::vector<std::vector<int> >());
85 template <
typename DerivedV,
typename DerivedF,
typename DerivedU>
87 const Eigen::PlainObjectBase<DerivedV> &V,
88 const Eigen::PlainObjectBase<DerivedF> &F,
89 const Eigen::PlainObjectBase<DerivedV> &PD1_combed,
90 const Eigen::PlainObjectBase<DerivedV> &PD2_combed,
91 const Eigen::Matrix<int, Eigen::Dynamic, 3> &mismatch,
92 const Eigen::Matrix<int, Eigen::Dynamic, 1> &singular,
93 const Eigen::Matrix<int, Eigen::Dynamic, 3> &seams,
94 Eigen::PlainObjectBase<DerivedU> &UV,
95 Eigen::PlainObjectBase<DerivedF> &FUV,
96 double gradientSize = 30.0,
97 double stiffness = 5.0,
98 bool directRound =
false,
99 unsigned int iter = 5,
100 unsigned int localIter = 5,
102 bool singularityRound =
true,
103 const std::vector<int> &roundVertices = std::vector<int>(),
104 const std::vector<std::vector<int>> &hardFeatures = std::vector<std::vector<int> >());
108#ifndef IGL_STATIC_LIBRARY
#define IGL_INLINE
Definition igl_inline.h:15
void miq(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, const Eigen::PlainObjectBase< DerivedV > &PD1, const Eigen::PlainObjectBase< DerivedV > &PD2, Eigen::PlainObjectBase< DerivedU > &UV, Eigen::PlainObjectBase< DerivedF > &FUV, double gradientSize=30.0, double stiffness=5.0, bool directRound=false, unsigned int iter=5, unsigned int localIter=5, bool doRound=true, bool singularityRound=true, const std::vector< int > &roundVertices=std::vector< int >(), const std::vector< std::vector< int > > &hardFeatures=std::vector< std::vector< int > >())
Global seamless parametrization aligned with a given per-face Jacobian (PD1, PD2).