minor changes to accomplish with new version of libIGL

This commit is contained in:
Nico Pietroni 2015-06-14 23:15:19 +00:00
parent 1864d686c0
commit 56856e2e22
1 changed files with 7 additions and 3 deletions

View File

@ -246,7 +246,8 @@ private:
igl::find_cross_field_singularities(V, F, MMatch, isSingularity, singularityIndex); igl::find_cross_field_singularities(V, F, MMatch, isSingularity, singularityIndex);
// Cut the mesh, duplicating all vertices on the seams // Cut the mesh, duplicating all vertices on the seams
igl::cut_mesh_from_singularities(V, F, MMatch, isSingularity, singularityIndex, Seams); //igl::cut_mesh_from_singularities(V, F, MMatch, isSingularity, singularityIndex, Seams);
igl::cut_mesh_from_singularities(V, F, MMatch,Seams);
// Comb the frame-field accordingly // Comb the frame-field accordingly
igl::comb_frame_field(V, F, X1, X2, BIS1_combed, BIS2_combed, X1_combed, X2_combed); igl::comb_frame_field(V, F, X1, X2, BIS1_combed, BIS2_combed, X1_combed, X2_combed);
@ -282,8 +283,11 @@ private:
} }
} }
igl::miq(V,F,X1_combed,X2_combed,BIS1_combed,BIS2_combed, // igl::miq(V,F,X1_combed,X2_combed,BIS1_combed,BIS2_combed,
MMatch,isSingularity,singularityIndex,Seams, // MMatch,isSingularity,singularityIndex,Seams,
// UV,FUV,MiqP.gradient,MiqP.stiffness,MiqP.directRound,
// MiqP.stiffness_iter,MiqP.local_iter,MiqP.doRound,MiqP.round_singularities,extra_round,hard_features);
igl::miq(V,F,X1_combed,X2_combed,
UV,FUV,MiqP.gradient,MiqP.stiffness,MiqP.directRound, UV,FUV,MiqP.gradient,MiqP.stiffness,MiqP.directRound,
MiqP.stiffness_iter,MiqP.local_iter,MiqP.doRound,MiqP.round_singularities,extra_round,hard_features); MiqP.stiffness_iter,MiqP.local_iter,MiqP.doRound,MiqP.round_singularities,extra_round,hard_features);