Commit Graph

155 Commits

Author SHA1 Message Date
Sébastien Loriot 640910288b Merge remote-tracking branch 'cgal/master' into Region_growing-revision-soesau 2023-02-16 14:18:17 +01:00
Sébastien Loriot 97e7f6a5e5 do not recommand to use EPECK + dual compilation of the example to test both options 2023-02-06 18:04:23 +01:00
Sébastien Loriot cc5b000728 use a new property map with more verbose name 2023-01-19 11:30:52 +01:00
Sébastien Loriot cd76994056 rename property map and deprecated old name 2023-01-18 13:45:37 +01:00
Sébastien Loriot f4c6299adc use default random so that we can use the seed to reproduce issues 2023-01-18 10:24:34 +01:00
Sébastien Loriot 328cba0530 fix compilation issue 2022-12-27 14:40:28 +01:00
Mael Rouxel-Labbé 28ba446895 Clean (some) CMakeLists.txt indentation 2022-09-06 15:38:18 +02:00
Sébastien Loriot b8711b4bf5 number of regions changed since we fit triangles and no longer points 2022-08-04 09:55:56 +02:00
Sébastien Loriot ce0ae181c4 fix warning 2022-08-04 08:46:18 +02:00
Sébastien Loriot b45c44dddc add missing parameter 2022-08-02 10:38:46 +02:00
Sébastien Loriot f693471647 finally get rid of conditional_deref 2022-07-22 16:07:06 +02:00
Sébastien Loriot 2541f7c22c pass the maps 2022-07-22 13:57:59 +02:00
Sébastien Loriot 5b77ac4149 remove some conditional_deref 2022-07-22 12:10:43 +02:00
Sébastien Loriot 7a5cbc6940 fix assertion 2022-07-22 11:51:32 +02:00
Sébastien Loriot a1169c021b WIP improvement on Point_set
--> plane_fit
2022-07-21 16:56:37 +02:00
Sébastien Loriot 7b8b14a37d WIP improvement on Point_set
--> sphere_fit
2022-07-21 16:56:24 +02:00
Sébastien Loriot 17b9e439ec WIP improvement on Point_set
--> line_fit
2022-07-21 15:51:42 +02:00
Sébastien Loriot 69fdb46fcb WIP improvement on Point_set
--> cylinder_fit
2022-07-21 11:42:10 +02:00
Sébastien Loriot db7dfd97e5 get rid of the GeomTraits template parameter 2022-07-21 10:20:20 +02:00
Sébastien Loriot b714a6d1ff WIP improvement on Point_set
--> circle_fit
2022-07-20 18:22:46 +02:00
Sébastien Loriot 367f3805ad remove region growing on polylines
not being able to share vertices does not really
make sense for a polyline. Segment_set should
be used instead
2022-07-19 17:33:04 +02:00
Sébastien Loriot 2c1a0fddd7 remove range as template parameter for Polygon_mesh classes 2022-07-19 17:18:20 +02:00
Sébastien Loriot b89bb215d3 WIP: removing InputRange from type definition 2022-07-18 18:04:45 +02:00
Sébastien Loriot 2f47bbb599 remove input range from Region_growing parameters 2022-07-11 16:59:48 +02:00
Sven Oesau 9fe15e6fe6 region growing on segments now uses edge_descriptor as type if available 2022-07-10 19:08:40 +02:00
Sven Oesau 6f24d198cc removal of Result_type and Unassigned_type from Region_growing
changed Primitive type declarations
2022-07-06 14:58:29 +02:00
Sven Oesau 51884f52e1 renaming triangle_mesh namespace back to polygon_mesh namespace 2022-07-04 14:18:07 +02:00
Sven Oesau 47f8f326fd corrections of documentation 2022-07-04 14:10:27 +02:00
Sven Oesau 7866ab54bb removed RefInput_range parameter 2022-06-24 12:39:13 +02:00
Sven Oesau 17e0923058
Merge branch 'master' into Region_growing-revision-soesau 2022-06-24 11:06:56 +02:00
Sven Oesau 00601b4801 added region_index_map to Region_growing that maps Item (or face_descriptor) to std::size_t
removed Item_property_map, Item_to_index_property_map and Item_to_region_index_map
various fixes for clang errors/warnings
2022-06-23 16:28:28 +02:00
Sven Oesau 6d469d33cd replaced std::vector<size_t> as region type by vector of input data dependent type
changing seed map to vector of input data dependent type
2022-06-21 12:47:41 +02:00
Sven Oesau 52a7c01637 providing shape parameters of detection shapes
introducing Primitive typedef to all region types
Outputiterator for region growing now needs to accept std::pair<Primitive, std::vector<std::size_t> >
2022-06-02 17:36:40 +02:00
Sven Oesau cb0f9475dc renaming Polygon_mesh namespace to Triangle_mesh
renaming Region_growing_X subfolders to X
2022-05-24 21:11:32 +02:00
Sven Oesau 86a362a871 fixed reference numbers and parameters (circles) in examples 2022-05-24 16:15:43 +02:00
Sven Oesau 5ac7cd1ae9 added dynamic_face_property to save regions as face colors 2022-05-23 14:00:15 +02:00
Laurent Rineau 2288225448 Massive update of CMake policies to version 3.23 2022-05-06 09:34:35 +02:00
Sébastien Loriot 3ecce6310f remove no longer needed parameter 2022-02-24 12:08:12 +01:00
Sébastien Loriot 0b4fc7c031 handle deprecated code 2022-01-31 16:56:15 +01:00
Sébastien Loriot 432207df48 simplify API 2022-01-26 16:05:05 +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
Dmitry Anisimov 0c00a3941f Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-11-24 15:50:29 +01:00
Dmitry Anisimov 930278ec50 Merge remote-tracking branch 'origin/master' into Region_growing-revision-danston 2021-11-16 14:57:16 +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
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