Commit Graph

73167 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé ae06b044ce Improved existing SMP code
-Factorized the different tools to construct vertices and faces container in
a single class.
-Updated all examples accordingly and replaced the polylines output by an OFF
output across all files.
-Some other minor changes (missing includes, indentation, typos, etc.)
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé eef01c2ac6 Added a check in the add_seams() function 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c333aa34b1 Fixed a bad static_cast in Seam_mesh.h 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 3245d726e3 Misc minor changes 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 664d873d2d Removed Parameterization_polyhedron_adaptor_ex.h 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c71d8285d0 Updated the examples of the SMP to work with the new Seam mesh
Also a small change in the Polyhedron demo
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé b00c5f9a56 Improved the Seam mesh classes
Added the missing functions so that it is a facelistgraph.
Fixed a few bugs.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 0a96f93776 Esthetical changes for seam meshes 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 922d072609 Added flip and non-valid parameterization tests
MVC post processor is only called in ARAP if the parameterization is no valid.
2017-06-22 16:14:55 +02:00
Andreas Fabri c3057850e9 Add example 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé f087feda83 Missing include in PMP's border.h 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 6d47ef3735 Fixed the MVC post processor overzealously constraining all borders
As for the 'real' MVC parameterizer, only one border must be constrained.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé b8d7bd24c0 Fixed using ARAP's border parameterizer in the initial MVC parameterization 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 12344fd325 Fixed the brute force 'simpleness' test of the borders in the ARAP post processor 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé a7da445497 The initial parameterization in ARAP_param now depends on the number of borders 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 2eac1f1c38 Added a function to count the number of borders of a polygon mesh 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé fcdc127a08 Fixed a function duplicated over different files 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 3644a91f82 Added a way to write uvmaps into OFF files 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 4a9f01685a Fixed not using the solver member in MVC_post_processing_3 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 30a7d7843f Updated Surface_mesh_parameterization's documentation 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e5dcc1c9a0 Properly factorized the Containers_filler internal class 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 7e7ff03831 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e8d22d0f24 Some progress towards compilation of ARAP with a seam_mesh
Most of the issues come from the incomplete seam_mesh graph traits now.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 4b0243d263 Added documentation for PMP's longest_border() 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé d978cc47c8 Added an example to test various configuration of mesh type and parameterizer 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 1d068e714f Fixed a bug in PMP's longest_border() 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 320e40d6c4 Fixed some return type in the MVC post processor 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8afe8af986 Fixed choice of fixed vertices for different types of lambda
Not too sure about that change, but it (sort of) makes sense to only
fix one point when lambda !=0, it works, and looking -now- at the other
branch on ARAP, they had done the same.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 95bc5f4b91 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8a1688e13f Fixed include directives 2017-06-22 16:14:55 +02:00
Sébastien Loriot 8ac36da8dd doc clean up 2017-06-22 16:14:55 +02:00
Sébastien Loriot 3929dc4d8d improve doc 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé b4c0784a67 Small changes to make ARAP work with a Surface_mesh
Note that this requires the boost hash maps of commit ec7aa45
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c79c03eec7 Add missing include directive 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8b464899d7 Added boost::hash overloads for the other Surface_mesh index-based classes 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 23ac9a95c1 Fixed compilation of the ARAP paramaterizer
The location of Misc_conic.h was changed by the merge of master
2017-06-22 16:14:55 +02:00
Sébastien Loriot eab6b6b68a fix formatting 2017-06-22 16:14:55 +02:00
Sébastien Loriot 82ff73da86 restore graph_traits specializations and fix warnings 2017-06-22 16:14:55 +02:00
Sébastien Loriot 8a8948ebed update doc 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 92496eacfc Split post processing functions away from ARAP parameterizer's class 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 61ae78bb42 Small changes to the polyhedron demo
-- Fix the CMakeLists.txt
-- Mute the polylines reader
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé a83fecb3c7 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 0f10528369 Added post processing that (attempts to) fix potential flips in the ARAP param 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 17e3477151 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c73c0c904e Reworked the counter of the energy-minimizing loop 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e738fc6dac Added a macro to choose which vertices are fixed 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé fd4e709c1b Added a way to compute 'a' using the algeabric kernel to solve the cubic eq 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8cbd200250 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 81cfaeb944 Fixed using the wrong coordinates in the RHS of the system and the energy
Global coordinates were used instead of UV coordinates...
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 18091ce6df Removed superfluous references to property maps 2017-06-22 16:14:55 +02:00