Commit Graph

3908 Commits

Author SHA1 Message Date
Sébastien Loriot 3710a60b9c doc clean up 2016-12-29 07:20:22 +01:00
Maxime Gimeno a4127d74c1 Add distance computation to poisson_reconstruction's example. 2016-12-29 07:20:21 +01:00
Maxime Gimeno 6cf0504f95 Fixes and clean-up : first part. 2016-12-29 07:20:21 +01:00
Maxime Gimeno 9e767fd16f Fix and clean-up 2016-12-29 07:20:21 +01:00
Maxime Gimeno 6858d65e5d Update and fix
Parallelize the plugin if TBB is linked with CGAL and fix the parallelized code in distance.h.
2016-12-29 07:20:21 +01:00
Maxime Gimeno 033adb29f1 Update the demo and fix the code for Polyhedron. 2016-12-29 07:20:20 +01:00
Maxime Gimeno 9d9007739b Add a plugin that computes and displays the distance between two polyhedra as a color on those polyhedra. 2016-12-29 07:20:20 +01:00
Laurent Rineau 76df1fa5b2 Merge pull request #1758 from lrineau/Polyhedron_demo-mesh_3_plugin_split_polylines-GF
Add an action to split polylines
2016-12-28 16:12:43 +01:00
Laurent Rineau 77bd28c163 Merge pull request #1777 from MaelRL/Polyhedron-Improve_shortest_path
Improved the computation of shortest paths in the polyhedron demo
2016-12-28 16:11:49 +01:00
Laurent Rineau 4ff099816a Fix -Wpessimizing-move warnings
remove unwanted `std::move`, to fix those Clang warnings:
```
.../test/Polyhedron_Demo/Plugins/Mesh_3/split_polylines.cpp:10:10: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
  return std::move(result);
         ^
.../test/Polyhedron_Demo/Plugins/Mesh_3/split_polylines.cpp:10:10: note: remove std::move call here
  return std::move(result);
         ^~~~~~~~~~      ~
```

```
.../test/Polyhedron_Demo/Plugins/Mesh_3/Mesh_3_plugin.cpp:160:5: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
    std::move(Polylines_container{new_polylines.begin(), new_polylines.end()});
    ^
.../test/Polyhedron_Demo/Plugins/Mesh_3/Mesh_3_plugin.cpp:160:5: note: remove std::move call here
    std::move(Polylines_container{new_polylines.begin(), new_polylines.end()});
    ^~~~~~~~~~                                                               ~
```
2016-12-27 15:07:21 +01:00
Laurent Rineau aac08de9f7 MSVC 2012 does not have "cxx_generalized_initializers" 2016-12-27 15:07:21 +01:00
Laurent Rineau 812c04987b Merge pull request #1750 from lrineau/Testsuite-fix_CMake_warnings_unused_from_cli-lrineau
Followup to #1736
2016-12-27 14:40:48 +01:00
Sebastien Loriot 376b848caa Merge pull request #1764 from lrineau/Polyhedron-demo_fix_polylines_menu-lrineau
Polyhedron demo, polylines items: fix the radius displayed in the menu
2016-12-27 09:09:31 +01:00
Sebastien Loriot b898c92652 Merge pull request #1755 from lrineau/Polyhedron-load_OBJ_soup-GF
Allow to load OBJ files containing polygon soups
2016-12-27 09:08:11 +01:00
Sebastien Loriot 8c9af91b01 Merge pull request #1749 from sloriot/SMSP-fix_incorrect_name
Barycentric coordinate -> Barycentric coordinates
2016-12-27 09:02:06 +01:00
Mael Rouxel-Labbé 3a2b2c37ee Fixed redundant typedef and added some missing include's 2016-12-21 14:52:17 +01:00
Mael Rouxel-Labbé dbbd1537ad Improved the computation of shortest paths in the polyhedron demo
- change map to unordered_map
- clean off the use of weights (not needed)
- use a visitor in the boost::dijkstra_shortest_path to stop the algorithm
  once the shortest path to the target is found
