Commit Graph

328 Commits

Author SHA1 Message Date
Hardik Jain b344a2167f Added: Parameterization comparison example in Surface_mesh_parameterization 2019-10-09 11:12:34 +02:00
Hardik Jain 63189fae53 Added: Iterative Authalic Parameterization scheme with examples 2019-09-26 20:03:43 +02:00
Laurent Rineau 4fbf00fb8a CMake>=3.13: opt for for new policies up to 3.15 2019-06-19 14:34:59 +02:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Laurent Rineau 0d5009e582 Merge branch 'releases/CGAL-4.13-branch' 2019-03-26 16:43:41 +01:00
Laurent Rineau 0aa49e3549 Merge pull request #3783 from afabri/BGL_add_seams-GF
BGL:  Seam_mesh::add_seams() requires .selection.txt
2019-03-26 16:42:59 +01:00
Andreas Fabri 99a16d2c8f Fix example 2019-03-20 16:11:48 +01:00
Andreas Fabri a483f3442b CGAL: clean up CMakeLists.txt files in examples and tests 2019-02-13 17:29:29 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Sébastien Loriot d3e336e8ac UMFPACK is needed by Orbifold parametrization 2018-09-13 11:37:26 +02:00
Mael Rouxel-Labbé 6613c29bde Use EXIT_SUCCESS/FAILURE 2018-06-27 14:53:55 +02:00
Maxime Gimeno 0112d692ab Fix CMakeLists.txt for orbifold example 2018-03-07 13:32:44 +01:00
Mael Rouxel-Labbé b352738d70 Documented some functions used in SMP/Orbifold Tutte Embedding parameterizer
Along the way, fix a few mistakes and generalize the API of these newly
documented functions.
2018-01-29 18:32:25 +01:00
Mael Rouxel-Labbé 9881f814a1 Misc minor changes 2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé 70259b152f Fixed example file
(worked as it were, but gave a warning)
2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé a795dbbdc8 Cleaned off graph_traits includes 2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé 90673d5193 Fixed example selection file 2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé a8f7e2cf50 Test data changes 2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé 64d10602a5 Fixed seam_polyhedron_3.cpp dumping its output in std::cout 2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé c438638828 Cleaned a wrong link in SMP's CMakeLists 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé b432ff351b Fixed permissions 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé c2bc4082e7 Removed or untracked irrelevant files
Also fixed some data paths.
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 4570ab4320 Disabled Eigen's static alignement when using UMFPACKLU solver in Orbifold param
The assert does not fail when using Eigen's SparseLU solver... This is temporary
while I investigate.
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 2274210b17 Removed a warning in SMP 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé fa6aa9a799 Documentation changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 8c1f570d61 Documentation changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 6308f2a94a Minor safety changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé c05a690449 Cleaned cout/cerr ouput 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 9c2c6b9f50 Changes within source needed after orbital > orbifold renaming 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 0b91917c74 Renamed Orbifold files 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé ad36f6ea35 Use non caching segment traits to accelerate arrangement computations 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 92c34a5b01 Misc minor changes
-const correctness
-comments
-typedefs
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 406698f769 Added sphere to sphere mapping (wip)
Up to the overlay computation (missing the end)
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé c2d04efb2f Misc minor changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 80f673fa24 Improved cone locating functions 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 954daa05a4 Misc minor changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 05647d928a Added Orbifold Tutte Embeddings to the polyhedron demo 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 71abaa7249 Added orbifold type IV 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 1b8559d5ce Misc minor changes 2017-06-22 16:15:57 +02:00
Andreas Fabri a58a568217 Make CMakeLists.txt work for VC++ 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 37e35eeea8 Misc minor changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé cff1c99d3d Do not require SuiteSparse 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 9a148a4a06 Simplified SMP's CMakeLists.txt 2017-06-22 16:15:57 +02:00
Andreas Fabri 602e6b456f find_package SuiteSparse 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 261da94f36 Added the bear example for SMP 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé c62e503a39 Added Orbital Tutte parameterizer and an example
Only the orbifold type I method with MVC coefs is implented in this commit
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 66fc6c6c5d Added the selection file that goes with square_border_parameterizer.cpp 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé f910d2ee60 Misc minor changes 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé ccdf3a6bf4 Added some safety guard when vertices are given to border paramterizers
to make sure that the given vertices are on the same border/connected component.
2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé 8e77c99653 Fixed seam meshes not always picking the longest border in a connected component 2017-06-22 16:15:57 +02:00
Mael Rouxel-Labbé a8f82f4382 Merged the ParameterizedTraits_3 and BorderParameterizer_3 concepts
Incident changes:
- Angle computations helper, Error_code and kernel_traits<TriangleMesh> live in
  their own file
