Andreas Fabri
499b9fe8e7
make the Polyhedron demo mesh_3_plugin work
2017-05-22 11:20:45 +02:00
Laurent Rineau
5b0c302a2c
Merge pull request #2044 from sgiraudot/Polyhedron_demo-Reorganize_selection_widget-GF
...
Polyhedron demo: Reorganize selection plugin
2017-05-22 11:00:09 +02:00
Laurent Rineau
3e05153f75
Merge pull request #2104 from maxGimeno/Polyhedron_demo-Fix_draw_two_sides-GF
...
Polyhedron_demo: Fix draw two sides for Polyhedron
2017-05-19 10:29:49 +02:00
Laurent Rineau
9c873a799a
Merge pull request #2098 from janetournois/Polyhedron_demo-small_fixes-GF
...
Polyhedron demo : two small fixes
2017-05-19 10:29:34 +02:00
Laurent Rineau
d2f0317f2a
Merge pull request #2093 from sloriot/Polyhedron_demo-restore_cursor
...
Restore cursor if operation is not possible
2017-05-19 10:29:18 +02:00
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
0ebf21b969
Change is_two_side in draw_two_sides
2017-05-16 13:02:12 +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
Jane Tournois
4577fb1662
fix the geom_traits type used in compact_mesh_cell_base
...
it requires the use of robust_circumcenter and robust_intersections
2017-05-11 17:58:11 +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
afc555b173
Don't use the PROGRAM_FLAT if the draw_two_sides is off.
2017-05-10 15:56:12 +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
Jane Tournois
5776418172
adapt the number of decimals in the dialog to the size of the bbox
2017-05-04 18:11:44 +02:00
Jane Tournois
cc3b2fb425
add option to protect sharp edges and/or border edges when remeshing a surface
...
this works only for polyhedral surfaces
the behaviour is unchanged for other types of domains
2017-05-04 17:41:48 +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
Sébastien Loriot
ae457ecb83
restore cursor if operation is not possible
2017-05-02 12:01:18 +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
Simon Giraudot
b182311bca
Reorganize selection plugin
2017-04-10 10:08:23 +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