Commit Graph

5787 Commits

Author SHA1 Message Date
Andreas Fabri 3955f031bd Fix examples/tests/demos 2018-04-04 14:18:22 +01:00
Laurent Rineau 0e61c629fc Trivial fix: yet another makeCurrent was missing! 2018-04-03 16:15:32 +02:00
Maxime Gimeno be02003aa8 Don't add NM vertices if they are already in a NM edge, for visibility. 2018-04-03 16:07:52 +02:00
Maxime Gimeno b41aa13a0c clean-up 2018-04-03 14:44:04 +02:00
Maxime Gimeno 04415251c9 Add a verbose option to the Demo for displaying the logs 2018-04-03 12:06:07 +02:00
Laurent Rineau 1b273903cb Merge pull request #2968 from afabri/Convex_hull_3-remove_Polyhedron_3_dependency-GF
Convex_hull_3: Remove dependency on Polyhedron_3
2018-03-30 10:56:47 +02:00
Laurent Rineau 1a858e94e3 Merge pull request #2960 from maxGimeno/Demo-Fix_bbox_after_deformation-GF
Polyhedron demo: Fix Bbox computation in facegraph_items
2018-03-30 10:56:14 +02:00
Laurent Rineau ceec03a1b9 Merge pull request #2940 from sgiraudot/Classification-Additional_enhancements-GF
Classification Plug-In: Better Widget & Cluster Classification
2018-03-28 17:46:15 +02:00
Andreas Fabri 76ccc9ab6f Convex_hull_3: Remove dependency on package Polyhedron 2018-03-28 14:59:22 +01:00
Simon Giraudot 3903c795a2 Fix conversion warning 2018-03-27 12:57:09 +02:00
Maxime Gimeno 51120e5413 Fix Bbox computation in facegraph_items 2018-03-27 11:47:53 +02:00
Laurent Rineau 237735ab73 Merge pull request #2946 from afabri/CGAL-dependencies-GF
Move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh
2018-03-27 10:35:23 +02:00
Laurent Rineau 624bb54475 Merge pull request #2953 from gdamiand/LCC-remove_one_dependency-gdamiand
Remove one useless dependency in LCC to Polyhedron.
2018-03-27 10:11:36 +02:00
Laurent Rineau e8adff9cd4 Merge pull request #2926 from sloriot/CGAL-https_links
Use https for all links to www.cgal.org and doc.cgal.org
2018-03-26 10:56:00 +02:00
Laurent Rineau 4f02b8c9f0 Merge pull request #2929 from maxGimeno/Demo-Fix_selection_edge_to_face-GF
Polyhedron demo: Fix the selection edge to faces
2018-03-26 10:55:59 +02:00
Laurent Rineau 1ef766c19b Merge pull request #2932 from kkatrio/null-edge-hole-filling
PMP hole filling: null edge
2018-03-26 10:55:58 +02:00
Andreas Fabri b918ab4ba7 Move internal class from Polyhedron to BGL 2018-03-24 11:41:30 +01:00
Andreas Fabri 598fd59ea1 fix Polyhedron demo 2018-03-22 18:01:50 +01:00
Andreas Fabri 8c41669fb7 move properties from Mesh_3 to BGL, Polyhedron_3 and Surface_mesh 2018-03-22 16:37:37 +01:00
Simon Giraudot 5cbf1e1abd Fix errors/warnings 2018-03-21 07:42:48 +01:00
Maxime Gimeno da90725e66 Don't use a pointer for the fbo. 2018-03-20 14:05:45 +01:00
Maxime Gimeno 85524668e8 Fix for 2.7 2018-03-20 12:49:55 +01:00
Maxime Gimeno 32f0a3fba8 Fix for qglviewer 2.6. 2.7 only captures the background. 2018-03-20 12:42:55 +01:00
Simon Giraudot bfceda2d76 Create one item per label for clusters 2018-03-19 12:12:37 +01:00
Simon Giraudot d421271937 Fix warnings 2018-03-19 12:04:19 +01:00
Simon Giraudot 1cb3feb31d Bugfix: do not compare unsigned with signed 2018-03-19 11:37:27 +01:00
Simon Giraudot c5cb2a9cf5 Classification smoothed on clusters 2018-03-19 11:37:26 +01:00
Simon Giraudot c92916e374 Latest updates 2018-03-19 11:37:26 +01:00
Simon Giraudot 2aadae6f60 Method to reset training of selection 2018-03-19 11:37:26 +01:00
Simon Giraudot 2af94d1143 Fix comment update 2018-03-19 11:37:26 +01:00
Simon Giraudot 51c1cfbdee Display inliers informations before training 2018-03-19 11:37:26 +01:00
Simon Giraudot c4b542a74d Better handling of default colors for labels 2018-03-19 11:37:26 +01:00
Simon Giraudot 7c9c3a7007 Use shortcuts for training 2018-03-19 11:37:26 +01:00
Simon Giraudot 5ee040ad99 Add several labels altogether 2018-03-19 11:37:26 +01:00
Simon Giraudot 1e61542de6 Select random region 2018-03-19 11:37:26 +01:00
Simon Giraudot b0b0ec5b55 Add option to use clusters in plug-in 2018-03-19 11:37:26 +01:00
Simon Giraudot 790ad0ba67 Clean up: use position instead of name 2018-03-19 11:37:26 +01:00
Simon Giraudot 142189bb88 Add classification of clusters in plug-in 2018-03-19 11:37:25 +01:00
Simon Giraudot 53049bd07c Add rainbow ramp 2018-03-19 11:37:25 +01:00
Konstantinos Katrioplas 9b4c24223b fix warning message on Polyhedron demo when not using DT 2018-03-16 14:47:02 +01:00
Maxime Gimeno f0fce954d9 Make the code for edge_to_facets selection safer. 2018-03-15 15:23:10 +01:00
Mael Rouxel-Labbé 8646350d47 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-03-15 14:42:21 +01:00
Sébastien Loriot 01af331c72 use https for all links to www.cgal.org and doc.cgal.org 2018-03-14 15:59:38 +01:00
Laurent Rineau e687e38d9c Merge pull request #2911 from lrineau/CGAL-prefix_CMake_options_with_CGAL-GF
Prefix CMake options with `CGAL_`
2018-03-09 18:41:24 +01:00
Laurent Rineau ba041a5dc1 Merge pull request #2909 from maxGimeno/Demo-Selection_item_tooltip-GF
Polyhedron demo: Fix tooltip for selection item
2018-03-09 18:41:08 +01:00
Laurent Rineau d9a966287e Merge pull request #2908 from maxGimeno/Demo-Fix_aabb_plugin-GF
Polyhedron demo: Fix cut plugin
2018-03-09 18:40:57 +01:00
Laurent Rineau b4bfda04ca Merge pull request #2905 from maxGimeno/c3t3_item-Fix-GF
Polyhedron_demo : Add a check before trying to load a cdt_3 to avoid crashing
2018-03-09 18:40:34 +01:00
Laurent Rineau c3ac7f70c4 Merge pull request #2904 from maxGimeno/Demo-Fix_rotation_point-GF
Polyhedron demo: More fixes for the Viewer
2018-03-09 18:40:26 +01:00
Laurent Rineau 4a7966d145 Merge pull request #2860 from lrineau/Installation-fix_check_headers-GF
Fix CGAL_ENABLE_CHECK_HEADERS, again
2018-03-09 18:39:26 +01:00
Maxime Gimeno 491243a24f update available operations when selecting boundary edges or inverting selection 2018-03-08 12:14:32 +01:00
Laurent Rineau f12b3bf302 Prefix CMake options with `CGAL_`
- in `examples/Mesh_3/`,
- in `examples/Point_set_processing_3/`,
- in `demo/Polyhedron/`, and
- in `demo/Triangulation_3/`.
2018-03-08 12:07:49 +01:00
Maxime Gimeno d76ba39104 Fix selection_item tooltip so it shows the number of selected simplices 2018-03-07 16:20:05 +01:00
Laurent Rineau c741950dd2 Merge pull request #2901 from sloriot/Demo-add_exp_autorefinement
Add actions to use autorefinement
2018-03-07 16:06:13 +01:00
Maxime Gimeno 60e6e4b35d add missing curly brackets 2018-03-07 14:13:44 +01:00
Maxime Gimeno 4ce3a55096 Add a check before trying to load a cdt_3 to avoid crashing. 2018-03-07 11:00:49 +01:00
Maxime Gimeno 2b250c5d07 Fix the RotationPoint setting. 2018-03-07 09:52:47 +01:00
Sébastien Loriot a66834b976 add actions to use autorefinement 2018-03-06 19:30:25 +01:00
Laurent Rineau 0a74393dcf Commit all new dependencies files 2018-03-06 18:44:48 +01:00
Laurent Rineau 182239d6b6
Merge branch 'master' into CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF 2018-03-06 16:49:30 +01:00
Laurent Rineau cca666e28f Merge pull request #2844 from maxGimeno/Orient_soup-Output_nm_edges_in_polyline-GF
Polyhedron demo: Make Polyline from non manifold edges
2018-03-06 16:24:16 +01:00
Laurent Rineau a3ee6a03b8 Merge pull request #2896 from maxGimeno/C3t3_item-Add_offset-GF
Polyhedron demo: fix c3t3 display with big coordinates
2018-03-06 16:24:08 +01:00
Laurent Rineau f092c04180 Merge pull request #2607 from maxGimeno/Selection_plugin_fix-GF
Polyhedron demo: Fixes for QGLViewer 2.7 and remove GlSplat
2018-03-06 16:23:58 +01:00
Laurent Rineau 91e2d65e97 Merge pull request #2892 from sgiraudot/Polyhedron_demo-Fix_region_selection-GF
Polyhedron demo: Fix Region Selection / Position Request
2018-03-06 16:23:41 +01:00
Laurent Rineau 9e31b1874b Merge pull request #2887 from maxGimeno/Fix_polylines_item-GF
Polyhedron demo: Fix operations for polyline
2018-03-06 16:23:00 +01:00
Laurent Rineau 34c8857c9e Merge pull request #2884 from maxGimeno/CGAL-Remove_gl_h-GF
Remove remaining native GL code
2018-03-06 16:22:34 +01:00
Andreas Fabri f91a93d02b Quit VC++ warning concerning a third party lib for reading LAS files 2018-03-06 15:05:21 +00:00
Maxime Gimeno 2cd2319af9 Fix display with offset 2018-03-05 15:04:41 +01:00
Maxime Gimeno 3f4641623f Fix cut_plane when loading c3t3 with offset 2018-03-05 14:53:51 +01:00
Simon Giraudot 219d1e4f80 Fix selection/point info with offset 2018-03-05 10:39:57 +01:00
Laurent Rineau 4d8b25d409 Merge pull request #2847 from maxGimeno/Selection_tool-Filter_operations-GF
Polyhedron demo: Enhance selection tool
2018-03-02 16:33:56 +01:00
Laurent Rineau 8290c80c6a Merge pull request #2878 from maxGimeno/Statistics-restore_for_multiple_items-GF
Polyhedron demo: Restore statistics for multiple items
2018-03-02 16:33:48 +01:00
Laurent Rineau 2fcdcf120c Merge pull request #2876 from sloriot/Demo-restore_cursor
Restore cursor in case of failure
2018-03-02 16:33:40 +01:00
Laurent Rineau 8b07fffb78 Merge pull request #2834 from maxGimeno/Polyhedron_demo-Save_as_enhancement-GF
Polyhedron demo: Save as enhancement
2018-03-02 16:32:49 +01:00
Maxime Gimeno 6609313ae1 Fix typo 2018-03-02 15:48:25 +01:00
Maxime Gimeno fb38eaec4a Clean-up and add a dialog in the probably impossible case nothing is non-manifold. (in this cas eit is orientable and so it is not a soup). 2018-03-02 11:47:45 +01:00
Maxime Gimeno 9db54327db conflict resolution 2018-03-01 08:48:02 +01:00
Maxime Gimeno 02044f2993 change highlight api for Scene_edit_box_item 2018-03-01 08:41:27 +01:00
Maxime Gimeno 8a50397cd9 Fix Edit_box 2018-03-01 08:40:27 +01:00
Maxime Gimeno 59e8a2c52c fix volume planes manipulation 2018-03-01 08:40:26 +01:00
Maxime Gimeno ad8d97e566 Fix highlighting 2018-03-01 08:40:26 +01:00
Maxime Gimeno 3c770e07df Fix 2d painting for selection 2018-03-01 08:40:26 +01:00
Maxime Gimeno f7aef14b49 Actually fix the Basic Objects menu 2018-03-01 08:40:26 +01:00
Maxime Gimeno ade8725046 add a makeCurrent() in the item's constructor 2018-03-01 08:40:26 +01:00
Maxime Gimeno 6fd37cbfab Fix segfault in selection 2018-03-01 08:39:35 +01:00
Maxime Gimeno 6389050f9b Fix depth problem in selection 2018-03-01 08:39:35 +01:00
Maxime Gimeno a5a6cc7c1e Fix warnings 2018-02-28 15:25:52 +01:00
Maxime Gimeno 8706ec9342 Fix operations for polyline 2018-02-28 12:01:56 +01:00
Maxime Gimeno bc2410d4ad Fixes 2018-02-28 11:40:49 +01:00
Maxime Gimeno 2156017402 Remove native gl.h include and native gl code in Surface_mesher/archive 2018-02-28 10:36:26 +01:00
Maxime Gimeno d1fcfab838 Restore statistics for multiple items 2018-02-27 12:23:26 +01:00
Sébastien Loriot 0cac04a04b restore cursor in case of failure 2018-02-27 10:58:31 +01:00
Maxime Gimeno 0c5d906736 Rename action and adds a dialog when orienting. 2018-02-26 13:42:50 +01:00
Mael Rouxel-Labbé d9168d011c Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-02-23 18:24:39 +01:00
Laurent Rineau de4f63f20d Merge pull request #2838 from maxGimeno/BGL-remove_self_intersection-GF
Improve experimental repairing functions
2018-02-23 17:34:49 +01:00
Simon Giraudot efb52c8fde Fix outdated name in dialog 2018-02-23 13:19:12 +01:00
Mael Rouxel-Labbé c28e05be0c Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-02-23 12:50:06 +01:00
Andreas Fabri 90d6424b0d Remove typename in non-template code 2018-02-23 07:59:31 +00:00
Simon Giraudot 170ceb60c4 Add remaining time estimation 2018-02-22 14:45:36 +01:00
Simon Giraudot d0328e54a5 Add comment about shape = -1 for clarity 2018-02-21 10:25:19 +01:00
Simon Giraudot 86d6738ecd Do not clear PLY comments, just remove previous labels 2018-02-21 10:13:55 +01:00
Simon Giraudot f77bf61301 Save shape definitions in PLY comments 2018-02-21 10:13:40 +01:00
Maxime Gimeno 1d37fa8a47 If the extension for the corresponding filter is already present in the filename, don't add it a second time. 2018-02-21 09:54:09 +01:00
Simon Giraudot 15caaabf08 Add option to save cluster_id in point set item + console progress bar 2018-02-20 16:33:24 +01:00
Simon Giraudot d589bc1e94 Parallelize buffer filling 2018-02-20 16:33:24 +01:00
Simon Giraudot 75fb744119 Region selection + expand/reduce + parallelized selection test 2018-02-20 16:33:24 +01:00
Simon Giraudot 80b2b77b77 Add Region Selector 2018-02-20 16:33:24 +01:00
Maxime Gimeno e784259f0e Use c++11 to make the string list initialization look better 2018-02-20 14:52:13 +01:00
Maxime Gimeno b7b93c8b93 Remove bugged topology detection in selection_plugin. 2018-02-20 08:27:38 +01:00
Maxime Gimeno cde00f7757 Clean-up and overload. 2018-02-19 18:04:54 +01:00
Maxime Gimeno 3fdc7b67b2 remove non_filled_holes 2018-02-19 18:04:54 +01:00
Maxime Gimeno 2758143116 fixing the topology test. 2018-02-19 18:04:03 +01:00
Maxime Gimeno 2ff403e55d Enhance the selection_plugin with the new function 2018-02-19 18:04:01 +01:00
Laurent Rineau addb9230ce Merge pull request #2782 from maxGimeno/Boundary_edges_selection_fix-GF
Polyhedron demo: Fix edge selection -> face selection conversion
2018-02-19 14:28:27 +01:00
Laurent Rineau b0c6e37c1d Merge pull request #2772 from MaelRL/SMP-Clean_internal_from_example-GF
SMP: Documented some functions used in the Orbifold Tutte parameterizer

