Commit Graph

4212 Commits

Author SHA1 Message Date
Laurent Rineau a07cd292d9 Merge pull request #2071 from janetournois/Polyhedron_demo-improve_surf_reader-GF
Polyhedron demo : improve .surf reader
2017-05-19 10:28:22 +02:00
Laurent Rineau 529f9b1261 Merge pull request #2019 from maxGimeno/Polyhedron_demo-enhance_statistics-GF
Add genus for closed polyhedra.
2017-05-19 10:28:14 +02:00
Laurent Rineau 2ac0a5da5e Merge pull request #2062 from maxGimeno/Polyhedron_demo-Color_and_camera-GF
Polyhedron_demo: color and camera
2017-05-19 10:27:35 +02:00
Maxime Gimeno 374c235ffb Fix warning. 2017-05-16 09:57:55 +02:00
Andreas Fabri 37f27b8381 Remove unused typedef 2017-05-16 08:07:42 +02:00
Maxime Gimeno 1f8565cc4e Fix triangulation for nef facets with holes. 2017-05-15 17:37:05 +02:00
Maxime Gimeno 005784b8a5 Fix typo 2017-05-12 09:27:34 +02:00
Maxime Gimeno 30609733bf Change shortcut for O+Left clic 2017-05-12 09:24:18 +02:00
Maxime Gimeno ac12ae5e42 Add the description of Z+clic to the help page. 2017-05-12 09:24:18 +02:00
Maxime Gimeno 5b9ace5c3b Add a zoomToPosition() function to the Scene_points_with_normal_item. 2017-05-12 09:24:18 +02:00
Maxime Gimeno 018ce4d7c4 Fix ids displaying in offsetted polyhedron_items. 2017-05-12 09:24:18 +02:00
Maxime Gimeno c0c5619abe Add offset management for the zoom. 2017-05-12 09:24:18 +02:00
Maxime Gimeno 7e87b88762 Make a zoomToPosition function for the Scene_polyhedron_item 2017-05-12 09:24:18 +02:00
Maxime Gimeno c0c9c75ebb Add a way to assign different colors to selected items and apply it when loading several items. 2017-05-12 09:24:18 +02:00
Maxime Gimeno 0bc9890b45 Silent warnings. 2017-05-12 09:18:36 +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
Jane Tournois 2b16193db4 deal with non-manifold surfaces
because a CGAL::Polyhedron cannot be non-manifold along an edge, we need
to build the polyhedral surface using PMP::orient_polygon_soup, and
PMP::polygon_soup_to_polygon_mesh.
These functions introduce duplicated points, that are dealt with in this commit

when reading a .surf file, isolated vertices are ignored
2017-04-21 14:40:08 +02:00
Jane Tournois 9f4eb7c887 use array instead of vector to avoid allocations, save memory and time 2017-04-21 11:21:16 +02:00
Jane Tournois a3ede642cd number materials from 0 (exterior) to n-1, whatever is written in the file
it happens that Exterior does not have the label 0 in the file, which
causes trouble to Mesh_3
2017-04-21 11:19:37 +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 281f2075b0 Add genus for closed polyhedra. 2017-04-04 09:37:58 +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