Sébastien Loriot
43104a2772
restore data member init
2022-05-18 16:49:03 +02:00
Sébastien Loriot
66619dbed0
no need to pass property maps
2022-05-18 16:15:02 +02:00
Sébastien Loriot
4bf1069cc8
remove extra typename
2022-05-18 15:25:37 +02:00
Sébastien Loriot
948b2b94ea
provide default point and normal maps to the helper
2022-05-18 15:24:36 +02:00
Sébastien Loriot
c1ad9fa755
range is a template parameter of the function
2022-05-18 15:00:03 +02:00
Sébastien Loriot
29a0343ec9
remove trailing whitespace
2022-05-18 11:57:37 +02:00
Sven Oesau
b5bdc3e7ee
added second constructor for passing a edgerange used for detection
2022-05-18 10:19:53 +02:00
Sven Oesau
994c7cbc26
using visited flag for rejected items
2022-05-18 10:19:13 +02:00
Sven Oesau
552fed46c7
added minimum_region_size parameter for polyline_graph construction
2022-05-15 22:26:49 +02:00
Sven Oesau
aef4e58e5b
Region growing now guarantees that all associated elements are within the specified tolerances of the fitted primitive
2022-05-15 22:05:04 +02:00
Sven Oesau
447f52cbc4
Moved property maps back into NamedParameters
2022-05-13 13:36:43 +02:00
Sven Oesau
e5ebd268ef
Consolidated free_functions.h
...
Moved property maps outside of NamedParameters for point-based region growing
2022-05-13 08:57:39 +02:00
Sébastien Loriot
204c3ad289
the map is also used for point set in the demo
2022-02-24 13:38:45 +01:00
Sébastien Loriot
3ecce6310f
remove no longer needed parameter
2022-02-24 12:08:12 +01:00
Sébastien Loriot
622e724e87
copy input range of faces to get direct access to face from index
2022-02-24 11:27:47 +01:00
Sébastien Loriot
d963d70c25
simplify polyline graph
2022-02-24 10:43:53 +01:00
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