Commit Graph

1301 Commits

Author SHA1 Message Date
Necip Yildiran dbc173d04c changed namedparameters, convenience overloads for pointmatcher::icp 2019-07-19 11:35:12 +03:00
Necip Yildiran a87cc959d4 added named parameters for pointmatcher icp config
Using CGAL::pointmatcher::ICP_config, config (name,params) could be passed to registration method through named parameters. Having pointmatcher style (name,params) pair as ICP_config allows to use extended pointmatcher configurations without needing to change wrapper implementation.
2019-07-17 17:14:17 +03:00
Sébastien Loriot 4ca465a81f try to please clang 2019-07-15 10:51:44 +02:00
Sébastien Loriot 560c77f567 rename named function parameter class 2019-07-15 06:25:02 +02:00
Necip Yildiran a9889a12e3 First draft version of pointmatcher icp wrapper 2019-07-15 01:38:48 +03:00
Sébastien Loriot cebf0657d8 Use a full CGAL version of named function parameters
no longer rely on boost
2019-07-14 22:45:47 +02:00
Necip Yildiran 7029fe4dcb Use transform iterator to transform cgal range+pmaps to gr points on-the-fly
Usage of a point adapter is no longer needed: transform iterator adapts the cgal points to opengr points on-the-fly
2019-07-09 13:07:56 +03:00
Necip Yildiran 13ce95a98a Use Kernel::FT as Scalar type for PointAdapter base point type
Helps to avoid having unnecessary casts resulting loss of precision
2019-07-08 21:57:54 +03:00
Necip Yildiran 090b88437c use vec3 interface to copy point on-the-fly 2019-07-08 13:23:12 +03:00
Simon Giraudot b2e723b548 Merge branch 'Faster_dd_spatial_searching-cjamin-backup' into Faster_dd_spatial_searching-cjamin 2019-07-04 13:17:50 +02:00
Necip Yildiran c5bc7239b6 init pointadapter for opengr registration 2019-07-01 12:20:19 +03:00
Simon Giraudot e32d102270 Add verbose display of matrix 2019-06-26 11:31:43 +02:00
Simon Giraudot 7ae6f182dd Copy-paste official doc 2019-06-26 11:31:04 +02:00
Simon Giraudot 6a43faceff Documentation of registration functions (user + ref + biblio) 2019-06-26 11:31:04 +02:00
Simon Giraudot 927474eecd Modify named parameters and begin ref manual 2019-06-26 11:31:02 +02:00
Simon Giraudot 48ad9c4d57 Separate files and rename functions 2019-06-26 11:29:44 +02:00
Sébastien Loriot da776c75c1 add compute_transformation 2019-06-26 11:29:44 +02:00
Efi Fogel 1453280fcd fix license checker 2019-06-26 11:29:43 +02:00
Sébastien Loriot f2da91be40 update after OpenGR update
OpenGR HEAD = cbce48e030
2019-06-26 11:29:43 +02:00
Sébastien Loriot 5911cbc568 return score and silent logger 2019-06-26 11:29:42 +02:00
Sébastien Loriot d36aa97573 add named parameters for OpenGR options 2019-06-26 11:29:41 +02:00
Sébastien Loriot faf42467c2 first draft version of OpenGR wrapper
done based on super4pcs_test.cc
2019-06-26 11:29:16 +02:00
Andreas Fabri f7b7b9957f Merge remote-tracking branch 'cgal/master' into CGAL-null_ptr-GF 2019-06-05 14:47:11 +02:00
Andreas Fabri 4581f1b7a8 Morte replacements 2019-06-05 08:39:55 +02:00
Andreas Fabri e2d19b0c8d Replace NULL and Nullptr_t with nullptr and nullptr_t 2019-06-04 23:45:44 +02:00
Dmitry Anisimov 3738de08ed
Merge branch 'master' into Point_set_shape_detection_3-make_it_general_with_region_growing-danston 2019-05-23 10:38:45 +02:00
Laurent Rineau 419032d859 Merge pull request #3947 from MaelRL/CGAL-Fix_typos-GF
Fix some typos in code/comments/documentation
2019-05-23 08:50:14 +02:00
Dmitry Anisimov 110b94c16d conflicts fixes 2019-05-21 20:06:06 +02:00
Mael Rouxel-Labbé 2848158354 Fix typos 2019-05-20 08:54:04 +02:00
Laurent Rineau 90782d4b7f Revert the merge of two pull-requests that target CGAL-4.14-branch
- Revert "Merge pull request #3857 from MaelRL/CGAL-Fix_duplicate_non_manifold_vertices-GF"
- Revert "Merge pull request #3898 from lrineau/Mesh_3-stop_during_protection-lrineau"
2019-05-14 17:50:45 +02:00
Laurent Rineau 7bcad36d7e
Merge branch 'master' into Installation-remove_FindBLAS_LAPACK_TAUCS-GF 2019-05-14 16:03:28 +02:00
Laurent Rineau 554672f363 Merge pull request #3869 from sgiraudot/PSP-Range_neighborhood_NP-GF
[Small Feature] PSP: Spherical Neighborhood Queries
2019-05-06 15:50:10 +02:00
Simon Giraudot 6b112dda54 Make doc of NP neighbor_radius more general and add more specific info to the WLOP doc 2019-05-06 10:36:46 +02:00
Dmitry Anisimov a8a9c3bda4 bgl + shape detection dependent tests 2019-04-26 10:19:46 +02:00
Simon Giraudot d8ec8b8986 Fix warning/error 2019-04-23 10:20:16 +02:00
Simon Giraudot aee8735193 Document neighbor_radius parameter and amend example 2019-04-19 12:47:31 +02:00
Simon Giraudot d167bd0d54 Neighbor query by choosing KNN or radius for PSP algorithms 2019-04-19 11:00:10 +02:00
Andreas Fabri 864ba4249d Merge branch 'Surface_mesh-PLY_IO-GF-old' into Surface_mesh-PLY_IO-GF 2019-04-12 16:19:53 +02:00
Sebastien Loriot 08251247c2
Merge pull request #3831 from afabri/PSP-cleanup-GF
Point Set Processing:  cleanup
2019-04-12 15:34:45 +02:00
Sébastien Loriot db65bd8ecc Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch' 2019-04-11 21:38:48 +02:00
albert-github 1dd7473818 Correction of links
Correction of redirected links and links that moved to another place.
2019-04-11 21:37:05 +02:00
Simon Giraudot d8b51a9672 Merge remote-tracking branch 'laurent/Installation-remove_FindBLAS_LAPACK_TAUCS-GF' into Installation-remove_FindBLAS_LAPACK_TAUCS-GF 2019-04-09 15:22:45 +02:00
Simon Giraudot 717137e48f Merge remote-tracking branch 'mine/Surface_mesh-PLY_IO-GF' into Surface_mesh-PLY_IO-GF 2019-04-09 15:11:58 +02:00
Maxime Gimeno 6e46d7e661 Add CGAL:: before sqrt(). 2019-04-08 16:16:51 +02:00
Andreas Fabri 88b0f11284 Move files to PSP/internal 2019-04-08 16:16:51 +02:00
Andreas Fabri a2075494da Move trace.h 2019-04-08 16:16:49 +02:00
Andreas Fabri e5e174941a Restore non-deprecated code 2019-04-03 11:13:28 +02:00
Sébastien Loriot 1c119aec44 replace cpp11::unordered_FOO by std::unordered_FOO 2019-03-29 13:28:33 +01:00
Sébastien Loriot 5a30e88a92 replace cpp11::function by std::function 2019-03-29 13:28:33 +01:00
Sébastien Loriot 124012d9f9 replace cpp11::array by std::array 2019-03-29 13:28:33 +01:00
Sébastien Loriot ce126b87c6 remove cpp11::copy_n, cpp11::prev, and cpp11::next and use std instead 2019-03-29 13:28:32 +01:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Sébastien Loriot 0669c6ad97 remove error messages and disabled test if CPP11 is not available in PSP 2019-03-29 10:41:49 +01:00
Andreas Fabri a472c24185 http:/www.boost.org -> https://www.bost.org 2019-03-20 08:59:22 +01:00
Simon Giraudot 86faeb7fa5 Remove deprecated functions/tests of PSP after 2 releases 2019-03-08 09:46:36 +01:00
Andreas Fabri e08d85f3e3 Set precision of the ostream when writing a point set or face graph. Add a \note in the manual 2019-03-04 15:50:18 +01:00
Laurent Rineau aacd365080 Merge pull request #3703 from sgiraudot/Point_set_processing-Fix_PLY_FT_type_detection-GF
Point Set Processing: Fix PLY FT type detection
2019-02-28 20:48:50 +01:00
Simon Giraudot 1f54c5e0af Merge remote-tracking branch 'mine/Surface_mesh-PLY_IO-GF' into Surface_mesh-PLY_IO-GF 2019-02-26 14:03:27 +01:00
Simon Giraudot df940da6b1 Fix FT type detection 2019-02-22 16:36:18 +01:00
Laurent Rineau fdd8357915
Merge pull request #3580 from afabri/Stream_support-Color-GF
Fix warnings (Add/remove copy constructors, and other warnings)