# Conflicts:
#	Surface_mesh_parameterization/examples/Surface_mesh_parameterization/orbifold.cpp
#	Surface_mesh_parameterization/include/CGAL/Surface_mesh_parameterization/orbifold_shortest_path.h
2018-02-19 14:27:59 +01:00
Laurent Rineau 637bf71645 Merge pull request #2828 from lrineau/CGAL-fix_various_issues-GF
fix various minor issues
2018-02-19 14:27:16 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Laurent Rineau 9d227d0fba Merge pull request #2758 from maxGimeno/BGL-Document_graph_has_property-GF
BGL: Document graph_has_property
2018-02-19 14:26:33 +01:00
Laurent Rineau 705056526c Merge pull request #2828 from lrineau/CGAL-fix_various_issues-GF
fix various minor issues
2018-02-19 14:24:32 +01:00
Laurent Rineau 2afbcc7fa5 Merge pull request #2772 from MaelRL/SMP-Clean_internal_from_example-GF
SMP: Documented some functions used in the Orbifold Tutte parameterizer
2018-02-19 14:24:23 +01:00
Maxime Gimeno e7a6bb5619 Add points item export for non-manifold vertices of the soup. 2018-02-19 11:51:54 +01:00
Maxime Gimeno 1105e32896 Filter operations in QComboBox according to what simplices are currently in the selection. 2018-02-15 16:22:32 +01:00
Maxime Gimeno c6b9a282ee Add an action to create a polyline from non manifold edges of a soup. 2018-02-15 15:15:06 +01:00
Laurent Rineau 0eaabaa711 Merge pull request #2811 from maxGimeno/Polyhedron_demo-Fix_selection_IO-GF
Polyhedron_demo: Fix some crashes when saving an item.
2018-02-14 15:35:29 +01:00
Laurent Rineau 6e2d0aa4a1 Merge pull request #2810 from maxGimeno/Fix_colors-Polyhedron_demo-GF
Polyhedron demo: fix color selection in the SceneView.
2018-02-14 15:35:21 +01:00
Laurent Rineau bcfad15b16 Merge pull request #2802 from afabri/Polyhedron-STL-GF
Polyhedron: Add *STL to nameFilters()
2018-02-14 15:34:38 +01:00
Laurent Rineau 8a55d4cd94 Merge pull request #2798 from sgiraudot/Polyhedron_demo-Fix_reconstruction_angle_parameter-GF
Polyhedron Demo Surface Reco. Plugin: Fix missing conversion from degrees to radiants
2018-02-14 15:34:15 +01:00
Laurent Rineau 0ad9e405dd Merge pull request #2789 from afabri/Classification-fix_CMakeLists-GF
win32 fix concerning bzip headers in the classification plugin CMakeLists.txt
2018-02-14 15:33:58 +01:00
Laurent Rineau 9e7115ac2e Merge pull request #2784 from maxGimeno/Travis_check_package_dep-GF
TravisCI:  check package dependencies
2018-02-14 15:33:31 +01:00
Maxime Gimeno 4cb8afebee Use default filepath of item when saving if exists, if not use last path used when save_as in the current session if exists, if not use build dir like before. 2018-02-14 14:12:31 +01:00
Maxime Gimeno b50fddc9d8 Add a function to decide which filter should be the default when saving. 2018-02-14 13:56:00 +01:00
Laurent Rineau 741dbaf9f3 Fix a bug in demo/Polyhedron/Plugins/Mesh_3/CMakeLists.txt
The file "Polyhedron_demo_mesh_3_plugin_cgal_code.cpp" was renamed *long*
ago. I do not know why I got that CMake error only recently.
2018-02-13 16:00:29 +01:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Maxime Gimeno 16b8999c14 If the filters are empty, filters.first().split(";;") will trigger an assertion and probably segfault, so I add a check before that. 2018-02-08 15:19:23 +01:00
Maxime Gimeno 1dfbced8d5 If the color column selected clicked is not in the selection, edit the corresponding item, not the current selection. 2018-02-08 13:23:57 +01:00
Maxime Gimeno dae33259c5 Use toLower() in the mainWindow to read indistinctly lower and capital extensions. 2018-02-07 14:36:45 +01:00
Andreas Fabri 73ba2a8e5b Polyhedron: Add *STL to nameFilters() 2018-02-07 08:53:37 +00:00
Simon Giraudot d84119056b Fix missing conversion from degrees to radiants 2018-02-06 14:10:41 +01:00
Maxime Gimeno 7a5e92d307 replace halfedge by fg_halfedge 2018-02-05 08:03:08 +01:00
Andreas Fabri f750c27354 win32 fix concerning bzip headers in the classification plugin CMakeLists.txt 2018-02-02 15:21:53 +00:00
Laurent Rineau 36514e2c65 Merge pull request #2759 from maxGimeno/Minor_feature_requests-GF
Polyhedron demo: small new features
2018-02-02 16:08:01 +01:00
Maxime Gimeno 688b5dd06e Move dependencies creation to package_info and add dependencies to git 2018-02-02 12:08:05 +01:00
Maxime Gimeno 8bde832931 Fix METIS headers in BGL 2018-02-02 12:08:05 +01:00
Maxime Gimeno a676d5a60e Try to fix errors in classification checks 2018-02-02 12:08:05 +01:00
Maxime Gimeno acd0a72edf Modify travis script to test dependencies 2018-02-02 12:08:05 +01:00
Maxime Gimeno ae36b452bc Add dependencies of all packages 2018-02-02 12:08:05 +01:00
Maxime Gimeno 7fa4b380d2 fixes in includes logic. 2018-02-02 12:08:05 +01:00
Maxime Gimeno e7ebbd731d Add a butotn in edge selection mode that allows to select the whole boundary. 2018-02-02 09:27:41 +01:00
Maxime Gimeno 1ef82e471b check if the edge is NOT a border edge before calling its opposite. 2018-02-02 08:48:04 +01:00
Andreas Fabri 7d5b51c4f0 cast and reindent 2018-02-01 16:36:23 +00:00
Laurent Rineau f310fc588d
Merge pull request #2690 from sgiraudot/Classification-ETHZ_random_forest-GF
Classification: ETHZ Random Forest
2018-02-01 17:35:30 +01:00
Simon Giraudot 361f132290 Fix conversion warning 2018-01-31 13:55:51 +01:00
Maxime Gimeno f46e805c77 Make inherit the usage of TBB in the cmake macro 2018-01-30 14:09:47 +01:00
Maxime Gimeno 60b2f8ac58 Fix c3t3_io_plugin with TBB 2018-01-30 14:02: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
Maxime Gimeno 44283d17c2 un-clip when item is erased 2018-01-26 16:30:58 +01:00
Maxime Gimeno b6181e7c2a Fix points size in point_set reload. 2018-01-23 17:47:48 +01:00
Maxime Gimeno 604c1ed006 fix load_obj in off_io_plugin 2018-01-23 17:31:21 +01:00
Maxime Gimeno 254a734beb Change saving extensions management 2018-01-23 17:22:45 +01:00
Maxime Gimeno f946773a6c Fix Group deletion 2018-01-23 15:34:58 +01:00
Maxime Gimeno 102f78fc88 initialize c3t3 cutplane to visible. 2018-01-23 14:32:07 +01:00
Maxime Gimeno ce4a801b6c Add isolated vertices counting for surface_mesh 2018-01-23 12:17:39 +01:00
Maxime Gimeno 34268821a8 replace facets by faces in polyhedron_item's tooltip 2018-01-23 11:53:52 +01:00
Maxime Gimeno 23cdc9fb63 split filters for surface_mesh and polyhedron in save and load namefilters to avoid weird names in save dialog 2018-01-23 11:51:50 +01:00
Maxime Gimeno 6f54aac350 Fix c3t3 events and plane after reload. 2018-01-23 11:42:49 +01:00
Simon Giraudot 6269309d86 Use CGAL include for boost counting/transform iterators everywhere 2018-01-23 11:09:52 +01:00
Maxime Gimeno 8c8b9c5ae4 Disable scene_edit_box's events when it is not visible 2018-01-23 09:48:33 +01:00
Maxime Gimeno ec3438ff44 Add a check for finiteness(???) to applicable() for the create_bbox_mesh_plugin and make the scene_intersection_item not finite. 2018-01-23 09:38:35 +01:00
Maxime Gimeno 78bda89857 Add a function to the group_item that specifies which of its children are selected along with it.
This allows the c3t3_item to override it and return an empty list, so it ignores the selection behavior of the group and keeps it possible to apply an operation only to the c3t3 when it has children like visible tets.
2018-01-23 09:26:11 +01:00
Maxime Gimeno 19af16022c remove display all ids and initialize ids displaying to false. 2018-01-22 16:40:41 +01:00
Maxime Gimeno 36ec70659f No error when cancelling a zoom to id 2018-01-22 16:20:57 +01:00
Maxime Gimeno c3215b9331 Move graph_has_property from namespace boost to namespace CGAL and provide some doc for it. 2018-01-22 12:43:29 +01:00
Maxime Gimeno 50aa20906f Specify different names for dock widgets SM/Polyhedron 2018-01-19 15:56:52 +01:00
Laurent Rineau 87ddddf04b Merge pull request #2278 from maxGimeno/Integrate_remeshing_plugin_into_mesh_3-GF
Polyhedron_demo: Remove the Remeshing_plugin
2018-01-19 15:22:41 +01:00
Simon Giraudot 5d1aa4de87 Fix conversion warning 2018-01-19 14:13:51 +01:00
Maxime Gimeno e920af7e06 Don't use lambda in addAction() for travis 2018-01-19 09:22:52 +01:00
Maxime Gimeno 6fa6b2afdd Add a fucntion to the point set selection plugin to print coordinates of a point. 2018-01-18 16:38:25 +01:00
Maxime Gimeno 3629e3e7de add Grid and axis 2018-01-18 15:05:01 +01:00
Maxime Gimeno da2524fa49 remove the remeshing_plugin from the cgal_test_with_cmake file 2018-01-18 12:15:32 +01:00
Andreas Fabri 22bd2815a3 Polyhedron 2018-01-17 17:13:53 +00:00
Maxime Gimeno 96c145d0b6 F5 reloads selected items 2018-01-17 15:41:33 +01:00
Maxime Gimeno dc6e87c081 Selected actions propagated to all selected items. 2018-01-17 15:29:01 +01:00
Laurent Rineau 9fbdb501c5 Merge pull request #2716 from maxGimeno/Fix_polyhedron_item_ids-GF
Polyhedron demo: Fix Scene_polyhedron_item ids
2018-01-17 10:43:22 +01:00
Laurent Rineau bf52faed93 Merge pull request #2694 from sgiraudot/Point_set_processing-Use_named_parameters-GF
Point Set Processing: Use Named Parameters
2018-01-17 10:42:33 +01:00
Maxime Gimeno 8c53cdc29c fix after rebase 2018-01-15 11:20:27 +01:00
Maxime Gimeno f65b12bf47 Fix after rebase 2018-01-15 11:20:27 +01:00
Maxime Gimeno 449e187ff9 Remove the Remeshing_plugin.(Mesh_3 does better.) 2018-01-15 11:20:23 +01:00
Maxime Gimeno 81800eb937 Add a feature to the Mesh_3_plugin that allows to create a Facegraph_item when performing a surface_meshing. 2018-01-15 11:17:37 +01:00
Simon Giraudot 3d17f81308 Fix bug in CMakeLists: WIN23 -> WIN32 2018-01-15 11:00:20 +01:00
Simon Giraudot 86090bf447 Adapt CMakeLists.txt to the Win32 specific Boost/ZLIB dependencies 2018-01-12 14:15:04 +01:00
Simon Giraudot 9f4aaddd46 Fix CMakeLists: move all classification plugin lines inside Boost condition 2018-01-12 14:15:04 +01:00
Simon Giraudot 739ccc00bb Make Boost IO Streams/serialization optional in demo 2018-01-12 14:15:03 +01:00
Simon Giraudot b9126941ad Improve CMakeLists of classification 2018-01-12 14:15:02 +01:00
Simon Giraudot 04ab6ed3d5 Fix classification plugin CMakeLists 2018-01-12 14:15:02 +01:00
Simon Giraudot 73d2b5d68a Fix IO methods for ETHZ RF config 2018-01-12 14:15:00 +01:00
Simon Giraudot d65cdbd8d9 Update plugin with Random forest name change 2018-01-12 14:15:00 +01:00
Simon Giraudot 54ec66b1e7 Random forest parameters settable from plugin 2018-01-12 14:14:59 +01:00
Simon Giraudot 40e497a6da Use newly added QMultipleInputDialog 2018-01-12 14:14:59 +01:00
Simon Giraudot 13decf854d Add a simple way to create a multiple input dialog 2018-01-12 14:14:59 +01:00
Simon Giraudot 9acd8bbe3c Fix duplicate code 2018-01-12 14:14:58 +01:00
Jane Tournois c2a1804c0b re-indent CMakeLists.txt 2018-01-12 14:14:58 +01:00
Jane Tournois 63beb82029 add libraries that the classification_plugin needs to link to 2018-01-12 14:14:58 +01:00
Simon Giraudot 1a2dc57fcd Fix saving dialog 2018-01-12 14:14:58 +01:00
Simon Giraudot f709cc1804 Better load/save windows for classif config 2018-01-12 14:14:58 +01:00
Simon Giraudot af4bbf37a0 Move ETHZ code to auxiliary 2018-01-12 14:14:58 +01:00
Simon Giraudot 7bd5916fce Include ETHZ random forest in plugin 2018-01-12 14:14:57 +01:00
Simon Giraudot bb03a73ffc Better organisation of classification plugin 2018-01-12 14:14:57 +01:00
Simon Giraudot c50c12a451 Select random regions + interpret LAS classification property in plugin 2018-01-12 14:14:57 +01:00
Simon Giraudot 39a779b9b4 Remove random forest item from default widget 2018-01-12 14:14:57 +01:00
Jane Tournois 4847980422 remove extra typename 2018-01-12 14:14:57 +01:00
Simon Giraudot 75d11d288e Use a set of default colors for preexisting labels 2018-01-12 14:14:57 +01:00
Simon Giraudot 9285ffb6fd Add all properties in point set as classification feature 2018-01-12 14:14:57 +01:00
Simon Giraudot 345e10671b Better handling of OpenCV dependency in plugin + timers 2018-01-12 14:14:56 +01:00
Simon Giraudot b74b1fd226 Filter unused indices in plugin 2018-01-12 14:14:56 +01:00
Simon Giraudot f9384c3453 Select random regions + interpret LAS classification property in plugin 2018-01-12 14:14:56 +01:00
Laurent Rineau 66676b6a35 Merge pull request #2707 from sloriot/Scripts-enhance_release_creation_with_cmake
Improve release creation cmake script
2018-01-11 16:47:18 +01:00
Simon Giraudot c52b32b744 Add trick to get FT right for general PointRange AND for CGAL::Point_set_3 2018-01-11 14:04:19 +01:00
Simon Giraudot 86e37c9a34 Update demo plugins with new PSP API 2018-01-10 16:39:32 +01:00
Simon Giraudot 3aac53929a Add parameters() to demo Point_set_3 + selection range handling 2018-01-10 16:39:32 +01:00
Simon Giraudot 1fa899760f Use standard deprecation tools + minor fixes 2018-01-10 16:39:31 +01:00
Simon Giraudot ed27cd1356 Update namespace 2018-01-10 16:38:37 +01:00
Simon Giraudot 2be7e3f10f Do not use derecated API in demo 2018-01-10 16:38:36 +01:00
Sébastien Loriot c5da1cf2a4 remove no longer use file 2018-01-08 21:02:39 +01:00
Maxime Gimeno 8b0a2a032b set ids in polyhedron_item after creation and in invalidateOpenGLBuffers. 2018-01-08 11:22:18 +01:00
Mael Rouxel-Labbé b8df8ba29b Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2018-01-08 10:44:01 +01:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Sébastien Loriot 9fe73a801e Merge pull request #2552 from maxGimeno/PMP_does_intersect-GF
PMP: do_intersect
2018-01-04 15:34:18 +01:00
Sebastien Loriot e3f78ff10e
Merge pull request #2545 from maxGimeno/PMP_orient_connected_components-GF
PMP :  Orient_connected_components function
2018-01-04 15:31:21 +01:00
Sebastien Loriot 625df00b19
Merge pull request #2219 from afabri/BGL-generic_property_map-GF
BGL: Add an API for adding and removing a property map
2018-01-04 15:28:54 +01:00
Sébastien Loriot b94631496a Merge remote-tracking branch 'cgal/releases/CGAL-4.11-branch' 2017-12-22 22:50:15 +01:00
Sebastien Loriot a68ee4833b
Merge pull request #2684 from janetournois/Polyhedron_demo-fix_warnings-GF
Demo parameterization plugin : avoid conversion warning
2017-12-22 22:12:58 +01:00
Sebastien Loriot b6cdb1ae5b
Merge pull request #2686 from sloriot/Demo-duplicate_nm_vertices
Add plugin to duplicate non-manifold vertices
2017-12-22 22:10:50 +01:00
Sébastien Loriot 029290589c all_default is a function 2017-12-22 09:05:34 +01:00
Maxime Gimeno 5a2af31e81 Add misisng CGAL_target_use_TBB for scene_c3t3_item 2017-12-20 11:51:46 +01:00
Sébastien Loriot 66797a5d87 remove unused type 2017-12-20 09:30:44 +01:00
Sébastien Loriot 8f0c098408 do not use Polyline typedef as it conflicts on windows 2017-12-20 09:24:44 +01:00
Sébastien Loriot d1597f2fb5 Merge branch 'maxGimeno/PMP_orient_connected_components-GF' into cgal/master 2017-12-19 17:34:51 +01:00
Sébastien Loriot 430ad5bc72 Merge branch 'maxGimeno/PMP_does_intersect-GF' into cgal/master 2017-12-19 17:31:29 +01:00
Mael Rouxel-Labbé 0bca01d872 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-12-19 17:22:03 +01:00
Laurent Rineau fd1045dcd3 Merge pull request #2574 from lrineau/Polyhedron_demo-update_SEP_reader-GF
Polyhedron demo: update the SEP reader
2017-12-19 16:30:43 +01:00
Laurent Rineau 553faa9590 Merge pull request #2670 from maxGimeno/Segmented_image_plugin_small_fixes-GF
Polyhedron demo: small fixes for io_image_plugin
2017-12-19 16:30:34 +01:00
Laurent Rineau 6a2f3263a1 Merge pull request #2314 from maxGimeno/Add_plugins_info_in_preferences-GF
Polyhedron_demo: Enhance the plugins management in Preferences
2017-12-19 16:30:20 +01:00
Mael Rouxel-Labbé fdd3af3445 Fixed conversion warning 2017-12-19 16:09:29 +01:00
Sébastien Loriot 569649e810 add function to duplicate non-manifold vertices + add plugin 2017-12-15 09:16:45 +01:00
Jane Tournois 0f923fec04 avoid conversion warning 2017-12-14 15:33:26 +01:00
Laurent Rineau 7df26c594b
Merge branch 'master' into BGL-generic_property_map-GF 2017-12-14 09:46:01 +01:00
Sébastien Loriot 0425be7d15 handle namespace change in the demo 2017-12-13 16:46:35 +01:00
Laurent Rineau fe81d31ec2
Merge branch 'master' into PMP_does_intersect-GF 2017-12-13 16:25:32 +01:00
Laurent Rineau 4b0b1a86c8
Update CMakeLists.txt
This branch is based on `releases/CGAL-4.11-branch` and the new CMake syntax is only in CGAL-4.12/master.
2017-12-13 11:43:09 +01:00
Maxime Gimeno 6c42ce6958 Doc review 2017-12-13 10:17:08 +01:00
Maxime Gimeno 67d06cadb6 Add a function that orient a closed triangle mesh to make it bound a volume. 2017-12-13 10:17:04 +01:00
Maxime Gimeno 9fd5dda4fe Add an action to inside out plugin for orienting connected components 2017-12-13 10:16:40 +01:00
Laurent Rineau c83d3ce1d2 Fix Polyhedron CMake 2017-12-12 09:55:25 +01:00
Maxime Gimeno 65dca20f82 Fix flat shaders 2017-12-11 14:07:00 +01:00
Laurent Rineau 2481043d6c
Merge branch 'master' into Polyhedron_demo-update_SEP_reader-GF 2017-12-11 13:58:17 +01:00
Maxime Gimeno e0f00ce89f fix stuffs 2017-12-08 15:37:40 +01:00
Mael Rouxel-Labbé a5bfb8659f M3/P3M3 doc improvements 2017-12-08 11:02:19 +01:00
Mael Rouxel-Labbé 34d53aa2d9 Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-12-05 20:32:30 +01:00
Laurent Rineau 3b0ca9fafc Merge pull request #2647 from janetournois/Polyhedron_demo-export_sm_selection_item-jtournois
Polyhedron demo : export surface_mesh_selection_item for external plugins
2017-12-05 18:27:26 +01:00
Laurent Rineau 65f4e42acc Merge pull request #2606 from sloriot/CGAL-create_release_with_cmake
Add script to create release with cmake
2017-12-05 18:24:58 +01:00
Laurent Rineau 9af5e4a8f8 Merge pull request #2593 from maxGimeno/CGAL_meeting_fixes-GF
Polyhedron demo: CGAL meeting fixes
2017-12-05 18:20:48 +01:00
Laurent Rineau 3c6640bf59 Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
Renewal of CMake scripts: header-only, ctest, CMake>=3.1

