Commit Graph

4195 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 7982f9ea68 Restructured the subdivision package
-- Integrated the doc in the header files
-- Split and moved files to have a proper internal structure and to distinguish
   between hosts, stencils and methods at the filename level.
-- Removed all instances of Polyhedron to have PolygonMesh instead
-- Cleaned off useless functions (Polyhedron_decorator remnants)
-- Improved general documentation
-- Minor performance improvements
2017-05-12 10:34:56 +02:00
Andreas Fabri 4fa04b951d Add DooSabin to the demo 2017-05-12 10:34:56 +02:00
Laurent Rineau 2234962fc8 Merge 4 pull-requests from branch 'cgal/releases/CGAL-4.10-branch'
- Merge pull request #2056 from maxGimeno/Polyhedron_demo-Fix_isotropic_remeshing_plugin-GF

    Polyhedron_demo: Fix Isotropic_remeshing_plugin

-  Merge pull request #2082 from maxGimeno/Polyhedron_demo-Fix_selection_plugin-GF

    Polyhedron_demo: Fix segfault in Scene::replaceItem().

- Merge pull request #2099 from maxGimeno/Polyhedron_demo-Fix_distance_plugin-GF

    Polyhedron_demo: Fix segfault in distance_item

- Merge pull request #2078 from afabri/CGAL-fix_links-GF

    Fix links detected with validator.w3.org