- Doc and examples changes
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8922e36408 Fixed compilation after moving headers 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e96c474f78 Documentation changes for SMP 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 7ce8fdf3f6 Misc minor changes 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé a8492d987f Reworked the way corner vertices are passed to the square_border_parameterizer
and added an example of usage.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c1868dff4c Removed erroneous comment 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé bb9230f4ff Fixed discrete authalic example
This example is now used to illustrate the use of various border parameterizers
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8ffe7a5df2 Cleaned off the examples
The idea is to keep meaningful examples
-- A basic example using Surface_mesh with as few parameters as possible
-- A seam mesh using Polyhedron_3 with the default parameterizer (MVC)
-- A seam mesh using Surface_mesh with the LSCM parameterizer
-- An example with a fixed border parameterizer and using different border
   parameterizer
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 013e32d314 Replaced calls to num_vertices() 2017-06-22 16:14:55 +02:00
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é 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
Andreas Fabri c3057850e9 Add example 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é 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é d978cc47c8 Added an example to test various configuration of mesh type and parameterizer 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 79490fd8b0 Cleaned code (indentation, whitespace, etc.) 2017-06-22 16:14:55 +02:00
Maxime Gimeno f9f000d1e5 Clean-up
- errors still remain :Surface_mesh_parameterize/next_bug and BGL/tests
2017-06-22 16:14:55 +02:00
Maxime Gimeno fd8336ecf8 Implementation of the seaming. 2017-06-22 16:12:26 +02:00
Maxime Gimeno 407bb3e675 Restore Parameterization_plugin with the BGL API. 2017-06-22 16:12:26 +02:00
Andreas Fabri 88b81378ce WIP 2017-06-22 16:12:26 +02:00
Andreas Fabri 63a5c1fd0b still WIP 2017-06-22 16:12:26 +02:00
Andreas Fabri c03ca8fb63 broken code, as I ask Sebastien to find the compile timer error 2017-06-22 16:12:26 +02:00
Andreas Fabri f6f52e01b0 cleanup and fix of Simple_parameterization.cpp 2017-06-22 16:12:26 +02:00
Andreas Fabri f7b826125b Add the possibility to pass the two vertices that are selected 2017-06-22 16:12:26 +02:00
Andreas Fabri 92be8f478d Add lscm.cpp 2017-06-22 16:12:26 +02:00
Andreas Fabri 45e19be366 Use property maps to store seam edges and vertices 2017-06-22 16:12:26 +02:00
Andreas Fabri 9cc84e828c Add an initial User Manual section for Seam_mesh 2017-06-22 16:12:26 +02:00
Andreas Fabri 162759ca87 polish 2017-06-22 16:11:38 +02:00
Andreas Fabri ac11cf8032 deal correctly with a patch 2017-06-22 16:11:38 +02:00
Andreas Fabri befec4c3c9 remove .cmd files 2017-06-22 16:11:38 +02:00
Andreas Fabri eda683816d Add three different seams sets for lion.off 2017-06-22 16:11:38 +02:00
Andreas Fabri b11385455f Fix target(Seam_msh) 2017-06-22 16:11:38 +02:00
Andreas Fabri 82f2a2b4ca WIP 2017-06-22 16:11:38 +02:00
Andreas Fabri f0f6575c76 WIP on the doc 2017-06-22 16:11:38 +02:00
Andreas Fabri afc6476992 start rewriting the doc 2017-06-22 16:11:38 +02:00
Andreas Fabri fa68850338 Use Vertex_around_target_circulator again 2017-06-22 16:11:38 +02:00
Andreas Fabri 869dfbb1e9 finally it works with a Seam_mesh 2017-06-22 16:11:38 +02:00
Andreas Fabri a6a62bc4f6 index vertices inside parameterize() 2017-06-22 16:11:38 +02:00
Andreas Fabri b7c5d49689 clean Simple_parameterization.cpp 2017-06-22 16:11:38 +02:00
Andreas Fabri 7997925bf8 Add a function longest_border(PolygonMesh&) to PMP 2017-06-22 16:11:38 +02:00
Andreas Fabri 46ed3edf92 LSCM seems to work too 2017-06-22 16:11:38 +02:00
Andreas Fabri 6dc52b4166 port two parametrisation classes 2017-06-22 16:11:38 +02:00
Andreas Fabri 92a463bdcc split constructor of Seam_mesh in two functions 2017-06-22 16:11:38 +02:00
Andreas Fabri 99a3b99283 make connecteced_component work for Seam_mesh 2017-06-22 16:11:38 +02:00
Andreas Fabri 4a2344f0cc discrete authalic now works for Surface_mesh and for a Seam_mesh 2017-06-22 16:11:38 +02:00