Commit Graph

7283 Commits

Author SHA1 Message Date
Laurent Rineau b7528d45fa Merge pull request #6360 from lrineau/Polyhedron_demo-fix_issue_6357
3D demo offset_meshing_plugin: Fix the use of the manifold criterion
2022-03-02 15:13:44 +01:00
Laurent Rineau 3bd0f0d601 Fix the use of the manifold criterion
Fix #6357
2022-02-25 14:35:36 +01:00
Sébastien Loriot 4ffc949199 replace boost::unordered by std::unordered
but in T3, Mesh_3, TDS_3, P3[TM]3
2022-02-03 19:11:12 +01:00
Sébastien Loriot 11c7c56718 Merge remote-tracking branch 'cgal/master' into HEAD 2022-01-18 09:11:52 +01:00
Sébastien Loriot c169c41240 Merge remote-tracking branch 'maxGimeno/PMP-Example_of_new_mp_function-maxGimeno' into HEAD 2022-01-12 13:33:49 +01:00
Sébastien Loriot 75b03e6c0a use_default_values() -> default_values() 2022-01-10 18:36:37 +01:00
Sébastien Loriot 1c3e09f562 rename internal namespace
default_values -> default_values_for_mesh_3
2022-01-10 18:36:32 +01:00
Sébastien Loriot 6d3176e061 move Named_parameters class in STL_extension
helpers stay in BGL because it depends on BGL tags
2022-01-07 15:12:22 +01:00
Sébastien Loriot 5f1803489b replaces overloads with default NamedParameters for Point_set_processing_3
+enhancement of the NP for Point_set_processing_3
2022-01-06 15:11:23 +01:00
Sébastien Loriot e98fc29dda fix compilation issues 2022-01-04 17:38:46 +01:00
Sébastien Loriot b04a5f9124 remove overloads with default parameters 2022-01-04 16:14:49 +01:00
Sébastien Loriot 1e7785b427 do not use PMP::parameters namespace 2022-01-04 16:00:38 +01:00
Andreas Fabri c924cfdc00 merge master 2022-01-04 13:53:50 +00:00
Sébastien Loriot 6848e69987 replace all_default() by use_default_values() in tests and examples 2022-01-04 14:06:26 +01:00
Sébastien Loriot 28ab8e9293 replace CGAL_PMP_NP macros with CGAL_BGL_NP ones 2022-01-04 11:19:05 +01:00
Sébastien Loriot 047ddad86c remove optional parameter 2022-01-04 10:12:37 +01:00
Laurent Rineau 7cada272e8
Merge pull request #6124 from janetournois/Mesh_3-polyhedral_complex_in_demo-GF 2022-01-03 16:48:37 +01:00
Laurent Rineau 2a047b42df Merge pull request #6188 from sloriot/Polyhedron_demo-moc_c3t3
Remove useless moc include
2022-01-03 16:26:11 +01:00
Laurent Rineau a1f4a92506 Merge pull request #6193 from sloriot/Demo-fix_shortcut_composition
Fix shortcut composition
2022-01-03 16:26:08 +01:00
Laurent Rineau ef68e0b913 Merge pull request #6207 from sloriot/CGAL-set_but_not_used_variable
Fix set but unused variable warning
2022-01-03 16:22:34 +01:00
Laurent Rineau 9905eb29cf Merge pull request #6193 from sloriot/Demo-fix_shortcut_composition
Fix shortcut composition
2022-01-03 16:22:20 +01:00
Jane Tournois 02d07278be fix unused variable warning 2021-12-28 10:24:34 +01:00
Sébastien Loriot 6cc458bbf2 fix set but unused variable warning 2021-12-27 11:23:46 +01:00
Sébastien Loriot f5a85902a1 fix shortcut composition
Seems that I did not understand correctly the doc here:
https://doc.qt.io/qt-5/qkeysequence.html#QKeySequence-2
2021-12-22 12:05:07 +01:00
Sébastien Loriot 3234726da5 remove useless include
needed only if Q_OBJECT or other macros are in that file
2021-12-17 16:34:55 +01:00
Sébastien Loriot 62a646ecf3 fix invalid target name 2021-12-15 15:22:30 +01:00
Sébastien Loriot 676c367852 fix warnings cherry-picked from master targetting 5.4 2021-11-29 18:02:31 +01:00
Sébastien Loriot 993a7b29b0 fix warnings about arithmetic operations on enum
cherry-pick of 364009
2021-11-29 17:59:12 +01:00
Mael Rouxel-Labbé b0b6f78a9c Clear mesh before PS_to_PM as there might be garbage from CGAL::IO::read_PM 2021-11-29 14:20:54 +01:00
Laurent Rineau f02e5cffe9 Merge pull request #6132 from sloriot/Demo-normal_plugin
Create normal map only if normal estimation is done
2021-11-25 17:28:37 +01:00
Sébastien Loriot 0ff77b2751 simplify connection 2021-11-24 11:08:49 +01:00
Sébastien Loriot f61b088576 update applicable filters when an item is updated 2021-11-24 10:43:07 +01:00
Sébastien Loriot 79757328fe create normal map only if normal estimation is done 2021-11-16 22:22:45 +01:00
Jane Tournois 0c522b643c run mesh_3 from a Polyhedral_complex_mesh_domain (as a group) 2021-11-12 13:54:22 +01:00
Jane Tournois f1c64499b3 store materials data in Qt properties 2021-11-12 11:37:11 +01:00
Andreas Fabri bd60afc8e5 static cast an enum to int before multiplication 2021-11-03 23:17:01 +01:00
Sébastien Loriot 9543deb304 Merge pull request #6046 from MaelRL/PM-Fix_pmaps_reference_types_master-GF
Various fixes for property maps (master)
2021-10-29 17:40:15 +02:00
Laurent Rineau ca89949169 Merge pull request #5597 from lrineau/Mesh_3-weighted_images-GF
Mesh_3: Add weighted images
2021-10-29 17:01:33 +02:00
Jane Tournois 0498cace68 add and use CGAL_ITK_support.cmake 2021-10-29 12:27:04 +02:00
Mael Rouxel-Labbé 131242bb80 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_5.3-GF 2021-10-12 09:29:23 +02:00
Mael Rouxel-Labbé 8166579e55 Merge branch 'PM-Fix_pmaps_reference_types-GF' into PM-Fix_pmaps_reference_types_master-GF 2021-10-11 19:58:07 +02:00
Mael Rouxel-Labbé 590ddf8015 Various fixes for pmaps:
- Use `value_type` when the returned type is not a reference
- Enforce `reference = value_type` if the returned type is not
  a reference (to avoid `typename PM::reference r = get(m, k)`,
  which will take a ref to a temporary if the `reference`
  typedef is an actualy reference)