2016-12-21 14:12:09 +01:00
Laurent Rineau bbf430b0b1 Merge pull request #585 from afabri/Kernel-Weighted_point-GF
Introduce Kernel::Weighted_point_3 together with functors
2016-12-20 19:52:02 +01:00
Laurent Rineau 2d331782f1 Fix the radius displayed in the menu
Followup to PR #1670.
2016-12-15 11:04:52 +01:00
Laurent Rineau 97f3d7146b Merge pull request #1733 from maxGimeno/Polyhedron_demo-enhance_split_polyhedra-GF
Polyhedron_demo : Enhance Split Polyhedra
2016-12-12 10:17:07 +01:00
Laurent Rineau 963c752c8d Merge pull request #1727 from maxGimeno/Polyhedron_demo-Enhance_hole_filling_plugin-GF
Polyhedron_demo : Enhance Hole_filling_plugin
2016-12-09 17:35:15 +01:00
Laurent Rineau 4a7db29277 Merge pull request #1740 from lrineau/Polyhedron-demo_various_fixes-lrineau
Add various fix to demo/Polyhedron
2016-12-09 17:34:49 +01:00
Laurent Rineau 3694c57a7c Add an action to split polylines 2016-12-09 17:11:06 +01:00
Laurent Rineau c94b2f3309 The loading of OBJ files can now create a Scene_polygon_soup_item
I have moved the code that loads OBJ files to `OFF_io_plugin`, to avoid
that the parsing of the file is done twice: once the file is parsed, if
it is a polygon mesh, creates a polygon item, otherwise creates a
polygon soup item.
2016-12-09 11:53:29 +01:00
Laurent Rineau 526bee6094 Allow to load OBJ files containing polygon soups 2016-12-09 11:24:23 +01:00
Laurent Rineau fe4a731dc2 Followup to #1736
Add `--no-warn-unused-cli` to avoid warnings.
2016-12-06 13:47:12 +01:00
Sébastien Loriot 958dae95b4 rename barycentric coordinate to barycentric coordinates 2016-12-06 11:04:18 +01:00
Maxime Gimeno 68bd4eaa38 Fix warning 2016-12-05 14:38:53 +01:00
Andreas Fabri f05bf5ba4f static_cast 2016-12-05 08:55:02 +01:00
Laurent Rineau 847906e2e4 Extend --no-try-catch to catching of C++ exceptions in Qt scripts 2016-12-02 13:05:43 +01:00
Laurent Rineau fd355aaf06 Fix the function point(): do not used floats 2016-12-02 13:05:27 +01:00
Laurent Rineau 3c30d51bb8 Merge pull request #1725 from afabri/Polyhedron_3-cleanup-GF
Polyhedron_3: Cosmetic fixes in the doc
2016-12-02 11:38:01 +01:00
Laurent Rineau 58f4fa08e5 Merge pull request #1702 from janetournois/Polyhedron_demo-fix_c3t3_io_with_far_points-GF
Polyhedron demo : fix c3t3_io_plugin in the parallel framework
2016-12-02 11:36:02 +01:00
Laurent Rineau 82786bf3c7 Merge pull request #1697 from gdamiand/Generalized_map-gdamiand
Generalized map
2016-12-02 11:35:20 +01:00
Laurent Rineau 78ae3414e4 Merge pull request #1693 from janetournois/PMP-fixes_for_isotropic_remeshing_4.9-jtournois
PMP : fixes for isotropic remeshing
2016-12-02 11:34:51 +01:00
Laurent Rineau 367ae78d1a Merge pull request #1672 from janetournois/Polyhedron_demo-fix_duplicate_plugin_loading-jtournois
Polyhedron demo : avoid loading twice the same plugin
2016-12-02 11:33:15 +01:00
Laurent Rineau 105418b66a Merge pull request #1620 from lrineau/Polyhedron-demo_various_fixes-lrineau
Enhancement of Qt Script in Polyhedron Demo

- CMake-3.1 is now required.
- demo/Polyhedron/ now requires C++11.
2016-12-02 11:19:18 +01:00
Maxime Gimeno 8d30e0bdbb Fixes 2016-12-02 09:42:54 +01:00
Maxime Gimeno f0470d5fc0 Fix the header of the sceneView. 2016-12-02 09:21:39 +01:00
Laurent Rineau 4c4b9a0fd8 Merge pull request #1663 from maxGimeno/Polyhedron_demo-Add_sep_images_support-GF
Polyhedron_demo : Add support for SEP images to the Io_image_plugin
2016-12-01 17:41:19 +01:00
Laurent Rineau 030292a279 Merge pull request #1674 from maxGimeno/Polyhedron_demo-Switch_orthographic_perspective_projection-GF
Polyhedron_demo: Make it possible to switch between projection modes
2016-12-01 17:39:17 +01:00
Laurent Rineau 0413af3deb Merge pull request #1675 from maxGimeno/Polyhedron_demo-Self_intersection_plugin_for_SM-GF
Polyhedron_demo : Self_intersection_plugin available for Scene_surface_mesh_item and works on all selected surfaces.
2016-12-01 17:38:34 +01:00
Laurent Rineau 38bcd090f0 Merge pull request #1613 from maxGimeno/Polyhedron_demo-Edit_box_plugin-GF
Polyhedron_demo:  Edit box plugin
2016-12-01 17:37:15 +01:00
Laurent Rineau 2255f14a3c Merge pull request #1669 from maxGimeno/Polyhedron_demo-Fix_picking-GF
Polyhedron_demo : Fix the picking
2016-12-01 17:36:50 +01:00
Laurent Rineau b82379cf4f Merge pull request #1670 from maxGimeno/Polyhedron_demo-fix_spheres_item-GF
Polyhedron_demo : Fix spheres item
2016-12-01 17:36:18 +01:00
Maxime Gimeno 0c73a697f9 Keep CC color and put CCs in a group. 2016-12-01 17:19:26 +01:00
Maxime Gimeno 508ae95fdc Add a way to fill a hole delimited by an edge selection. 2016-12-01 12:52:03 +01:00
Sébastien Loriot 1304f52a49 readd data removed c305e9a8 2016-12-01 09:36:10 +01:00
Guillaume Damiand 083fe3eac6 Define macro to use old cmap api and to remove deprecated warning in .cpp instead of in .h 2016-11-29 11:43:41 +01:00
Guillaume Damiand e7687061c3 Avoid to search in the map if we are on a border edge. 2016-11-29 11:43:40 +01:00