# Conflicts:
#	Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Mael Rouxel-Labbé 529e73e57b Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-12-05 17:03:14 +01:00
Mael Rouxel-Labbé 4734e87a9b Fixed typos 2017-12-05 13:10:10 +01:00
Mael Rouxel-Labbé 1210ed0d49 Revert "Linked the parameterization plugin with CGAL_Core"
This reverts commit c113eab209.

Removing dependency on Core from SMP (ARAP)
2017-12-05 11:32:29 +01:00
Laurent Rineau 1c7d1eb359 That check is useless 2017-12-04 16:41:03 +01:00
Laurent Rineau a752da3a28 Update the SEP reader 2017-12-04 16:40:58 +01:00
Mael Rouxel-Labbé 320ec3dc30 Fixed .mesh reading
- The exterior of a mesh is not the set of infinite cells
- Do not assign a uniform index to border facets
2017-12-04 15:22:04 +01:00
Laurent Rineau 3f6400b40e Fix a warning [-Wcatch-value]
```
test/Polyhedron_Demo/MainWindow.cpp:1075:26: warning: catching polymorphic type 'class std::logic_error' by value [-Wcatch-value=]
test/Polyhedron_Demo/Plugins/Mesh_2/Mesh_2_plugin.cpp:287:6: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=]
```
2017-12-04 11:55:51 +01:00
Maxime Gimeno 900a8948c6 Fix QBrush clang error 2017-12-04 09:26:13 +01:00
Maxime Gimeno 1f27530e8b Add error tracking and color code to hte preference window 2017-12-01 17:07:55 +01:00
Laurent Rineau acc29cc153 Fix the link to CGAL_Core with the new API 2017-12-01 11:36:49 +01:00
Laurent Rineau 3e97c3b9cb CMake: Fix the export of the 3D demo in HEADER_ONLY
The error was:
```
CMake Error in CMakeLists.txt:
  export called with target "CGAL_Qt5" which requires target
  "CGAL_Qt5_moc_and_resources" that is not in the export set.

  If the required target is not easy to reference in this call, consider
  using the APPEND option with multiple separate calls.
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.12-Ic-106/Polyhedron_Demo/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Release-64bits.gz
2017-12-01 11:18:20 +01:00
Jane Tournois ac127a6611 export surface_mesh_selection_item for external plugins 2017-12-01 10:19:15 +01:00
Mael Rouxel-Labbé b00e65ec67 Fixed missing parameters in some "do_is_bad" 2017-11-30 17:01:33 +01:00
Mael Rouxel-Labbé ba3a59ed5a Merge branch 'Periodic_3_mesh_3-Feature-MBogdanov-old' into Periodic_3_mesh_3-Feature-MBogdanov 2017-11-30 15:54:00 +01:00
Mael Rouxel-Labbé 84ff9c2d17 internal::Mesh_3 --> Mesh_3::internal 2017-11-30 15:16:39 +01:00
Andreas Fabri de166d8be7 Fix testsuite 2017-11-29 10:51:06 +00:00
Laurent Rineau da6ef91463 Remove the #include of OpenGL headers 2017-11-28 18:19:39 +01:00
Laurent Rineau bb3515ca38 io_image_plugin needs CGAL_ImageIO 2017-11-28 17:59:09 +01:00
Laurent Rineau 3466eb83f0 Polyhedron demo: do not use the OpenGL API directly 2017-11-28 17:54:38 +01:00
Maxime Gimeno 27f29bc6f2 Add overloads for polylines ranges and tests that go with them 2017-11-17 12:55:27 +01:00
Maxime Gimeno edc49e77b7 Move intersection computation functions in internal. 2017-11-17 12:55:05 +01:00
Maxime Gimeno ece79dd277 Add default values for NPs and no more need for Kernel in do_intersect. Also rename and un-document intersection functions. 2017-11-17 12:55:05 +01:00
Maxime Gimeno 71817eb67a Add polylines intersections detection to the surface_intersection plugin 2017-11-17 12:55:05 +01:00
Laurent Rineau bbee705221 Add compilation tests for demos 2017-11-16 18:38:15 +01:00
Sébastien Loriot 8b72eacb8b use a uniform name for TODO files 2017-11-16 17:10:05 +01:00
Laurent Rineau 49a138a9a4 Fix compilations of Polyhedron demo 2017-11-15 21:36:37 +01:00
Laurent Rineau 379f5b3bb3 Remove unused module 2017-11-15 19:44:26 +01:00
Laurent Rineau 0681ac6dbc Fix the TBB_USE_FILE warnings 2017-11-15 17:00:02 +01:00
Laurent Rineau bb0cee5b07 Merge pull request #2542 from maxGimeno/Separate_selection_plugins-GF
Polyhedron demo: Split selection plugins
2017-11-15 16:48:29 +01:00
Laurent Rineau a9365554c9 Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Laurent Rineau 476e547265 Merge pull request #2561 from maxGimeno/Add_statistics-GF
Polyhedron demo: add length of polylines
2017-11-15 16:48:25 +01:00
Laurent Rineau 4a7752002e Merge pull request #2578 from maxGimeno/Gray_images-2D_support-GF
Polyhedron demo: Add 2D image management.
2017-11-15 16:48:22 +01:00
Laurent Rineau 3ff09bc549 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:47:42 +01:00
Laurent Rineau 6a59fa98d5 Merge pull request #2584 from maxGimeno/Basic_generator_orientation_fix-GF
Polyhedron demo: minor fixes
2017-11-15 16:45:14 +01:00
Laurent Rineau 7f40c51f62 Merge pull request #2589 from maxGimeno/Image_plugin-Isovalue-Fix
Polyhedron demo: Fix pixel value in Io_image_plugin
2017-11-15 16:45:11 +01:00
Laurent Rineau e6f0119d07 Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-15 16:44:31 +01:00
Laurent Rineau ffef8a2a8b Merge pull request #2589 from maxGimeno/Image_plugin-Isovalue-Fix
Polyhedron demo: Fix pixel value in Io_image_plugin
2017-11-15 16:44:29 +01:00
Laurent Rineau 14e7091e1c Remove the need for the Qt5 Xml and Svg libraries 2017-11-14 14:09:37 +01:00
Guillaume Damiand 7e57a9acd4 Add Svg module in polyhedron demo 2017-11-13 21:01:56 +01:00
Maxime Gimeno 4539948158 If a point item has less than 30 points, make their initial siwe "5" 2017-11-13 12:06:05 +01:00
Laurent Rineau 86fb40832a Merge pull request #2580 from lrineau/CGAL-Support_CMake_3.10-GF
Renew the handle of policies, for CMake-3.10
2017-11-13 12:01:39 +01:00
Maxime Gimeno e8aa58627f Add missing update when background color is changed 2017-11-13 11:55:54 +01:00
Maxime Gimeno 474db3ffa8 Check if a loading file is empty before trying to read it. 2017-11-13 11:50:03 +01:00
Maxime Gimeno a72ce2d005 Fix operations disappearing bug (kind of) 2017-11-13 11:11:13 +01:00
Sébastien Loriot ff26773f7b remove include directive for checking GPL compliance in LGPL headers 2017-11-12 10:21:35 +01:00
Sébastien Loriot 72cda50a5e fix incorrect LGPL version tags 2017-11-12 10:17:52 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Sébastien Loriot 0698f79aff add SPDX identifier for files under the LGPL-3+ license 2017-11-12 10:17:50 +01:00
Maxime Gimeno fde9a1ee2c Fix signals to display int OR double depending on the isovalue type. 2017-11-09 14:58:58 +01:00
Simon Giraudot 3e5665ce75 Expend bounds of double spin box in widget 2017-11-09 12:28:59 +01:00
Maxime Gimeno 7ff7559834 Add misisng ids removal to sm_item's destructor 2017-11-08 10:21:38 +01:00
Maxime Gimeno fcc3a2d26c Fix hexahedron vertices order and default value. 2017-11-08 10:15:02 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Maxime Gimeno 5856eb2f67 Add 2D image management. 2017-11-06 14:53:20 +01:00
Laurent Rineau 53502d087a Merge pull request #2560 from maxGimeno/VTK_filters_fix-GF
Polyhedron demo: fix VTK plugin name filters
2017-11-03 14:29:32 +01:00
Simon Giraudot 568d67ff90 Expend bounds of double spin box in widget 2017-10-31 12:06:52 +01:00
Laurent Rineau 0a0887e2d9 Merge pull request #2554 from maxGimeno/Display_property_plugin_silence_warnings-GF
Polyhedron demo: Silence warnings in Display_property_plugin
2017-10-27 18:01:34 +02:00
Maxime Gimeno 027f8b4b7e Add path length in mw messages. 2017-10-26 14:02:02 +02:00
Maxime Gimeno 08e363a263 Add polyline's length info in polyline item and remove "on Polyhedron" form the statistics dialog. 2017-10-25 17:09:00 +02:00
Maxime Gimeno a3ae6c1107 Fix filters 2017-10-24 17:45:00 +02:00
Laurent Rineau aae3ce779c Merge pull request #2540 from maxGimeno/Fix_redraw-GF
Polyhedron demo: Fix some missing redraw
2017-10-23 18:10:13 +02:00
Laurent Rineau 3dcc4cf5d7 Merge pull request #2491 from janetournois/Mesh_3-document_manifold_criterion-jtournois
Mesh 3 : document manifold criterion
2017-10-23 17:24:51 +02:00
Laurent Rineau 4d273ba492 Merge pull request #2490 from maxGimeno/Point_items_make_unicolor-GF
Polyhedron demo: Make point_item unicolor.
2017-10-23 17:24:33 +02:00
Laurent Rineau a1d6d2a7a7 Merge pull request #2514 from janetournois/Polyhedron_demo-fix_isotropic_remeshing_plugin-jtournois
Polyhedron demo - fix isotropic remeshing plugin
2017-10-23 17:14:37 +02:00
Laurent Rineau 3dd190addc Merge pull request #2510 from maxGimeno/Isotropic_remeshing_plugin_fix-GF
Polyhedron demo: Fix Isotropic_remeshing_sm_plugin
2017-10-23 17:13:46 +02:00
Laurent Rineau 603ab4b2f6 Merge pull request #2546 from maxGimeno/Demo_fixes-GF
Polyhedron demo: minor fixes
2017-10-23 17:13:35 +02:00
Laurent Rineau 17ff2ce194 Merge pull request #2540 from maxGimeno/Fix_redraw-GF
Polyhedron demo: Fix some missing redraw
2017-10-23 17:07:32 +02:00
Laurent Rineau 0ffdb6bdc9 Merge pull request #2539 from sloriot/Demo-handle_open_mesh_in_offset_mesh
Handle open meshes in offset mesh generation
2017-10-23 17:07:19 +02:00
Laurent Rineau 5ecd090ab6 Merge pull request #2315 from lrineau/Mesh_3-imported_newest_improvements_into_CGAL-GF
Mesh_3: import newest improvements
2017-10-23 17:07:00 +02:00
Laurent Rineau 7caa6ea021 Merge pull request #2514 from janetournois/Polyhedron_demo-fix_isotropic_remeshing_plugin-jtournois
Polyhedron demo - fix isotropic remeshing plugin
2017-10-23 16:53:18 +02:00
Maxime Gimeno ac1d0a4d67 Silence warnings. 2017-10-23 16:13:24 +02:00
Maxime Gimeno 26061263c1 Fix selection segfault 2017-10-19 14:00:26 +02:00
Maxime Gimeno ec1d3cf7fc fixes :
- Change the names of the action and widget according to the facegraph type.
- If the selected item is not of the right type, just say it and don't select the first correct item in the scene entries like before.
2017-10-18 10:08:51 +02:00
Jane Tournois 96857e44ed fix multicolor Surface_mesh 2017-10-17 16:01:23 +02:00
Jane Tournois 47283bc7cb pmesh cannot be const when a property map is added by get()
and add missing includes

# Conflicts:
#	Polyhedron/demo/Polyhedron/Plugins/PMP/Isotropic_remeshing_plugin.cpp
2017-10-17 15:59:50 +02:00
Laurent Rineau 144101d3b5 Merge pull request #2522 from maxGimeno/Surface_mesh_item_fix_feature_edges-GF
Polyhedron demo: Fix for detect_sharp_edges_sm_plugin
2017-10-17 15:20:39 +02:00
Laurent Rineau 1762bc31b4 Merge pull request #2505 from sgiraudot/Classification-Fixes_and_improved_plugin-GF
Classification: fixes and improved plugin
2017-10-17 15:20:37 +02:00
Laurent Rineau 2510dc44d5 Merge pull request #2538 from sgiraudot/Polyhedron_demo-Improve_point_set_selection_widget-GF
Polyhedron demo: improve point set selection widget
2017-10-17 15:20:36 +02:00
Laurent Rineau 9f40374700 Merge pull request #2537 from maxGimeno/Basic_generator_fix-GF
Polyhedron demo: Fix for Basic_generator _plugin
2017-10-17 15:20:35 +02:00
Laurent Rineau fd9be189d8 Merge pull request #2536 from sloriot/Demo-add_STL_writer
Add STL writer
2017-10-17 15:20:34 +02:00
Laurent Rineau 39782e0573 Merge pull request #2532 from maxGimeno/Export_stats_fix-GF
Polyhedron demo: Fix statistics exportation
2017-10-17 15:20:30 +02:00
Laurent Rineau 3054cb35e5 Merge pull request #2521 from maxGimeno/Cut_plugin_fix_trees_maintainance-GF
Polyhedron demo: Fix Cut_plugin
2017-10-17 15:20:29 +02:00
Sébastien Loriot b5d830c7f3 handle open meshes in offset mesh generation 2017-10-17 02:44:26 +02:00
Jane Tournois 03e7265cef a Polyhedron_3 does not have an internal pmap for face_patch_id_t
so the condition was always returning false for a Polyhedron
we are inside the demo, so this condition can be safely removed
2017-10-16 13:04:42 +02:00
Maxime Gimeno 5ea03758c4 Add an action to make the point item unicolor if it isn't.
Also fix segfault when load is cancelled.
2017-10-16 10:29:15 +02:00
Maxime Gimeno ed93a924ae Connect redraw() in replaceItem() 2017-10-16 10:21:57 +02:00
Laurent Rineau 46cc91e787 Merge pull request #2478 from mtola/master
fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during …
2017-10-13 17:06:22 +02:00
Laurent Rineau 488c3e2879 Merge pull request #2462 from sloriot/CGAL-fix_warnings_g++7
Fix some warnings
2017-10-13 17:04:02 +02:00
Laurent Rineau 0533547da9 Merge pull request #2447 from sloriot/Demo-add_more_repair_functions
add more repair functions in the Polyhedron demo
2017-10-13 17:00:47 +02:00
Laurent Rineau 0479a74c8e Merge pull request #2526 from maxGimeno/Index_displaying_fix-GF
Polyhedron demo: Fix ids displaying
2017-10-13 17:00:38 +02:00
Laurent Rineau 00d444e84c Merge pull request #2462 from sloriot/CGAL-fix_warnings_g++7
Fix some warnings
2017-10-13 16:54:52 +02:00
Laurent Rineau 288d254765 Merge pull request #2494 from maxGimeno/Display_plugin_can_zoom_to_extrema-GF
Polyhedron_demo: Display_plugin can zoom to extrema
2017-10-13 16:54:44 +02:00
Laurent Rineau 1d46a17214 Merge pull request #2515 from sloriot/BGL-fix_argument_order
Change argument order to be consistent with other selection functions
2017-10-13 16:54:27 +02:00
Laurent Rineau 037d1149f5 Merge pull request #2477 from sgiraudot/Polyhedron_demo-Fix_load_ply_empty_soup-GF
Polyhedron demo: several fixes and enhancements for PLY I/O
2017-10-13 16:54:19 +02:00
Laurent Rineau e478825265 Merge pull request #2509 from sloriot/Demo-add_offset_meshing
Add a plugin for inset and offset of a polyhedron
2017-10-13 16:53:57 +02:00
Laurent Rineau 6c48bd85c0 Merge pull request #2503 from maxGimeno/Instancied_rendering_fix-GF
Polyhedron demo: Fix instanced vertex shaders.
2017-10-13 16:53:35 +02:00
Laurent Rineau edac6aaa5a Merge pull request #2454 from maxGimeno/Mesh_3_plugin_fix-GF
Polyhedron demo: Fix tets rendering on Windows
2017-10-13 16:53:26 +02:00
Laurent Rineau 946af7f3c7 Fix the polyhedron demo after the API changes 2017-10-13 15:59:48 +02:00
Laurent Rineau 38617b17a3 Refactoring of Sizing_field_with_aabb_tree (API breakage too)
The refactoring allows to compute a better size of corners in a cycle.
2017-10-13 15:57:02 +02:00
Maxime Gimeno d935e0384d cast std::size_t in int. 2017-10-13 14:52:11 +02:00
Simon Giraudot 942f3e8dd6 Rework point set selection plugin 2017-10-13 14:26:42 +02:00
Simon Giraudot 5590d70747 Add icons for point set selection 2017-10-13 14:26:30 +02:00
Maxime Gimeno e2a54cde22 Move the menu addition after its operations creation and add a mnemonic. 2017-10-13 10:09:43 +02:00
Sébastien Loriot 8f50be14c0 add function to write triangle mesh as STL file (binary+ascii)
update IO plugin in the demo
2017-10-12 19:23:11 +02:00
Jane Tournois 876b9456fe fix compilation error on msvc2013 2017-10-12 15:37:47 +02:00
Simon Giraudot cb71eb9347 Fix conversion warning 2017-10-12 12:39:26 +02:00
Simon Giraudot 14049e99ae Fix closing behavior and merge menus 2017-10-12 11:15:18 +02:00
Maxime Gimeno b8d3198e82 Make it work for Surface_mesh_items 2017-10-12 10:44:14 +02:00
Simon Giraudot 8094f4faba Do not remove training property when closing widget 2017-10-12 10:22:45 +02:00
Maxime Gimeno 1d7b585e32 Widget rework to gain space 2017-10-12 10:06:47 +02:00
Simon Giraudot a5a5960108 Fix conversion warning 2017-10-12 10:03:31 +02:00
Maxime Gimeno c971f1fd64 Remove unwanted duplicated incrementation. 2017-10-12 09:44:30 +02:00
Sébastien Loriot d88dd3f83c add target in cgal_test_with_cmake 2017-10-12 09:26:53 +02:00
Laurent Rineau 52b85358d8 Merge pull request #2489 from maxGimeno/Hole_filling_plugin_fix-GF
Polyhedron demo: Fix hole filling plugin
2017-10-11 19:18:49 +02:00
Laurent Rineau f8c58172fe Merge pull request #2452 from maxGimeno/Merge_poit_set-GF
Polyhedron demo: fix Merge_point_sets_plugin
2017-10-11 19:18:34 +02:00
Laurent Rineau eb3b325a00 Merge pull request #2512 from maxGimeno/Degenerated_faces_plugin_fix-GF
Polyhedron demo: Trivial fix on degenerated_faces_plugin
2017-10-11 19:15:31 +02:00
Laurent Rineau 8f46324806 Merge pull request #2475 from sgiraudot/Fix_counting_iterator_warning_everywhere-GF
Fix counting iterator warnings
2017-10-11 19:15:15 +02:00
Laurent Rineau 2209964817 Merge pull request #2506 from maxGimeno/PCA-transformation_plugin_SM-GF
Polyhedron demo: Add an Affine_transformation_plugin for Surface_mesh_items
2017-10-11 19:15:07 +02:00
Laurent Rineau b2e4e6950b Merge pull request #2504 from maxGimeno/Fix_for_transformation_plugin-GF
Polyhedron demo: Fix for transformation plugin
2017-10-11 19:14:57 +02:00
Laurent Rineau 107cdccd6d Merge pull request #2438 from lrineau/Mesh_3-test_polyhedral_complex_with_surface_mesh-GF
Mesh_3: make it work with Surface_mesh
2017-10-11 19:14:49 +02:00
Laurent Rineau aff1c25633 Merge pull request #2498 from maxGimeno/SM_item_reset_colors-GF
Polyhedron demo: Reset Colors for Surface_mesh_items.
2017-10-11 19:14:25 +02:00
Laurent Rineau ff9fdf710c Merge pull request #2489 from maxGimeno/Hole_filling_plugin_fix-GF
Polyhedron demo: Fix hole filling plugin
2017-10-11 19:11:37 +02:00
Laurent Rineau bd488ab5b9 Merge pull request #2452 from maxGimeno/Merge_poit_set-GF
Polyhedron demo: fix Merge_point_sets_plugin
2017-10-11 19:11:29 +02:00
Sébastien Loriot 78eb0fda4b remove unused parameter 2017-10-11 18:31:07 +02:00
Maxime Gimeno 999ce55644 Check if the faces we test are not the null face before we insert into the displayed faces and add offset to the tested point for hiding ids. 2017-10-11 10:16:00 +02:00
Maxime Gimeno f7d13e79c8 Delete trees whenever invalidateOpenGLBuffers is changed, as it deletes the item's tree. 2017-10-10 16:36:17 +02:00
Maxime Gimeno 32ae84a56d Replace the halfedge_is_feature_map by a edge_is_feature_map in the item to fit the real map. 2017-10-10 15:48:19 +02:00
Maxime Gimeno 9fcdf2ce75 Isotropic_remeshing resets the color and itemChanged() reset the property maps 2017-10-09 17:15:54 +02:00
Sébastien Loriot be4635a1f6 change argument order to be consistent with expand/reduce_face_selection() 2017-10-09 15:09:42 +02:00
Jane Tournois dd43e97edb remove extra typename 2017-10-09 14:15:55 +02:00
Jane Tournois 00def95173 use the face_patch_map only when it is valid
o.w. isotropic_remeshing "thinks" it is using a valid face_patch_map,
does not compute the connected components from constraints, and fails
remeshing properly next to constraints
2017-10-09 11:32:12 +02:00
Simon Giraudot ee4e320264 Close all classification objets when hiding the widget 2017-10-06 14:47:17 +02:00
Maxime Gimeno 4fe5a6eb08 Restore cursor before the pop-up if nothing is found and make degenerated degenerate in UI text 2017-10-06 14:18:45 +02:00
Maxime Gimeno ef63fcb394 Apply collect_garbage() algorithm to the constrained_edges_map to keep the values correct. 2017-10-06 14:11:17 +02:00
Sébastien Loriot 6de3f7975b add a plugin using surface mesher to generate inset and offset of a polyhedron 2017-10-06 12:23:24 +02:00
Andreas Fabri 7be1a3d8c2 std::size_t -> int 2017-10-06 10:12:53 +01:00
Maxime Gimeno 5cc3e77b38 Fix warning 2017-10-05 16:02:10 +02:00
Simon Giraudot 90698d9398 Fix OpenCV include/cmake 2017-10-05 15:44:48 +02:00
Simon Giraudot 349a94eaa5 Better organisation of classification plugin 2017-10-05 15:44:40 +02:00