- Do not use `put_get_helper` if the property map is not a `lvalue`
  **mutable** property map: the `put()` is `map[k] = v`, which
  is broken if `operator[]` does not return a reference
- The concept `boost::lvalue_property_map_tag` requires `operator[](key)`,
  not a reference in `get(map, key)`. You can have a readable property map
  returning a reference through its `get(map, key)`, but if there is
  no `operator[]`, it's just a `boost::readable_property_map_tag`
- Some const correctness to avoid copying maps with state
  or heavy keys in `get(map, key)` / `put(map, key, value)`
- Base the category of a wrapping pmap on what it offers instead
  of just forwarding the base property map's category
- Tried to do something like mutable lvalue pmap:
  * `value_type& operator[](key&)`
  * `ref get(map, const key&)`
  * `put(map, const key&, const value_type&)`
  and non-mutable lvalue pmap:
  * `const value_type& operator[](const key&)`
  * `ref get(map, const key&)`
  but not everything fits properly...
2021-10-08 15:38:47 +02:00
Mael Rouxel-Labbé df560987a6 Whitespace & cleaning changes 2021-10-08 12:13:43 +02:00
Laurent Rineau f581ff74d3 Merge pull request #5427 from sloriot/CGAL_data-moving_files
Regroup data: moving files

# Conflicts:
#	Nef_3/archive/triangulation/include/CGAL/partition_is_valid_2.h
2021-10-07 14:44:01 +02:00
Laurent Rineau 1ba982096a Merge pull request #5094 from sgiraudot/Boolean_operations-Use_GPS_based_polylines-GF
[Small Feature] Boolean Operations: Use polyline-based GPS
2021-10-07 14:27:23 +02:00
Sébastien Loriot 1857a25d28 Merge remote-tracking branch 'cgal/master' into CGAL_data-moving_files 2021-10-06 13:50:31 +02:00
Jane Tournois 9beac5e039 hide menu when the input is not a labeled image 2021-10-04 16:08:24 +02:00
Mael Rouxel-Labbé 521c72d57e Fix typos 2021-10-04 13:34:07 +02:00
Jane Tournois 992f55bf3d fix warning 2021-10-04 12:10:41 +02:00
Jane Tournois 38122ce61a disable the weights menu when ITK is not available 2021-10-04 12:10:26 +02:00