Co-authored-by: Laurent Rineau <laurent.rineau@cgal.org>
Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
Co-authored-by: Maxime GIMENO <maxime.gimeno@gmail.com>
2019-02-13 15:25:07 +00:00
Sébastien Loriot ec1de6d077 fix warning 2019-01-31 11:49:41 +01:00
Andreas Fabri c636ea1ce2 Fix PSP 2019-01-28 08:37:26 +01:00
Laurent Rineau afc3de2894
Merge branch 'master' into Stream_support-Color-GF 2019-01-23 09:37:08 +01:00
Simon Giraudot 12dfbd6353 Reorganize PLY IO functions/files 2019-01-22 10:00:23 +01:00
Andreas Fabri df17fbcdaa Fix bilateral smoothing 2019-01-10 17:48:30 +01:00
Sebastien Loriot 86a15599f4
Merge pull request #3342 from sgiraudot/Point_set_processing-Mst_orient_seed_points-GF
[Small Feature] MST Orient Normals with Seeds
2019-01-07 09:22:59 +01:00
Sébastien Loriot 61169b394e Merge remote-tracking branch 'cgal/releases/CGAL-4.13-branch' 2019-01-04 17:19:19 +01:00
Sébastien Loriot 45066e7d91 Merge remote-tracking branch 'cgal/releases/CGAL-4.12-branch' into HEAD 2019-01-04 17:17:03 +01:00
Simon Giraudot 294ebaf8f5 Remove unused variable and useless assertion 2019-01-04 14:34:57 +01:00
Simon Giraudot 7656b16702 Fix typo hightest->highest 2019-01-04 14:34:56 +01:00
Simon Giraudot f406473fd3 Document new named parameter 2019-01-04 14:34:56 +01:00
Simon Giraudot 0396dd1118 Patch to improve normal orientation using user-defined seed points 2019-01-04 14:34:56 +01:00
Simon Giraudot 1cfcb1ba5b Fix stream status handling everywhere PLY reader is used 2018-12-18 15:28:02 +01:00
Simon Giraudot 858d10070b Improve PLY element handling and thus fix bug when reading unknown element 2018-12-17 13:07:56 +01:00
Sébastien Loriot 2f9408f867 rename link name to match package name 2018-10-08 10:28:55 +02:00
Laurent Rineau f8f0872118 Merge branch 'releases/CGAL-4.12-branch' 2018-09-17 11:36:41 +02:00
Simon Giraudot 76b50032a6 Fix constness of parameters of functions to output LAS values 2018-09-06 09:58:49 +02:00
Simon Giraudot ab0e622e8b Fix several bugs/badly done stuff in PLY IO 2018-09-06 09:58:49 +02:00
Laurent Rineau c68cf8fc4c Merge pull request #3129 from sgiraudot/Point_set_processing-Callbacks-GF
Point Set Processing: Callbacks
2018-06-27 10:21:40 +02:00
Simon Giraudot c0e79003fc Provide a more generic cpp11::sleep_for() function that handles TBB/STD/MSVC2013 specificities 2018-06-18 16:05:18 +02:00
Mael Rouxel-Labbé 26c857a431 Moved unary/binary_function to CGAL::cpp98 2018-06-13 15:58:19 +02:00
Laurent Rineau 2596a302c0 Merge pull request #2954 from MaelRL/Spatial_searching-Fix_fuziness_doc-GF
Spatial searching: rework fuzzy items

# Conflicts:
#	Spatial_searching/test/Spatial_searching/Point_with_info.h
2018-06-01 17:24:02 +02:00
Laurent Rineau 5dee4b4819 Merge pull request #2954 from MaelRL/Spatial_searching-Fix_fuziness_doc-GF
Spatial searching: rework fuzzy items

