Commit Graph

311 Commits

Author SHA1 Message Date
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot ab48f63e30 update latest cmake version tested 2021-11-09 10:58:47 +01:00
Sébastien Loriot 58181afcdb remove useless include directives 2021-11-09 10:16:12 +01: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
Sébastien Loriot efbd86df7f extra manual fixes 2021-10-05 17:42:21 +02:00
Sébastien Loriot 8350dea94a char* -> std::string 2021-10-04 09:49:24 +02:00
Sébastien Loriot 47028cd184 automatically move data files in data dir + update paths
Done for OFF/OBJ/STL/XYZ/PWN/PLY
2021-10-04 09:42:49 +02:00
Sébastien Loriot bd345c7f83 remove .cmd files for examples 2021-09-23 18:54:46 +02:00
Maxime Gimeno 499301c759 More fixes 2021-08-31 16:00:37 +02:00
Sébastien Loriot 98e471849b moving files from internal to PKG/internal 2021-08-26 11:33:39 +02:00
Dmitry Anisimov d82ca437c4 correctly handling wrong values in new classes 2021-08-20 11:19:22 +02:00
Dmitry Anisimov c018af84bf fixed test values 2021-08-20 11:18:18 +02:00
Dmitry Anisimov f2d9066aaf added more debug output for failure cases 2021-08-19 12:05:30 +02:00
Dmitry Anisimov 850776533e fixed test suite errors in tests 2021-08-16 12:20:15 +02:00
Dmitry Anisimov c2a1f047eb fixed test suite errors in examples 2021-08-16 11:56:36 +02:00
Dmitry Anisimov ec13e880a4 fixed warnings in docs 2021-08-16 11:11:40 +02:00
Dmitry Anisimov 6d2a3894f6 fixed test suite warnings in fitting 2021-08-16 10:50:58 +02:00
Dmitry Anisimov d41072d7a9 removed old target 2021-08-16 10:40:40 +02:00
Dmitry Anisimov 2246c4dcef Merge remote-tracking branch 'origin/master' into Shape_detection-Region_growing_on_spheres-GF 2021-08-16 10:27:39 +02:00
Sébastien Loriot de6d8c6cbd Merge pull request #5742 from danston/Shape_regularization-new_package-danston
[Feature] Shape Regularization New Package
2021-08-13 18:19:35 +02:00
Dmitry Anisimov 8043e62f62 removed erroneous assert 2021-08-03 16:57:18 +02:00
Dmitry Anisimov 5f0ed6ba7b fixed missing param 2021-07-29 15:26:22 +02:00
Dmitry Anisimov 37dcf522de refactoring the clear function 2021-07-29 13:57:44 +02:00
Dmitry Anisimov ae0a1fd6d0 Merge remote-tracking branch 'origin/Shape_detection-fix_leaks_in_ransac-danston' into Shape_detection-Region_growing_on_spheres-GF 2021-07-08 17:31:45 +02:00
Dmitry Anisimov 5e616f74e6 fixed leaks in ransac related to callback 2021-07-08 17:30:26 +02:00
Dmitry Anisimov 73df51622f fixed errors and warnings from the test suite 2021-07-08 16:38:53 +02:00
Dmitry Anisimov c5bea93e58 renamed max to maximum and min to minimum in NP to be consistent with other packages 2021-06-30 12:39:01 +02:00
Dmitry Anisimov b7e0e37ba3 fixed regularization in the polyhedron demo 2021-06-25 18:02:05 +02:00
Dmitry Anisimov afb138478d all plane regularization stuff in shape detection is now moved to shape regularization 2021-06-25 16:55:15 +02:00
Dmitry Anisimov 2a932f6606 Merge remote-tracking branch 'origin/master' into Shape_detection-Region_growing_on_spheres-GF 2021-06-25 13:30:08 +02:00
Sébastien Loriot 4e519a3c7a move documented IO functions in IO namespace 2021-05-05 13:15:37 +02:00
Sébastien Loriot fb6f703b55 IO namespace for files in IO directories 2021-05-04 14:36:06 +02:00
Simon Giraudot 6fbc190c0d Fix includes 2021-05-04 11:06:48 +02:00
Simon Giraudot 4b313a50d7 Add missing include 2021-05-04 10:20:09 +02:00
Simon Giraudot ad17c0b562 Cylinder/circle sorting + documentation update 2021-05-04 08:47:08 +02:00
Simon Giraudot a85583387d Doc of sorting 2021-04-28 15:52:56 +02:00
Simon Giraudot ab18b6bb39 Region growing sphere sorting + test 2021-04-28 14:38:08 +02:00
Simon Giraudot dc4b2c94c5 Move sphere fit out of fitting class 2021-04-28 12:15:18 +02:00
Simon Giraudot 4080a8c32f Rebase 2021-04-28 08:20:24 +02:00
Sebastien Loriot 77e5d1d26f
Merge pull request #4852 from JacksonCampolattaro/gsoc2020-Octree-campolattaro
Add Octree Package
2021-04-17 14:26:01 +02:00
Sebastien Loriot b7323389c7
Merge pull request #5622 from maxGimeno/CMake-Update_versions_in_scripts-maxGimeno
Update maximum cmake versions
2021-04-17 10:58:14 +02:00
Maxime Gimeno c49152359c update max version of cmake and announce the new minimal in CHANGE.md 2021-04-15 15:08:54 +02:00
Simon Giraudot 8e7ea14f58 Fix conversion warning 2021-04-14 10:57:53 +02:00
Simon Giraudot 3de09ad3da Fix consistency assertions/comments 2021-04-14 09:20:40 +02:00
Simon Giraudot e87747d082 Fix candidate counting 2021-04-14 09:20:17 +02:00
Simon Giraudot 10f6992b2a Rebase on master 2021-04-07 14:32:31 +02:00
Simon Giraudot 8f4dec8107 Avoid timeouts in testsuite 2021-04-07 14:27:44 +02:00
Simon Giraudot 4ec9bd6c9a Optimize location of node 2021-04-07 14:26:19 +02:00