Commit Graph

460 Commits

Author SHA1 Message Date
Sébastien Loriot 763d621a9b avoid conversion 2022-02-01 13:54:42 +01:00
Sébastien Loriot 279543de0f fix warnings 2022-01-31 17:04:12 +01:00
Sébastien Loriot 0b4fc7c031 handle deprecated code 2022-01-31 16:56:15 +01:00
Sébastien Loriot 0c97521f91 remove extra endcond 2022-01-31 16:37:02 +01:00
Sébastien Loriot 3b981fcf6e clean up 2022-01-26 16:59:04 +01:00
Sébastien Loriot a3de80767f use initialized index map mechanism 2022-01-26 16:55:33 +01:00
Sébastien Loriot 432207df48 simplify API 2022-01-26 16:05:05 +01:00
Sébastien Loriot 08f3d051e8 do not need to know the range type and to store the range 2022-01-26 13:28:57 +01:00
Sébastien Loriot deb052e004 fix bug leading to accessing out-of-range element 2022-01-26 13:04:25 +01:00
Sébastien Loriot 946d42c6ef update deps 2022-01-24 20:42:18 +01:00
Sébastien Loriot 04b58dc5ae remove dependencies 2022-01-24 18:36:44 +01:00
Sébastien Loriot 2f9d22225e remove deprecated functions
Because of the default values of the constructors,
the API of the new and the deprecated constructors
are identical and the deprecated one is always chosen
2022-01-24 18:31:20 +01:00
Sébastien Loriot 4eca555f95 increase the range of possible size of region 2022-01-24 15:30:09 +01:00
Sébastien Loriot a7e071151f make the test not ambiguous 2022-01-24 15:06:43 +01:00
Sébastien Loriot 1fb47e3fd1 accomodate updates of named parameters 2022-01-21 15:25:18 +01:00
Sébastien Loriot a413c71ed9 rename data file 2022-01-21 13:56:35 +01:00
Andreas Fabri 40e800f1af Fix VC problem with max 2021-12-28 09:54:21 +00:00
Dmitry Anisimov 0c00a3941f Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-11-24 15:50:29 +01:00
Dmitry Anisimov b164aa3567 updated test value 2021-11-16 15:21:21 +01:00
Dmitry Anisimov 930278ec50 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-11-16 14:57:16 +01:00
Dmitry Anisimov 86b26e44d3 added access to circle/sphere/cylinder shapes 2021-11-16 14:51:00 +01: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
Dmitry Anisimov f6144e09ed fixed some paths to data 2021-10-21 17:14:03 +02:00
Dmitry Anisimov 634b961b1c Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-10-21 16:29:48 +02:00
Dmitry Anisimov 43d4d27c5b added two utility operators to neighbor queries 2021-10-14 15:18:44 +02:00
Dmitry Anisimov 61a6dff624 added functions to update parameters 2021-10-14 12:03:42 +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
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
Dmitry Anisimov 9d251eef0f fixed example naming for docs 2021-09-27 17:32:08 +02:00
Dmitry Anisimov 9246c1389e remove unnecessary conversions in utils for circles and spheres 2021-09-27 17:03:44 +02:00
Dmitry Anisimov c63d41d0e3 more precision for cylinder fitting and sorting 2021-09-27 16:39:11 +02:00
Dmitry Anisimov 02edd6d2cb more precise sphere fitting and sorting 2021-09-27 15:10:54 +02:00
Dmitry Anisimov c093f84ac9 cleanup 2021-09-27 14:45:31 +02:00
Dmitry Anisimov 1222be73b0 more precise circle fitting and sorting 2021-09-27 13:53:57 +02:00
Dmitry Anisimov 7465e7caac added constructors with np set to all_default 2021-09-27 12:40:08 +02:00
Dmitry Anisimov 6aab0f8530 added status to cmakelists 2021-09-27 12:39:42 +02:00
Dmitry Anisimov d6004297f1 added cgal no deprecated code 2021-09-27 12:03:25 +02:00
Sébastien Loriot bd345c7f83 remove .cmd files for examples 2021-09-23 18:54:46 +02:00
Dmitry Anisimov 569b6a3b5c fixed tests 2021-09-23 16:48:45 +02:00
Dmitry Anisimov 8c0b6f14d6 fixed wrong np 2021-09-23 14:26:30 +02:00
Dmitry Anisimov ae50a0beae fixed examples + some other small stuff 2021-09-22 17:36:32 +02:00
Dmitry Anisimov 7a068f227a adding np to cylinder classes 2021-09-22 16:10:31 +02:00
Dmitry Anisimov 2c16e6f9bf adding np to sphere classes 2021-09-22 15:27:01 +02:00
Dmitry Anisimov 0fbc3ea1bb removed fitting.h and using np in circle classes 2021-09-22 14:59:01 +02:00
Dmitry Anisimov b28f32269b make everything compile 2021-09-22 13:04:59 +02:00
Dmitry Anisimov 0d86275191 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-09-22 12:20:28 +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 460c50b142 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-08-16 12:28:34 +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 c1aa66f0fa renamed max to maximum and min to minimum and cos to cosine to be consistent with other NP in CGAL 2021-06-30 13:15:06 +02:00
Dmitry Anisimov 1c7ba09863 undocumented useless headers from convenience headers 2021-06-30 12:46:41 +02:00
Dmitry Anisimov 523e1117e6 removed todo 2021-06-30 12:42:32 +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 516617d322 removed tmp modifs 2021-06-29 16:36:45 +02:00
Dmitry Anisimov bc97030bd6 removed outdated example 2021-06-29 16:33:23 +02:00
Dmitry Anisimov ed027edea0 turn off deprecated warnings 2021-06-29 16:28:56 +02:00
Dmitry Anisimov 5c940b1b4e added explicit test for deprecated constructors 2021-06-29 12:17:46 +02:00
Dmitry Anisimov 478178a923 added docs for convenience headers 2021-06-28 18:59:16 +02:00
Dmitry Anisimov e3c6ff7c2f remark on the change from void to bool in the concept 2021-06-28 18:54:58 +02:00
Dmitry Anisimov 3263e54a3a added missing deprecated constructors for old classes 2021-06-28 18:42:32 +02:00
Dmitry Anisimov b7e0e37ba3 fixed regularization in the polyhedron demo 2021-06-25 18:02:05 +02:00
Dmitry Anisimov d33559c3fc fixed unspecified doxygen types 2021-06-25 17:16:38 +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 23c938aba5 marked docs modifications 2021-06-25 14:16:39 +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
Dmitry Anisimov b9d14ed07f Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-06-14 16:42:42 +02:00
Dmitry Anisimov 7119273fb1 simon's review 2021-06-14 16:31:23 +02:00
Dmitry Anisimov 1524a0f48f renamed params 2021-06-14 16:31:09 +02:00
Dmitry Anisimov 68b86a47b0 better naming for parameters 2021-06-14 12:43:04 +02:00
Dmitry Anisimov 6453d49c23 fixed errors in the docs 2021-06-01 16:42:44 +02:00
Dmitry Anisimov beef78cab7 missing IO namespace 2021-06-01 16:34:55 +02:00
Dmitry Anisimov 4f1fc20e22 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-06-01 16:06:16 +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