# Conflicts:
#	Spatial_searching/test/Spatial_searching/Point_with_info.h
2018-06-01 17:22:10 +02:00
Simon Giraudot f722955b45 Add missing includes 2018-05-29 12:22:46 +02:00
Simon Giraudot 941e376ce6 Include remarks from review 2018-05-29 11:42:04 +02:00
Simon Giraudot 67c830879c Document callbacks in all functions + in PSP named parameters 2018-05-29 11:42:04 +02:00
Simon Giraudot d11654d2f2 Use cpp11::thread 2018-05-29 11:42:04 +02:00
Simon Giraudot 9dbdc6c826 Fix assignment operator 2018-05-29 11:42:03 +02:00
Simon Giraudot e649d77dde Undef first by safety 2018-05-29 11:42:03 +02:00
Simon Giraudot 7703236025 Callbacks in most Point Set Processing functions 2018-05-29 11:42:03 +02:00
Simon Giraudot 08f4afd00e Bugfix: check that thread is non null 2018-05-29 11:42:03 +02:00
Simon Giraudot 0f66525c2d Simplify code 2018-05-29 11:42:03 +02:00
Simon Giraudot dd1b072fa6 Fix indentation 2018-05-29 11:42:02 +02:00
Simon Giraudot 23f7b130c3 Integrate thread management to Parallel_callback 2018-05-29 11:42:02 +02:00
Simon Giraudot a2fd0c7630 Callback for bilateral smoothing 2018-05-29 11:42:02 +02:00
Simon Giraudot 92f88cecbb Fix interruption 2018-05-29 11:42:02 +02:00
Simon Giraudot 45bad1258e Move atomic variables into Parallel_callback 2018-05-29 11:42:02 +02:00
Simon Giraudot 7fba36b8dd Move Parallel_callback out of function + documentation 2018-05-29 11:42:02 +02:00
Simon Giraudot 979d74a723 Better version of callback in compute_average_spacing() 2018-05-29 11:42:02 +02:00
Simon Giraudot 9407dac596 First version of a callback in compute_average_spacing() 2018-05-29 11:42:02 +02:00
Sébastien Loriot 7e42e9f5a2 move citation to avoid line break in the brief. 2018-05-11 22:53:43 +02:00
Andreas Fabri 5ac03b9919 PSP: Use \cgalCite 2018-05-11 10:22:37 +01:00
Laurent Rineau 92a7449cac Merge pull request #3006 from sloriot/PMP_PSP-fixes_for_release
Pmp psp fixes for release
2018-04-24 17:34:21 +02:00
Laurent Rineau 03e68d8740 Merge pull request #2985 from afabri/CGAL-std_latest-GF
Support C++17 (Replace std::random_shuffle() with CGAL::random_shuffle(), and other adjustments)
2018-04-24 17:32:55 +02:00
Simon Giraudot 9f825accdb Fix PLY reading properties other than those of vertices 2018-04-12 11:50:33 +02:00
Sébastien Loriot 8bed47fda1 please dependency checker 2018-04-12 09:49:17 +02:00
Sébastien Loriot 88b312f48e fix \cond \endcond matching 2018-04-12 08:53:52 +02:00
Andreas Fabri c54a6a4980 Put CGAL::random_shuffle() in the subnamespace cpp98 2018-04-11 09:32:23 +01:00
Sébastien Loriot bf9e8ab40d restore function deprecated in 4.12 2018-04-10 17:33:43 +02:00
Sébastien Loriot 53f109910f pass the point property map for the queries too 2018-04-10 17:33:11 +02:00
Andreas Fabri 063a91a771 Use CGAL::random_shuffle 2018-04-04 14:00:23 +01:00
Andreas Fabri 643aaf2dcf Fix voronoi_covariance_3 and HalfedgeDS_vector 2018-03-29 11:44:25 +02:00
Mael Rouxel-Labbé 724a5a535e Removed useless include 2018-03-23 16:59:36 +01:00
Laurent Rineau 78e7060525 Merge pull request #2712 from afabri/CGAL-VC+warnlevel_4-GF
Deal with VC++ warnings of level /W4
2018-02-19 14:27:06 +01:00
Sébastien Loriot 483f69728e Refresh branch 2018-02-12 22:21:38 +01:00
Maxime Gimeno 7fa4b380d2 fixes in includes logic. 2018-02-02 12:08:05 +01:00
Andreas Fabri e34529aa9a PSP 2018-01-17 21:17:51 +00:00
Simon Giraudot c52b32b744 Add trick to get FT right for general PointRange AND for CGAL::Point_set_3 2018-01-11 14:04:19 +01:00
Simon Giraudot 9c1e045376 Use std::iterator_traits to get the value type 2018-01-11 12:35:36 +01:00
Simon Giraudot eebd1bda6a Fix Windows conversion warnings 2018-01-10 16:39:34 +01:00
Simon Giraudot 78afc3959c Fix return-types incorrectly changed from FT to double 2018-01-10 16:39:34 +01:00
Simon Giraudot 2e25f932cd Fix several bugs 2018-01-10 16:39:33 +01:00
Simon Giraudot f97c3c5caa Fix missing typename 2018-01-10 16:39:33 +01:00
Simon Giraudot c63f72538d Add missing named parameters 2018-01-10 16:39:33 +01:00
Simon Giraudot 4e497f1c15 Add deprecated constructor to Point_set_with_structure 2018-01-10 16:39:32 +01:00
Simon Giraudot 10c9882e8e Fix iterator constness 2018-01-10 16:39:32 +01:00
Simon Giraudot 1fa899760f Use standard deprecation tools + minor fixes 2018-01-10 16:39:31 +01:00
Simon Giraudot b4ea6c81b4 Fix missing parenthesis 2018-01-10 16:39:31 +01:00
Simon Giraudot 506a5d2f33 Change API to named parameters in all PSP IO functions/examples/tests/doc 2018-01-10 16:39:31 +01:00
Simon Giraudot 359abd5351 Use Named Parameters in compute_vcm() 2018-01-10 16:39:31 +01:00
Simon Giraudot 9764321577 Use named parameters in class Point_set_with_structure 2018-01-10 16:39:31 +01:00
Simon Giraudot a1696bc72e All reference manual reworked with in the named parameters fashion 2018-01-10 16:39:31 +01:00
Simon Giraudot aabd51c7b5 use all_default(points) everywhere 2018-01-10 16:38:37 +01:00
Simon Giraudot 5299634dbb Update remaining old APIs in include 2018-01-10 16:38:36 +01:00
Simon Giraudot 85e5633b60 Add missing include 2018-01-10 16:38:36 +01:00
Simon Giraudot 86634b3c17 Use new API of PSP with named parameters in include+example 2018-01-10 16:38:36 +01:00
Simon Giraudot 814ad5adf4 Fix pmap -> map 2018-01-10 16:38:35 +01:00
Simon Giraudot c58ea477f1 compute_average_spacing() with named parameters 2018-01-10 16:38:35 +01:00
Simon Giraudot 670346ba86 Add deprecated PSP V1 API macro 2018-01-10 16:38:35 +01:00
Simon Giraudot 79e423fadb Create a Point_set_processing_3 folder to move internal 2018-01-10 16:38:35 +01:00
Laurent Rineau 42b11ddf29 Revert the merge of PR #2478
This reverts the merge commit 46cc91e787 onto
488c3e2879.
2018-01-04 17:54:08 +01:00
Laurent Rineau 1c2e9df8cf Merge branch 'releases/CGAL-4.11-branch' 2017-12-19 16:29:10 +01:00
Laurent Rineau 5181cd7474 Merge branch 'releases/CGAL-4.10-branch' into releases/CGAL-4.11-branch
# Conflicts:
#	Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/measure.h
2017-12-19 16:19:22 +01:00
Sébastien Loriot 082d9005da use reference type of the pmap 2017-12-08 14:45:54 +01:00
Clement Jamin c791c765f9 Missing typedefs in custom distance class 2017-11-22 11:49:17 +01:00
Sébastien Loriot 8cdfad0d08 add missing URL and Id tags 2017-11-15 22:58:57 +01:00
Sébastien Loriot ee57fc2d6c add SPDX identifier for files under the GPL-3+ license 2017-11-12 10:17:51 +01:00
Laurent Rineau 037d1149f5 Merge pull request #2477 from sgiraudot/Polyhedron_demo-Fix_load_ply_empty_soup-GF
Polyhedron demo: several fixes and enhancements for PLY I/O
2017-10-13 16:54:19 +02:00
Laurent Rineau 7e9f756935 Replace all std::unary_function by CGAL::unary_function 2017-10-04 15:57:09 +02:00
Simon Giraudot 813f128e57 Add method to recover comments of PLY input 2017-10-04 09:30:01 +02:00
Simon Giraudot 38663431a1 Merge branch 'Classification-GF-old' into Classification-GF 2017-09-11 11:53:13 +02:00
Simon Giraudot 6c4b27c743 Merge branch 'Classification-GF-old' into Classification-GF 2017-08-25 14:28:10 +02:00
Simon Giraudot 1e4b63c606 Fix face properties bug 2017-08-24 11:42:29 +02:00
Sebastien Loriot 74409b2b3c Merge pull request #2239 from sgiraudot/Shape_detection-Region_growing-GF
Region Growing (Shape Detection)
2017-08-18 16:27:19 +02:00
Simon Giraudot 335abd45dd Fix warnings 2017-08-14 09:58:33 +02:00
Simon Giraudot 86e5ad850b Add method to test if tag exists for list property 2017-08-09 09:48:21 +02:00
Simon Giraudot 63732f6415 Remove useless and error-prone overload with std::size_t 2017-08-04 10:03:29 +02:00
Simon Giraudot 8999312f16 Fix reference forwarding everywhere 2017-08-02 14:10:44 +02:00
Simon Giraudot 45ffa0af52 Fix reference forwarding (+ property map error) 2017-08-02 14:10:44 +02:00
Simon Giraudot f0e03e997a Some more internal adaptions of read_ply_points 2017-08-02 14:10:44 +02:00
Simon Giraudot 8556215aae Explicit cast 2017-08-02 14:10:43 +02:00
Simon Giraudot 89d610f047 Add functions to write PLY list properties 2017-08-02 14:10:42 +02:00
Simon Giraudot 71be7b4935 Generalize and simplify generation of PLY properties macro 2017-08-02 14:10:42 +02:00
Simon Giraudot c190be7993 Add methods to handle PLY lists 2017-08-02 14:10:41 +02:00
Simon Giraudot 4c99c7be33 Fix doc 2017-08-01 15:47:58 +02:00
Simon Giraudot be69b2bdd9 Update doc and API 2017-08-01 15:47:58 +02:00
Simon Giraudot 6a119fef11 Unify APIs of structuring and regularization 2017-08-01 15:47:58 +02:00
Simon Giraudot 85634b7a27 Change structure_point_set() with generalized API 2017-08-01 15:46:04 +02:00
Simon Giraudot b88deb3759 Rename Efficient_RANSAC_traits as Shape_detection_traits (same for concept) 2017-08-01 15:45:06 +02:00
Simon Giraudot 8043d342e7 Merge branch 'Classification-GF-old' into Classification-GF 2017-07-21 12:06:19 +02:00
Simon Giraudot c59454e45f Fix wrong inclusions/warning protections 2017-07-13 10:36:56 +02:00
Simon Giraudot 41edf00aae Deactivate visual studio warning on LASlib DLL 2017-07-12 08:13:41 +02:00
Jane Tournois b4bf70caf2 use the import instruction of LasReader_LAS 2017-07-11 11:58:54 +02:00
Jane Tournois dce27d7ecc add missing includes 2017-07-11 11:58:54 +02:00
Simon Giraudot fbe9e78ef0 Use std:: everywhere for tuples (make_tuple, get, etc.) 2017-07-11 11:58:54 +02:00
Simon Giraudot 955100bb48 Force using std::tuple 2017-07-11 11:58:54 +02:00
Simon Giraudot b3723b7e3d Document needed specialization of Output_rep 2017-07-11 11:58:53 +02:00
Simon Giraudot e01f62a09f Use Output_rep to output colors 2017-07-11 11:58:53 +02:00
Simon Giraudot 4b3a506d44 Fix detection of required C++11 features 2017-07-11 11:58:53 +02:00
Simon Giraudot a644f31cd9 Include CGAL/config.h to test macros 2017-07-11 11:58:53 +02:00
Simon Giraudot 40ae0436e1 Add C++11 conditions/tests/warnings for LAS and PLY IO functions and related files 2017-07-11 11:58:53 +02:00
Simon Giraudot d118bc7600 Add license headers 2017-07-11 11:58:52 +02:00
Simon Giraudot bd94c3005b Move USE_AS_DLL as a temporary definition around LASlib header 2017-07-11 11:58:52 +02:00
Simon Giraudot 622bb6f691 Replace LAS_property classes using a Base class with templated types 2017-07-11 11:58:51 +02:00
Jane Tournois 5fb14a891a extract #include in non-GNUC context 2017-07-11 11:58:51 +02:00
Simon Giraudot 0354290268 Fix forgotten namespaces changes 2017-07-11 11:58:51 +02:00
Simon Giraudot 32bd5265dd Use cpp11::tuple and cpp11::get instead of std::tuple and std::get 2017-07-11 11:58:51 +02:00
Simon Giraudot ce362930f0 Separate PSP functions in groups 2017-07-11 11:58:51 +02:00
Simon Giraudot 61f1276a07 Update API with review (remove PLY/LAS namespaces) 2017-07-11 11:58:50 +02:00
Simon Giraudot 237a19037b Some corrections in the manual 2017-07-11 11:58:50 +02:00
Simon Giraudot 5027c9af2c Some corrections 2017-07-11 11:58:49 +02:00
Simon Giraudot ffd7af06ef Some typo corrections 2017-07-11 11:58:49 +02:00
Simon Giraudot 4027ef814c Capitalize tag classes 2017-07-11 11:58:49 +02:00
Simon Giraudot cb6e739f0e Replace namespaces Ply/Las to PLY/LAS 2017-07-11 11:58:49 +02:00
Simon Giraudot d0b760a9e2 User and reference manuals 2017-07-11 11:58:49 +02:00
Simon Giraudot ced26cc733 First version of LAS writer 2017-07-11 11:58:49 +02:00
Simon Giraudot 952c5a4984 Some corrections 2017-07-11 11:58:48 +02:00
Simon Giraudot 9ff95550e9 Use CGAL::IO::BINARY instead of a Binary template boolean 2017-07-11 11:58:48 +02:00
Simon Giraudot 54b7ef95ea Add all possible types for PLY header 2017-07-11 11:58:48 +02:00
Simon Giraudot 9175f39c86 Use cpp11::tuple instead of std::tuple 2017-07-11 11:58:48 +02:00
Simon Giraudot 5663a6836f Change API of PLY writer similarly to PLY reader 2017-07-11 11:58:48 +02:00
Simon Giraudot c394369d29 Update doc, examples and API 2017-07-11 11:58:48 +02:00
Simon Giraudot 24b1a690f3 Use empty structs to handle attributes 2017-07-11 11:58:47 +02:00
Simon Giraudot d827e9d65d First version of LAS reader 2017-07-11 11:58:47 +02:00
Simon Giraudot 731b4c27fe Change full API of PLY reader 2017-07-11 11:58:47 +02:00
Simon Giraudot 19f09d634b Changing API of PLY reader: first steps 2017-07-11 11:58:47 +02:00
Simon Giraudot ef57586cb8 Add read_las_points.h file with skeleton of functions 2017-07-11 11:58:47 +02:00
Simon Giraudot 3ce8e9fc64 Merge branch 'Classification-GF-old' into Classification-GF 2017-03-13 07:51:54 +01:00
Laurent Rineau f60275ff28 Merge pull request #1933 from janetournois/Polyhedron_demo-fix_warnings_msvc-jtournois
Polyhedron demo : fix warnings
2017-03-02 16:55:15 +01:00
Jane Tournois 60fd6aa27a fix conversion warning for msvc 2013, 32 bits 2017-02-28 10:32:03 +01:00
Simon Giraudot b7a0c704d5 Revert changes from std::floor to cast (risk of overflow) 2017-02-27 14:27:12 +01:00
Simon Giraudot 93f5f6276e Replace set by unordered_set (speed up 70%) 2017-02-27 09:57:18 +01:00
Simon Giraudot 0d92e5f2e1 Use cast to int instead of std::round without constructing Point (speed up 25%) 2017-02-27 09:33:43 +01:00
Laurent Rineau c8530ed22d Merge pull request #1909 from sgiraudot/Point_set_processing-Wlop_bugfix_radius2-GF
WLOP Bugfix: use radius2 in parallel version too
2017-02-16 17:34:23 +01:00
Simon Giraudot 57de2171ce Bugfix: use radius2 in parallel version too 2017-02-16 16:44:26 +01:00
Sébastien Loriot 50510c05ea add include directive for license of all GPL header files
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
          grep -v Operations_on_polyhedra | \
          grep -v Algebraic_kernel_for_circles | \
          grep -v Algebraic_kernel_for_spheres | \
          grep -v Polyhedron_IO`;
do
  echo $i
  python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Simon Giraudot 1beb340550 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2017-01-03 15:23:23 +01:00
Sébastien Loriot 303ee311be Merge pull request #1776 from sgiraudot/Point_set_processing-Automatic_scale_selection-GF
Automatic Scale Selection
2017-01-02 19:10:22 +01:00
Sébastien Loriot 3d637745fe Merge pull request #1633 from sgiraudot/Point_set_processing_3-Point_set_structuring-GF
Point Set Structuring
2017-01-02 19:10:14 +01:00
Simon Giraudot 3fe7678874 Warning fix: forgot to remove pragma warning pop 2017-01-02 07:53:18 +01:00
Sébastien Loriot fe5e925367 Merge pull request #1701 from afabri/Convex_hull_3-FaceGraph-GF
Convex_hull_3: Switch to FaceGraph
2016-12-30 15:14:34 +01:00
Simon Giraudot 136a4806e8 Fix warning on Windows 32bits: use boost::intmax_t for difference 2016-12-30 14:30:06 +01:00
Andreas Fabri ab78464470 Fix VC++ min/max problem 2016-12-30 10:59:07 +01:00
Simon Giraudot 5edb6e1459 Warning fix: explicit conversion from size_t to unsigned int 2016-12-30 07:38:44 +01:00
Simon Giraudot d423e5e6f8 Fix warning with explicit casts 2016-12-29 09:28:36 +01:00
Simon Giraudot 2a37790e47 Add license header 2016-12-21 13:50:18 +01:00
Simon Giraudot fb9aae74c6 Merge branch 'Point_set_processing-Automatic_scale_selection-GF-old' into Point_set_processing-Automatic_scale_selection-GF 2016-12-21 13:06:36 +01:00
Andreas Fabri 552e8f9de6 Use halfspace intersection that has better vertex coordinates (even if the topology of the CH might not be fuly correct) 2016-12-01 12:54:19 +01:00
Andreas Fabri 466995a31b Add typedef for Polyhedron_3 2016-11-30 11:56:52 +01:00
Andreas Fabri 86a252c074 min -> (min) ; std::fabs -> CGAL::abs 2016-11-30 08:11:30 +01:00
Simon Giraudot 0d0e28ea68 Bugfix: do not delegate constructor 2016-11-28 08:02:56 +01:00
Simon Giraudot 310d81864e Merge branch 'Classification-GF-old' into Classification-GF 2016-11-23 08:55:57 +01:00
Simon Giraudot 0df67413eb Fix EfficientRANSACTraits requirements 2016-10-31 15:11:55 +01:00
Simon Giraudot db30ed1a82 Update with remarks from code review 2016-10-31 12:38:18 +01:00
Simon Giraudot 94b2fe7206 Better API: fulfill at least one of the threshold 2016-10-31 08:59:57 +01:00
Simon Giraudot 2d325b958a Document property maps and add alternative 2016-10-31 07:57:35 +01:00
Simon Giraudot 0ca9eccec8 Bugfix: missing typename 2016-10-31 07:47:26 +01:00
Simon Giraudot 40e273d5af Add possibility to give custom point_map and normal_map 2016-10-28 15:30:50 +02:00
Simon Giraudot f65db046b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-10-28 15:02:48 +02:00
Simon Giraudot b6f68584fa Change API of remove_outliers: add distance based threshold 2016-10-28 11:19:10 +02:00
Simon Giraudot 22f0b2c1f8 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2016-10-24 15:17:38 +02:00
Simon Giraudot 886ad42a7e Add method to get raw readers 2016-10-21 10:28:39 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau 50675b9734 Merge pull request #1418 from afabri/Point_set_processing-static-GF
PSP: No need for thread local storage as readonly
2016-10-05 13:02:13 +02:00
Laurent Rineau 51f5697d3d Add missing #include 2016-09-30 15:23:14 +02:00
Andreas Fabri ed472c0904 Fix package Point_set_processing_3: include headers 2016-09-30 15:22:30 +02:00
Andreas Fabri 5136f5dda4 Fix package Point_set_processing: Add #include and rename variable _N -> N 2016-09-30 15:22:27 +02:00
Simon Giraudot 65910da1a6 Merge branch 'Point_set_3-GF-old' into Point_set_3-GF 2016-09-28 11:25:36 +02:00
Simon Giraudot 3a356505c8 Merge branch 'Point_set_3-GF' into Point_set_classification-GF 2016-09-21 09:42:41 +02:00
Simon Giraudot 401fa82461 Merge branch 'Point_set_classification-GF-old-old' into Point_set_classification-GF-old 2016-09-21 09:38:27 +02:00
Simon Giraudot 7034fe00a9 Remove lines about tparam that can be omitted (this was wrong) 2016-09-14 16:36:26 +02:00
Simon Giraudot ef4b531560 Add method to get raw readers 2016-09-13 17:14:12 +02:00
Simon Giraudot 80a8d49860 Add missing const 2016-09-09 14:28:22 +02:00
Simon Giraudot 2d035b3e6c Move Point_set_3 to its own package 2016-09-09 08:30:26 +02:00
Simon Giraudot 1e985f5ecd Merge branch 'Point_set_processing_3-Point_set_3-GF-old' into Point_set_processing_3-Point_set_3-GF 2016-09-08 12:58:25 +02:00
Simon Giraudot 29535531bb Fix constness of reference 2016-09-08 12:22:55 +02:00
Simon Giraudot bb7f153763 Improve Property_pmap and Property_back_inserter 2016-09-08 10:42:25 +02:00
Andreas Fabri 80541b6405 No need for thread local storage as readonly 2016-08-31 12:00:19 +02:00
Sébastien Loriot ff1b240a37 replace assert by CGAL_assertion in CGAL code 2016-08-25 11:12:17 +02:00
Simon Giraudot ea24e3ccde Add reference to user manual in ref manual 2016-08-25 09:31:20 +02:00
Simon Giraudot a3e4a8b927 Terminology correction (value type) 2016-08-25 09:05:02 +02:00
Simon Giraudot cb7914f1ec Document output iterators 2016-08-25 08:22:58 +02:00
Simon Giraudot d94a7a6316 Unify: location -> query 2016-08-25 08:06:24 +02:00
Simon Giraudot 00381feae4 Return output iterators 2016-08-25 07:53:00 +02:00
Simon Giraudot 7c633e8acc Remove useless and ambiguous template typenames 2016-08-18 14:52:38 +02:00
Simon Giraudot 08e4f7e6c8 Minor corrections in doxygen doc 2016-08-10 16:13:10 +02:00
Simon Giraudot 0de675ff3b Add doxygen doc and useful overloads 2016-08-09 11:37:45 +02:00
Simon Giraudot e9464de8f2 A bit more optimizations 2016-08-08 17:29:17 +02:00
Simon Giraudot c1fc95dc9f Code optimization 2016-08-08 16:52:21 +02:00
Simon Giraudot e99d74aefc Minor corrections 2016-08-08 10:30:33 +02:00
Simon Giraudot cbad1f375c Increase precision by keeping track of clusters' weights 2016-08-05 15:41:06 +02:00
Simon Giraudot 5b7d0a99cb Add 2D case 2016-08-05 08:30:59 +02:00
Simon Giraudot 11d59640a9 Add possibility to look for a range scale (instead of a K scale) 2016-08-04 15:34:56 +02:00
Simon Giraudot cd0ccf07c4 New algorithm: automatic scale selection for reconstruction 2016-08-04 15:27:14 +02:00
Simon Giraudot 4a03949eec Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF 2016-07-22 11:58:16 +02:00
Sébastien Loriot 3e9796e1ed remove unused types 2016-07-18 10:26:23 +02:00
Sébastien Loriot efa3e3b654 avoid relying on reference 2016-07-15 14:29:29 +02:00
Sébastien Loriot d9fb49f2dd fix all calls to get() free function for property maps
the return type of get is reference
2016-07-13 13:53:06 +02:00
Simon Giraudot 08b0711ee4 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-07-05 14:16:54 +02:00
Simon Giraudot 85a5ef28dc Merge branch 'Point_set_classification-GF-old' into Point_set_classification-GF 2016-07-05 13:49:33 +02:00
Sébastien Loriot e3a44a9d75 remove the flag CGAL_USE_PROPERTY_MAPS_API_V1 and keep only new API 2016-07-04 10:17:38 +02:00
Simon Giraudot ace0238a7c Bugfix: deactivate corners if bad intersection 2016-05-17 15:37:41 +02:00
Simon Giraudot a6b11751b1 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-05-17 10:00:03 +02:00
Simon Giraudot 02fa465c39 Use const ref in wlop get() 2016-05-09 15:37:39 +02:00
Simon Giraudot 345fe1f444 Use put() operator instead of using ref of get() 2016-05-09 14:44:28 +02:00
Simon Giraudot 3955da6b6e Fix API of property maps (get and put in same class + other minor corrections) 2016-05-09 11:35:10 +02:00
Simon Giraudot 2d412823ef Use built-in std::stack instead of system stack 2016-05-06 14:02:41 +02:00
Simon Giraudot e69411533a Correction of collect_garbage (using quick sort) 2016-05-06 12:34:49 +02:00
Simon Giraudot 2d41ea7aba Simplify API and handle removed points more nicely 2016-05-04 11:12:08 +02:00
Simon Giraudot 8a5a4efd5b Remove useless includes 2016-05-03 09:40:18 +02:00
Simon Giraudot be39736905 Document Point_set_3 2016-05-03 08:38:26 +02:00
Simon Giraudot a1c8ec9c3f Merge branch 'Polyhedron_demo-Enhance_point_set_properties-GF-old-old' into Polyhedron_demo-Enhance_point_set_properties-GF-old 2016-04-25 17:35:25 +02:00
Simon Giraudot 02632a035f Add size methods 2016-04-25 17:32:05 +02:00
Simon Giraudot 85e75065e8 Minor comment corrections 2016-04-25 16:27:52 +02:00
Simon Giraudot 860a30201f Warning fix: explicit cast from pointer to bool 2016-04-25 11:14:04 +02:00
Simon Giraudot a098899693 Document Point_set_with_structure class 2016-04-22 15:24:35 +02:00
Simon Giraudot ee4d9b76ee Add missing include 2016-04-20 08:34:28 +02:00
Andreas Fabri d18db3c527 Half the time of reading float and double for VC++ 2016-04-18 16:25:09 +02:00
Simon Giraudot ecf6b1c72d Move class out of internal namespace + improve API 2016-04-12 17:31:04 +02:00
Simon Giraudot bfde005726 Minor change in comments 2016-04-12 16:16:41 +02:00
Simon Giraudot 372b2d161a Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old-old' into Point_set_processing_3-Point_set_structuring-GF-old 2016-04-12 14:01:45 +02:00
Simon Giraudot 2d5a38150b Merge branch 'Point_set_processing-Extend_ply_reader-GF-old' into Point_set_processing-Extend_ply_reader-GF 2016-04-12 11:56:01 +02:00
Simon Giraudot 89742a6bd9 Update doc (precision on boolean return value) 2016-04-12 11:50:34 +02:00
Simon Giraudot bad16c8ebf Add convenience function when reading double from float input 2016-04-11 18:17:48 +02:00
Laurent Rineau d4e8c9089c Merge pull request #988 from janetournois/Point_set_processing-fix_runtime_error_bis-jtournois
(Merge branch 'releases/CGAL-4.8-branch')
2016-04-11 15:42:35 +02:00
Simon Giraudot 117ab51f97 Merge branch 'Point_set_processing-Extend_ply_reader-GF' into Point_set_classification-GF 2016-04-06 08:44:54 +02:00
Simon Giraudot e922a1c858 Complete test on property existence (testing type in addition of tag) 2016-04-06 08:37:50 +02:00
Jane Tournois 061df89383 skip the infinite vertex to avoid computing stuff on associated points 2016-04-05 14:26:20 +02:00
Laurent Rineau a67bc9822e Merge pull request #895 from afabri/CGAL-LGPL-GF
Move infrastructure files into infrastructure packages and change their license
2016-03-29 11:08:43 +02:00
Simon Giraudot afb90d30da Merge remote-tracking branch 'cgal-dev/Point_set_processing-Extend_ply_reader-GF' into Point_set_classification-GF 2016-03-24 09:40:24 +01:00
Simon Giraudot 3aa0be9de4 Bugfix: corner might have degree > 3 2016-03-22 14:36:45 +01:00
Simon Giraudot f9c1f33564 Update example with recovery of adjacency information 2016-03-21 15:37:18 +01:00
Simon Giraudot 2463827cc5 Update doc following reviews 2016-03-21 12:34:53 +01:00
Simon Giraudot 79e2af52d3 Add note about what happens if no plane was detected 2016-03-21 11:17:32 +01:00
Andreas Fabri 324daa0b78 move value_traits 2016-03-09 16:35:49 +01:00
Andreas Fabri eb90e8e3e1 Include consistently <CGAL/property_map.h> 2016-02-24 12:09:36 +01:00
Simon Giraudot e03b1cb077 Bugfix: use property map to access content on Input_type 2016-02-18 16:19:25 +01:00
Simon Giraudot fdfebe43f8 Correction of push_back and clear functions 2016-02-17 14:44:59 +01:00
Simon Giraudot d243980a73 Add useful accessors and modifiers to Point_set_3 2016-02-17 11:53:20 +01:00
Simon Giraudot 1ebe99f9de Bugfix: check multiple swaps when applying indices change 2016-02-10 10:51:32 +01:00
Simon Giraudot 3413680a23 Bugfix: if test was inverted 2016-02-10 08:09:01 +01:00
Simon Giraudot 66c9b18012 WIP: use directly Properties instead of Surface_mesh in Point_set_3 2016-02-09 14:46:05 +01:00
Simon Giraudot 8ad613cdcf Simplify Ply_read_number using templates instead of explicit specialization 2016-02-03 11:53:45 +01:00
Simon Giraudot b800b12b55 Update doc with new API 2016-02-03 11:34:44 +01:00
Sebastien Loriot 4f737d4682 Merge pull request #702 from afabri/CGAL-source-GF
Use source() not prefixed with boost::
2016-02-03 09:45:01 +01:00
Simon Giraudot 7e77304239 Simplify API of PlyInterpreter introducing a Ply_reader class 2016-02-02 18:38:29 +01:00
Andreas Fabri b126649f37 less boost:: 2016-02-01 20:12:43 +01:00
Andreas Fabri 4c9c668dc9 deal with deprecated code 2016-02-01 15:52:52 +01:00
Andreas Fabri c772598ae6 Use source() not prefixed with boost:: 2016-02-01 09:56:57 +01:00
Simon Giraudot fd2e2e6395 Update namespaces with Properties moved out of Surface_mesh 2016-01-29 15:18:37 +01:00
Simon Giraudot 9362ca342c Fix warning: uninitialized variable 2016-01-29 07:14:23 +01:00
Simon Giraudot 490b90650b Improve readability of class Point set 2016-01-28 09:59:54 +01:00
Simon Giraudot c9bf1e1d12 Remove useless debug display 2016-01-28 08:44:48 +01:00
Simon Giraudot 6d16b5cb12 Bugfix: use reference on pmap for points instead of copy 2016-01-28 07:20:47 +01:00
Simon Giraudot 490de56688 Add missing SKIP_IN_MANUAL cond 2016-01-26 12:53:57 +01:00
Simon Giraudot 50bd422d1d More on manual 2016-01-26 11:52:47 +01:00
Andreas Fabri 6af27d6033 Add a typedef 2016-01-25 17:28:27 +01:00
Simon Giraudot 3e09542e0e Replace push_pmap with generalized template version 2016-01-25 15:28:32 +01:00
Andreas Fabri 59a2acf16b Add const to & 2016-01-25 12:56:01 +01:00
Andreas Fabri 006dcf0c97 cast to get rid of warnings 2016-01-25 11:31:33 +01:00
Simon Giraudot 262c697fb5 Fix how to access points and normals 2016-01-25 10:26:37 +01:00
Simon Giraudot 28f879eddf Use iterator on indices as default 2016-01-25 09:54:49 +01:00
Simon Giraudot ba40408f67 Erase function based on indices 2016-01-25 09:44:06 +01:00
Simon Giraudot b5bbafb2f4 Add index property map + functors for back insertion and point/normal push pmap 2016-01-22 15:43:52 +01:00
Simon Giraudot fdf3857226 Separate CGAL::Point_set_3 from Point_set_3 in polyhedron demo 2016-01-21 11:41:45 +01:00
Simon Giraudot 449ce4de7e Bugfix: incorrect types 2016-01-21 11:24:11 +01:00
Simon Giraudot db06ace31d More on reference manual 2016-01-20 15:58:48 +01:00
Simon Giraudot 1fafd34d32 Simplify Ply_interpreter writing for users 2016-01-20 11:42:13 +01:00
Andreas Fabri 97134babbf remove/add #includes 2016-01-20 10:19:08 +01:00
Simon Giraudot 5bfd8ba23e Warning fix: missing static_cast 2016-01-19 18:00:37 +01:00
Simon Giraudot 24270dd358 Remove obsolete comment 2016-01-19 16:26:48 +01:00
Andreas Fabri 993abde037 Add header todo: split it in just the point set and what is needed in the Polyhedron demo 2016-01-19 15:51:12 +01:00
Andreas Fabri 2b01b1763e move Point_set_3.h 2016-01-19 15:47:29 +01:00
Simon Giraudot 44eeb83a73 Add missing include 2016-01-14 15:33:10 +01:00
Simon Giraudot a3f03a0094 Move PLY reader and PLY interpreter out of internal 2016-01-14 11:14:57 +01:00
Simon Giraudot e3f201d881 Function to use custom interpreter + error messages + better naming 2016-01-14 11:10:04 +01:00
Simon Giraudot b8a74bf30f Add test to check if interpreter is applicable to current ply file 2016-01-14 10:55:27 +01:00
Simon Giraudot 907006ef0f Externalize functor to interpret ply input 2016-01-14 10:45:59 +01:00
Simon Giraudot 3a704227ee Reorganize code, separate header/content reading 2016-01-14 08:58:45 +01:00
Simon Giraudot 5649b0dd58 Protect std::min with parenthesis (illegal token error with VS) 2016-01-14 07:57:38 +01:00
Simon Giraudot 93637a28ef Warning fixes: conversions from double to std::size_t 2016-01-13 15:17:25 +01:00
Simon Giraudot 24f98d687f Bugfix: only compute centroid if non-empty point container 2016-01-13 09:09:11 +01:00
Simon Giraudot 5bfa2fdd7f Add missing include (limits) 2016-01-13 08:03:02 +01:00
Simon Giraudot 40257fefb5 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2016-01-12 11:53:09 +01:00
Simon Giraudot f079c7538a Disable VC++ warning 2016-01-11 14:44:31 +01:00
Simon Giraudot 3fd7a3fb81 Warning fix: use std::size_t instead of int 2016-01-11 08:38:18 +01:00
Simon Giraudot 8c55b470ee Merge branch 'Point_set_processing_3-Point_set_structuring-GF' of github.com:CGAL/cgal-dev into Point_set_processing_3-Point_set_structuring-GF 2016-01-11 07:36:54 +01:00
Simon Giraudot 3a8937259c Remove #define CGAL_PSP3_VERBOSE and add condition to warning displays 2016-01-11 07:36:09 +01:00
Andreas Fabri f22051c8d0 Point -> const Point& 2016-01-09 10:21:11 +01:00
Andreas Fabri f7c0dd44d2 fix VC++ problem with max() 2016-01-09 10:12:50 +01:00
Simon Giraudot a33f7f89a8 Use std::numeric_limits<std::size_t>::max() instead of (std::size_t)(-1) 2016-01-06 15:13:58 +01:00
Andreas Fabri d497120e5f clean Point_set_processing 2016-01-05 17:17:10 +01:00
Sébastien Loriot 81d638341a prevent internal namespace to be documented 2015-12-28 10:51:49 +01:00
Simon Giraudot d2bf68506d Speed up computation of corners 2015-12-14 11:56:42 +01:00
Simon Giraudot 5f771f6732 Bugfix: break instead of continue made some corners badly defined 2015-12-11 17:56:35 +01:00
Simon Giraudot 55b01dda63 Speed up computation of corners (early ending added) 2015-12-11 15:14:39 +01:00
Simon Giraudot 8d55bb7a58 Add a coherence_type enum for clearer result meanings 2015-12-09 11:58:19 +01:00
Simon Giraudot 7c0006c4e8 Bugfix: do not run algorithm if no plane available 2015-12-04 08:44:20 +01:00
Simon Giraudot 0cc0550067 Remove useless accessor + more specific coherence values 2015-12-03 14:06:30 +01:00
Simon Giraudot 2a9d90728b Simplify notations by cleaning point set after algorithm 2015-12-02 14:08:11 +01:00
Simon Giraudot 82a08e343c Handle freeform coherence + public access methods 2015-12-02 12:59:08 +01:00
Simon Giraudot 26477bdf37 Change name of variable 2015-12-01 15:44:41 +01:00
Simon Giraudot 04b20c04a5 Add citation of point set structuring paper 2015-12-01 15:30:54 +01:00
Simon Giraudot 9e581355a3 Beginning of work on manual 2015-12-01 15:22:34 +01:00
Simon Giraudot 7d7d1073b1 Cleaning comments and add verbose ifdef 2015-12-01 12:53:02 +01:00
Simon Giraudot 2b97a3063f Also generate normals when structuring point set 2015-11-30 11:03:36 +01:00
Simon Giraudot d3016c5185 Bugfix: deactive corner if too far away from point set 2015-11-30 08:24:37 +01:00
Simon Giraudot 7ba0d499bf Filter Delaunay coherent facet with size parameter 2015-11-27 15:37:07 +01:00
Simon Giraudot 72a83bcbca Method to get coherent Delaunay facets 2015-11-27 11:51:28 +01:00
Simon Giraudot ca129b6684 Keep track of edge/corner indices 2015-11-27 09:38:37 +01:00
Simon Giraudot 5aac533a56 Merge branch 'Point_set_processing_3-Point_set_structuring-GF-old' into Point_set_processing_3-Point_set_structuring-GF 2015-11-26 14:48:54 +01:00
Simon Giraudot 37b446fc4e Projection bugfix + empty corners bugfix + missing distance test added 2015-11-26 09:53:42 +01:00
Simon Giraudot 7fb11280e2 Corner directions + sampling refinement 2015-11-25 12:50:37 +01:00
Simon Giraudot a1da4ab306 Refine sampling (WIP) 2015-11-25 10:47:43 +01:00
Simon Giraudot 30c352f025 Bugfix: OFF reader should accept comments and empty lines 2015-11-25 09:18:15 +01:00
Simon Giraudot 1f4191bbc7 Remove debugging code portion 2015-11-13 14:28:31 +01:00
Simon Giraudot 4602910059 Bugfix: wrong indices in loop 2015-11-13 14:02:47 +01:00
Simon Giraudot 6a0ee7e673 Method to get detailed output 2015-11-13 12:36:27 +01:00
Simon Giraudot 38b6c428f3 Simplified API + function to get output points 2015-11-13 11:11:39 +01:00
Simon Giraudot a7d7efbb22 Plane resampling 2015-11-13 10:50:04 +01:00
Simon Giraudot 8b8f97217b Merging corners 2015-11-13 10:02:14 +01:00
Simon Giraudot 06814e1a8a Corner computation 2015-11-13 09:13:10 +01:00
Simon Giraudot dcf06b4a13 Creation of edge points and anchor points 2015-11-12 14:58:43 +01:00
Simon Giraudot b1d9d6b611 Computing edges 2015-11-12 10:48:05 +01:00
Simon Giraudot ee247e6f90 Bugfix: inserting *it and not *begin in loop 2015-11-12 09:51:39 +01:00
Simon Giraudot cc934e45bb WIP: finding pairs of adjacent primitives 2015-11-10 15:43:32 +01:00
Simon Giraudot 6b0cccad0b File for point set structuring + general structure 2015-11-10 10:49:47 +01:00
Simon Giraudot 99d4fc84bd Merge branch 'Point_set_processing_3-IO_ply-GF-old' into Point_set_processing_3-IO_ply-GF 2015-10-15 14:27:57 +02:00
Laurent Rineau 18cac48bae Merge pull request #367 from sgiraudot/Point_set_processing-hierarchical_clustering-sgiraudot
New point set processing algorithm: Hierarchical clustering
2015-10-14 10:54:37 +02:00
Clement Jamin 145131e2e6 Use Real_timer in PSP3 and T3 since the algorithms might be parallel 2015-10-08 15:34:40 +02:00
Simon Giraudot 09d2c9e5a4 Revert removal of hack to handle char properly (std::stream treats boost::int8_t as char) 2015-10-08 10:18:16 +02:00
Simon Giraudot 39eef61847 Add headers 2015-10-08 10:08:39 +02:00
Simon Giraudot f614ce4ea1 Remove useless includes 2015-10-08 10:08:20 +02:00
Simon Giraudot 833982a32f Use boost fixed-width integer types for portability (and remove hack for reading ASCII 'char') 2015-10-08 09:52:45 +02:00
Simon Giraudot eb430e2397 Harmonize template indentation and remove outdated header 2015-10-08 09:24:35 +02:00
Simon Giraudot 79ca962159 Merge branch 'Point_set_processing_3-IO_ply-GF-old' into Point_set_processing_3-IO_ply-GF 2015-10-08 08:48:39 +02:00
Simon Giraudot 512273ae5f Update doc and tests 2015-10-08 08:47:14 +02:00
Simon Giraudot 0916c32ded Fix numeric_limits::max bug (conflict with other max) 2015-10-08 07:59:56 +02:00
Simon Giraudot b35e34238a Bugfix: if 2 input points are equal, avoid infinite loop and terminate non-empty cluster 2015-10-07 16:00:54 +02:00
Simon Giraudot a068249ac5 Minor code cleaning/rewriting 2015-10-07 16:00:53 +02:00
Simon Giraudot e6054bfdeb Rename function and files in accordance to content 2015-10-07 16:00:53 +02:00
Simon Giraudot 20698d4dde Make the algorithm a simplification algorithm instead of a clustering one 2015-10-07 16:00:53 +02:00
Simon Giraudot 28cf05f189 Remove duplicate code (use PCA_util.h to assemble covariance matrix) 2015-10-07 16:00:52 +02:00
Simon Giraudot 648c19b6f6 Remove unused typedef warning 2015-10-07 16:00:52 +02:00
Simon Giraudot b16f7605d6 Enhancement: keep current cluster an only build one side instead of two 2015-10-07 16:00:52 +02:00
Simon Giraudot cf9b7230d8 Algorithm is faster if the plane is not constructed 2015-10-07 16:00:52 +02:00
Simon Giraudot 5df527d2f0 Correct preconditions 2015-10-07 16:00:52 +02:00
Simon Giraudot bf8d876d6d More on user manual and reference manual 2015-10-07 16:00:51 +02:00
Simon Giraudot e6c757f463 Begin working on reference manual 2015-10-07 16:00:51 +02:00
Simon Giraudot 14567ae261 Add variant with default diagonalize traits 2015-10-07 16:00:51 +02:00
Simon Giraudot fea22733ee Speed up using list instead of queue (avoid multiple copies) + bugfix 2015-10-07 16:00:51 +02:00
Simon Giraudot 5ab793531c Bugfix: if one of the two sides is empty, only treat the non-empty side 2015-10-07 16:00:51 +02:00
Simon Giraudot ed2d3167e2 Stack is faster than queue in this case 2015-10-07 16:00:51 +02:00
Simon Giraudot 7babff9f05 Optimizations (using splice for lists and reference for queue.front()) 2015-10-07 16:00:51 +02:00
Simon Giraudot eb7266a42d Cleaning/reorganizing code, use diagonalize_traits and add variants with default parameters and template deduction 2015-10-07 16:00:50 +02:00
Simon Giraudot e8dd34cb21 Implemented the efficient computation of the second centroid.
The hierarchical clustering algorithm gets about 15% faster
(on test Eglise Fontaine, from 91s to 76s).
2015-10-07 16:00:50 +02:00
Simon Giraudot ee1e7ee714 Added the alternative implementation of hierarchical clustering using
the Eigen library.

For now, both implementations are available (switchable with a
2015-10-07 16:00:50 +02:00
Pierre Alliez 00fad8756a Add comments in hierarchical clustering and fix indentations 2015-10-07 16:00:50 +02:00
Simon Giraudot b87d1bbc3e Very first version of the hierarchical clustering added (work in
progress).

It contains somes functions that may be more relevant in some other
package :
* 2 functions to compute the covariance matrix of a 3D point set
* 2 functions to split a point set according to a plane

Also the function of the actual hierachical clustering algorithm.
2015-10-07 16:00:50 +02:00
Sebastien Loriot 62644a62aa Merge pull request #318 from sgiraudot/CGAL-Solver-package-GF
Regroup solver interface in Solver_package
2015-10-07 15:54:48 +02:00
Simon Giraudot 30323c816a Write PLY headers 2015-10-07 15:34:08 +02:00
Simon Giraudot 1e068b0844 Skeleton of write_ply_points.h file 2015-10-07 15:12:19 +02:00
Simon Giraudot 0004aed5bc Bug fix: explicitly ask an integer when reading char/uchar from stream 2015-10-07 15:06:08 +02:00
Simon Giraudot a8bea5e6d9 Handle detailed types (e.g. int16 instead of short) 2015-10-07 14:19:26 +02:00
Simon Giraudot f732c100c3 Fix warnings and use union instead of reinterpret_cast 2015-10-07 14:08:03 +02:00
Simon Giraudot c2e38b72a6 Merge branch 'Point_set_processing_3-IO_ply-GF-old' into Point_set_processing_3-IO_ply-GF 2015-10-07 13:52:06 +02:00
Simon Giraudot fddcb24197 Polyhedron demo ply_to_xyz reader 2015-10-07 13:50:57 +02:00
Simon Giraudot 850f28ed07 Ply reader for point sets 2015-10-07 12:10:29 +02:00
Simon Giraudot 867a731d48 WIP: processing PLY header 2015-10-06 15:36:35 +02:00
Simon Giraudot ac3dbad721 Skeleton of new read_ply_points.h file 2015-10-06 15:01:50 +02:00