2017-05-11 17:33:22 +02:00
Laurent Rineau 314213ceec Merge pull request #2056 from maxGimeno/Polyhedron_demo-Fix_isotropic_remeshing_plugin-GF
Polyhedron_demo: Fix Isotropic_remeshing_plugin
2017-05-11 17:22:27 +02:00
Laurent Rineau bdea3432cb Merge pull request #2014 from maxGimeno/Polyhedron_demo-Surface_mesh_to_polyhedron_plugin-GF
Polyhedron_to_surface_mesh_plugin
2017-05-11 17:08:17 +02:00
Laurent Rineau 70b4a35f9e Merge pull request #2056 from maxGimeno/Polyhedron_demo-Fix_isotropic_remeshing_plugin-GF
Polyhedron_demo: Fix Isotropic_remeshing_plugin
2017-05-11 17:07:46 +02:00
Laurent Rineau 3848a3cef4 Merge pull request #2022 from maxGimeno/Polyhedron_demo-Reset_load_preferences-GF
Polyhedron_demo : Reverse alwaysUse
2017-05-11 17:06:56 +02:00
Laurent Rineau cca4adb400 Merge pull request #2082 from maxGimeno/Polyhedron_demo-Fix_selection_plugin-GF
Polyhedron_demo: Fix segfault in Scene::replaceItem().
2017-05-11 17:05:27 +02:00
Maxime Gimeno 730e315b57 Fix memory leak and compare vertex_handles to Vertex_handle() insteand of 0. 2017-05-05 10:47:30 +02:00
Maxime Gimeno 2d28573b8e If the triangulation failed, do not display the face. 2017-05-05 09:34:07 +02:00
Sébastien Loriot e0f470c8f6 remove extra space 2017-05-04 15:28:20 +02:00
Maxime Gimeno 8b96b7e0c9 Move itemAboutToBeDestroyed() to avoid segfault in replaceItem() 2017-05-04 14:40:39 +02:00
Maxime Gimeno d8972e5dac Add a warning box if the protected edegs are too long for the target length. 2017-04-18 10:56:18 +02:00
Laurent Rineau dce8bb77ba Merge pull request #2053 from cjamin/Mesh_3-code_improvements-cjamin
Mesh_3: code improvements + bug fix
2017-04-14 18:32:05 +02:00
Maxime Gimeno 901699d5a3 Clean-up 2017-04-14 15:19:19 +02:00
Maxime Gimeno da92d8dbb9 Simplify the actions insertion 2017-04-10 12:29:49 +02:00
Maxime Gimeno c40eee103c Clean-up 2017-04-06 15:46:45 +02:00
Maxime Gimeno d42906a17f Add Q_DECL_OVERRIDE where it was missing 2017-04-06 14:42:55 +02:00
Laurent Rineau f56c77f7e5 Merge pull request #1951 from sgiraudot/Polyhedron_demo-Fix_duplicated_points_selection-GF
Polyhedron demo: fix duplicated points selection
2017-04-05 17:02:32 +02:00
Laurent Rineau 928805d911 Merge pull request #1972 from maxGimeno/Polyhedron_demo-delete_poly_at_real_time-GF
Polyhedron_demo: Enhance memory management in the demo
2017-04-05 17:02:24 +02:00
Laurent Rineau d2ed62a690 Merge pull request #1922 from maxGimeno/Polyhedron_demo-Export_surf_in_surface_mesh-GF
Polyhedron_demo: Surf_to_sm_io_plugin
2017-04-05 17:02:08 +02:00
Laurent Rineau 2cbd2532bb Merge pull request #1911 from lrineau/Mesh_3-manifold_TBB-lrineau
Mesh 3: fix the manifold code with TBB
2017-04-05 17:02:00 +02:00
Maxime Gimeno be04b737a2 Remove lonely typedef 2017-04-04 14:53:18 +02:00
Maxime Gimeno 3b41b1e9ef - Add a plugin to read a surf in surface_meshes
- Add a constructor to the Scene_surface_mesh_item that takes a SMesh.
2017-04-04 11:42:41 +02:00
Maxime Gimeno 5ec67c3a27 Add an action to the menuFile to reset the default_loaders_map, allowing the user to choose the loader for all items again, even if alwaysUse was checked.
This action appears if talwaysUse is checked, and disappears when it is clicked.
2017-04-04 11:06:19 +02:00
Maxime Gimeno 2535fd3490 Add override declarations 2017-04-03 12:56:12 +02:00
Maxime Gimeno fd0c6f0a2e Add a plugin to convert a polyhedron_item to a surface_mesh_item and vice versa. 2017-04-03 11:15:46 +02:00
Laurent Rineau d6c0396f04 Merge pull request #1981 from janetournois/Polyhedron_demo-fix_surf_reader_non_manifold-jtournois
Polyhedron demo : fix surf reader
2017-03-30 18:26:53 +02:00
Laurent Rineau d06ed1dee5 Merge pull request #1975 from maxGimeno/Polyhedron_demo-Fix_polylines_reading-GF
Fix polylines reading
2017-03-29 11:49:59 +02:00
Laurent Rineau ae6b2f2525 Merge pull request #1984 from maxGimeno/Polyhedron_demo-Fix_offset-GF
Fix offset bug in polyhedron_demo
2017-03-29 11:49:00 +02:00
Simon Giraudot a29c9a8d60 Fix identation 2017-03-27 07:45:14 +02:00
Jane Tournois a86708e35c add verbosity 2017-03-24 14:15:54 +01:00
Maxime Gimeno f0424b49bd clean up 2017-03-24 14:14:49 +01:00
Jane Tournois a0f4f90afc fix compilation for c++98 2017-03-24 13:04:36 +01:00
Jane Tournois 704dcf9cca do not allow Exterior material to have something else than Id 0 2017-03-24 13:02:04 +01:00
Jane Tournois e3a5dc0fbe remove isolated vertices in each surface patch
the vector of all vertices is first inserted in all patches
2017-03-24 12:59:14 +01:00
Maxime Gimeno a732bb3c66 Don't use signals/slots system but override itemAboutToBeDestroyed 2017-03-24 12:10:22 +01:00
Maxime Gimeno d5fc592135 clean the surface_mesh_item, point-set_item and c3t3_item as well 2017-03-24 12:10:01 +01:00
Maxime Gimeno d661b4a6ab Delete the polyhedron of an item at real time. 2017-03-24 12:09:30 +01:00
Jane Tournois 78a3dba576 .reserve(..) that big vector, to optimize memory allocations 2017-03-23 15:48:46 +01:00
Jane Tournois 927b988e16 remove assertion which is not always true 2017-03-23 15:44:02 +01:00
Andreas Fabri 1db870c8d2 Correct inclusion of code that was moved from PMP to Operations_on_polyhedra 2017-03-23 09:04:57 +01:00
Maxime Gimeno 93127758d9 Fix l_distance offset-center computing. 2017-03-22 11:57:04 +01:00
Jane Tournois 23b25c305b add missing include 2017-03-20 17:21:24 +01:00
Jane Tournois 5d3c5b5476 avoid all the useless string manipulations
and try to make the code easier to read
2017-03-20 16:52:10 +01:00
Jane Tournois ade5079c89 fix the non-manifold case
when a surface patch is non-manifold, use PMP::orient_polygon_soup
to duplicate vertices/edges to separate the surface into
subsurfaces that are manifold and hence valid as a Polyhedron_3
2017-03-20 16:00:28 +01:00
Maxime Gimeno eb59b55df8 Don't use polylines.resize(), which is linear. 2017-03-16 16:45:04 +01:00
Sebastien Loriot 26c6dac6fa Merge pull request #1919 from maxGimeno/Polyhedron_demo-Reduce_memory_consumption-GF
Polyhedron demo: OFF_plugin optimizations
2017-03-14 16:29:16 +01:00
Jane Tournois cc259c137f fix display of text in console
it was inserted wherever the user had clicked before. Now it is appended at the end
of the console messages
2017-03-10 15:56:29 +01:00
Laurent Rineau 38a064f582 Fix one_step() with TBB/manifold and mesh_3_plugin 2017-03-10 14:46:50 +01:00