Commit Graph

377 Commits

Author SHA1 Message Date
Jane Tournois 20b069852d ifstream should have binary mode 2017-07-11 11:58:52 +02:00
Simon Giraudot d4f6db6234 Fix typo in example comments 2017-07-11 11:58:51 +02:00
Simon Giraudot 7377073ab6 Fix wrong namespace in example (std -> CGAL) 2017-07-11 11:58:51 +02:00
Simon Giraudot 432a4fdd71 Update example with change of API 2017-07-11 11:58:50 +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 f4fea04a4d Add definition CGAL_LINKED_WITH_LASLIB 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 20b8baabbe Update examples 2017-07-11 11:58:48 +02:00
Simon Giraudot 7686ad5280 Update example for LAS reader 2017-07-11 11:58:48 +02:00
Simon Giraudot 0bb283cbbd Add new example for PLY reading 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 a79d7be088 New example for LAS reader 2017-07-11 11:58:47 +02:00
Simon Giraudot 40e901fa4b Update example with new API of PLY reader 2017-07-11 11:58:47 +02:00
Laurent Rineau 5334088336 Merge pull request #1811 from sloriot/Property_map-std_tuple_support
make Nth_of_tuple_property_map compatible with std::tuple
2017-01-12 11:12:24 +01:00
Andreas Fabri 4e7201dcfe Suppress warning in PSP/example CMakeLists.txt 2017-01-11 17:44:14 +01:00
Sébastien Loriot 1a6973c48e make Nth_of_tuple_property_map compatible with std::tuple 2017-01-10 10:37:18 +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 d423e5e6f8 Fix warning with explicit casts 2016-12-29 09:28:36 +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
Simon Giraudot fad329db29 Update example with API 2016-10-31 09:00:26 +01: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 f684295bde Update remove_outlier example with change of API 2016-10-28 11:19:29 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Simon Giraudot 307a64d45a Separate 2D and 3D examples and improve these examples 2016-08-18 14:53:45 +02:00
Simon Giraudot ba1812642b Update example 2016-08-10 16:12:36 +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
Sébastien Loriot 7f3772a50b replace the usage of raw pointer as property map
It was deprecated in boost 1.55
http://www.boost.org/users/history/version_1_55_0.html
2016-07-13 13:53:00 +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 fe94837cb3 Update examples with change of name and API of structuring class 2016-04-12 17:31:22 +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 83290fda5d Corrections of documentation (based on small feature review) 2016-04-11 17:24:33 +02:00
Simon Giraudot e922a1c858 Complete test on property existence (testing type in addition of tag) 2016-04-06 08:37:50 +02:00
Simon Giraudot acf69d320c Minor corrections and improvements on example 2016-03-22 14:36:22 +01:00
Simon Giraudot 6461315e67 Add mechanism to recover points with adjacency information 2016-03-21 15:36:59 +01:00
Sébastien Loriot 881e4d3199 request Core only in examples, tests and demos when really needed 2016-03-07 22:36:57 +01:00
Simon Giraudot 7e77304239 Simplify API of PlyInterpreter introducing a Ply_reader class 2016-02-02 18:38:29 +01:00
Simon Giraudot 9362ca342c Fix warning: uninitialized variable 2016-01-29 07:14:23 +01:00
Simon Giraudot 1068067ea1 Update example with simpler interpreter API 2016-01-20 12:14:22 +01:00
Andreas Fabri 97134babbf remove/add #includes 2016-01-20 10:19:08 +01:00
Simon Giraudot 510e10fce3 Comments on the new example 2016-01-14 12:04:15 +01:00
Simon Giraudot db918de302 Add new example to read PLY file with colors 2016-01-14 11:58:55 +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
Andreas Fabri d497120e5f clean Point_set_processing 2016-01-05 17:17:10 +01:00
Simon Giraudot 3825c8cb41 Add missing examples to custom cgal_test_with_cmake 2016-01-05 10:38:08 +01:00
Simon Giraudot 0314c084ee Correct parameters selection 2015-12-02 10:48:24 +01:00
Simon Giraudot 0a182eeb79 Point set structuring example 2015-12-01 15:45:12 +01:00
Simon Giraudot 38b6c428f3 Simplified API + function to get output points 2015-11-13 11:11:39 +01:00
Simon Giraudot b1d9d6b611 Computing edges 2015-11-12 10:48:05 +01:00
Simon Giraudot baa54120a4 Add data for the new example 2015-11-10 15:21:42 +01:00
Simon Giraudot 61192d7b9d Point set structuring example 2015-11-10 10:50:08 +01:00
Simon Giraudot e028ff8955 Update doc and example 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 c965754d00 Update example of hierarchical clustering 2015-10-07 16:00:52 +02:00
Simon Giraudot 0841e423a2 Add example for hierarchical clustering 2015-10-07 16:00:51 +02:00
Simon Giraudot b840307161 Generate compile-time error if Parallel_tag is used without TBB 2015-09-08 15:31:28 +02:00
Simon Giraudot 95682d11e0 Update PSP examples with concurrency template 2015-09-08 10:44:36 +02:00
Sébastien Loriot 50595505c4 Merge branch 'Fix_warnings-GF'
Fixes warnings in various packages

Successfully tested in CGAL-4.7-Ic-87
Approved by the release Manager
2015-07-17 14:21:21 +02:00
Sébastien Loriot d26e112cf4 fix warnings 2015-07-15 16:57:38 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Sébastien Loriot c2cd87865e Merge branch 'old/gsoc2014-VCM_3-jmeyron' into gsoc2014-VCM_3-jmeyron
Conflicts:
	Installation/changes.html
	Point_set_processing_3/doc/Point_set_processing_3/PackageDescription.txt
	Point_set_processing_3/doc/Point_set_processing_3/Point_set_processing_3.txt
	Point_set_processing_3/doc/Point_set_processing_3/examples.txt
	Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt
	Polyhedron/demo/Polyhedron/CMakeLists.txt
2015-06-04 11:27:56 +02:00
Sébastien Loriot a214819b8b write points on feature in a file 2015-06-02 09:40:07 +02:00
Andreas Fabri fcfd9a7fa1 Add the example in the user manual, examples/, and examples.txt 2015-05-11 20:53:51 +02:00
Andreas Fabri 754795d560 remove example that revealed the problem 2015-05-11 20:44:50 +02:00
Andreas Fabri b8d9925cbc remove target that does not exist 2015-04-30 10:24:53 +02:00
Andreas Fabri 688e16b26a Add an example that works with built-in array as property map; Add using ::get 2015-04-24 08:55:38 +02:00
Sébastien Loriot 27a3531bd6 rename is_on_edge 2015-04-20 18:31:12 +02:00
Sébastien Loriot 8bc716abf6 directly use CGAL::cpp11::array rather than a custom class 2015-04-20 18:11:25 +02:00
Sébastien Loriot e553310940 update of is_edge and vcm_estimate_normals 2015-04-20 17:40:08 +02:00
Sébastien Loriot f3d774e005 document the function to know whether a point is on a sharp feature
and hide the function trying to reconstruct edges
2015-04-20 17:05:42 +02:00
Shihao Wu ad20bfab93 CGAL::Bbox_3 might behave differently in Debug/Release mode. 2015-02-19 15:41:37 +02:00
Shihao Wu 6fc6e1ef42 Used another way to prevent the neighbor_size from being set too small in EAR.
If the value given by user is smaller than the default value,
the function will use the default value instead.
2015-02-19 15:07:09 +02:00
Sébastien Loriot c3c749ef0b Merge branch 'Point_set_processing-IO-GF'
improve doc and IO in examples

  Tested in CGAL-4.6-Ic-126
  Approved by the release manager

Conflicts:
	Point_set_processing_3/examples/Point_set_processing_3/wlop_simplify_and_regularize_point_set_example.cpp
2015-02-16 10:42:27 +01:00
Sébastien Loriot 66c8fe04de revert part of ef6488a7 that was supposed to be only a typo fix
|---------------------------------------------------
  |commit ef6488a7c6
  |Author: Andreas Fabri <andreas.fabri@geometryfactory.com>
  |Date:   Thu Feb 5 09:40:06 2015 +0100
  |
  |  fix typo
  |
  |  Approved by the release manager (SL interim)
  |--------------------------------------------------
2015-02-11 09:29:14 +01:00
Andreas Fabri 1e99228829 improve wording concerning value_type 2015-02-05 14:53:01 +01:00
Andreas Fabri f1bd6f1627 All examples now read from argv if argc!= 1 2015-02-05 14:29:20 +01:00
Andreas Fabri ef6488a7c6 fix typo
Approved by the release manager (SL interim)
2015-02-05 09:40:06 +01:00
Clement Jamin ecda2555ab Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu-old' into gsoc2013-Point_set_processing_3-point_set_consolidation-swu 2015-01-09 15:55:40 +01:00
Clement Jamin fe47edc68a Faster example 2015-01-09 15:51:09 +01:00
Clement Jamin c853129ac8 Reduce the number of points (the execution is too long for the testsuite) 2015-01-08 17:52:18 +01:00
Sébastien Loriot 652be47d1f remove conditional compilation that is no longer needed 2015-01-07 15:50:36 +01:00
Clement Jamin 7be3c2cbd2 Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu-old' into gsoc2013-Point_set_processing_3-point_set_consolidation-swu 2015-01-06 18:34:43 +01:00
Shihao Wu 1280fb4c67 Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-point_set_consolidation-swu 2014-12-19 21:13:08 +08:00
Clement Jamin b85087260f Add the new examples in the custom cgal_test_with_cmake file 2014-12-19 13:29:29 +01:00
Shihao Wu 495c2e5af7 For WLOP, removed the saint data, selected better parameters. 2014-12-19 19:12:08 +08:00
Shihao Wu e6b640528a use sphere_20k for WLOP's example 2014-12-19 18:29:56 +08:00
Shihao Wu d2af2f3677 Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-point_set_consolidation-swu 2014-12-19 18:26:24 +08:00
Shihao Wu 978f9602e3 use sphere_20k for example for WLOP 2014-12-19 18:26:06 +08:00
Clement Jamin 785f2fda7e Concurrency should be OFF by default 2014-12-17 14:46:36 +01:00
Sébastien Loriot 9bc80b47f2 reduce the number of points to add to speed up the runtime 2014-12-16 10:57:00 +01:00
Clement Jamin 766db429aa Added the ability to activate concurrency through environment variable 2014-12-15 11:03:02 +01:00
Clement Jamin c91979f236 Remove non-portable code 2014-12-15 09:57:28 +01:00
Shihao Wu b5e7de47c8 Change the radius estimation method in WLOP, in order to get good result for the sphere input. 2014-12-14 19:56:59 +08:00
Clement Jamin 170016ffaf Replace the saint_jean example by the sphere 2014-12-14 12:25:19 +01:00
Sébastien Loriot 8596cc316d update filename 2014-12-12 12:05:54 +01:00
Sébastien Loriot 6fc84fb659 remove warnings 2014-12-12 11:53:25 +01:00
Shihao Wu c6d5186493 cleaned up the code and tested three new examples. 2014-12-11 23:00:22 +08:00
Shihao Wu 210fe526b8 addressed Quentin's comments 2014-11-10 02:46:20 +08:00
Sébastien Loriot e5b72ac5b3 Merge branch 'old/gsoc2014-VCM_3-jmeyron' into gsoc2014-VCM_3-jmeyron
Conflicts:
	Arrangement_on_surface_2/examples/Arrangement_on_surface_2/bgl_primal_adapter.cpp
	BGL/examples/BGL_arrangement_2/primal.cpp
	BGL/include/CGAL/boost/graph/dijkstra_shortest_paths.hpp
	Installation/changes.html
	Point_set_processing_3/examples/Point_set_processing_3/CMakeLists.txt
2014-11-05 16:11:35 +01:00
Shihao Wu 9347ece127 simplified wlop example 2014-11-05 19:01:31 +08:00
Shihao Wu c5f3ba1f47 EPIC are replaced with Simple_cartesian. 2014-09-22 04:21:38 +08:00
Jocelyn MEYRON af3fd69dd1 divide the vcm_estimate_edges into a vcm_compute and construct_mst 2014-09-15 15:10:50 +02:00
Jocelyn MEYRON 663e41741b doc for vcm normals and feature edges estimation 2014-08-14 17:35:25 +02:00
Clement Jamin 7efbf6ca36 Use lowercase for const filename variables 2014-07-24 16:51:22 +02:00
Sébastien Loriot bc8e1f399d workaround a bug in dijsktra algorithm in boost 1.54 affecting normal estimation 2014-07-19 12:20:29 +02:00
Sébastien Loriot 6ed1ba826e Merge branch 'to-be-tested/Stop_testing_taucs-sloriot'
Taucs, Lapack and Blas supports are no longer tested

Approved by the Release Manager
Tested in CGAL-4.5-Ic-97

Conflicts:
	Polyhedron/demo/Polyhedron/CMakeLists.txt
2014-07-16 20:19:21 +02:00
Jocelyn MEYRON e6b4c7664a VCM normal estimation plugin 2014-07-15 14:53:51 +02:00
Laurent Rineau 84fcae4788 Workaround the incompatibility with Boost 1.54 2014-07-11 12:04:42 +02:00
Jocelyn MEYRON a46ebb1d94 begin working on edges detection + refactoring normal estimation 2014-07-09 17:28:22 +02:00
Jocelyn MEYRON c0c481571c Corrections on the documentation + add test if origin inside the
polyhedron during in halfspaces_intersection
2014-07-04 18:14:11 +02:00
Jocelyn MEYRON f26c973028 Add VCM normal estimation to the Point_set_processing_3 normal
estimation demo

Doc and tests must be made now
2014-07-02 10:23:37 +02:00
Sébastien Loriot aeb094e4cc more Taucs removal 2014-06-25 15:58:37 +02:00
Shihao Wu 3c7637d3a0 Double check and did more refinement for the 1st round review of three new functions. 2014-06-21 22:19:00 +08:00
Shihao Wu 07686efadd Added OUTPUT_FILENAME.c_str().
Added (Please cite the paper if you use this function).
2014-06-21 21:31:10 +08:00
Shihao Wu b8c47eac1a Refined the documentation. 2014-06-21 21:06:21 +08:00
Shihao Wu 3340ce305b Updated documentations according to Qmerigot's review about reference manual 2014-06-21 18:14:22 +08:00
Shihao Wu 7118ac8fe1 Updated documentations according to Qmerigot's review about user manual 2014-06-21 17:29:26 +08:00
Shihao Wu bc3674eef4 refined the doc of WLOP 2014-06-12 18:34:37 +08:00
Shihao Wu 860b476ac2 sharp_sigma -> sharp_angle 2014-06-09 18:35:39 +08:00
Shihao Wu d778282040 'compute density' -> 'require_uniform_sampling' 2014-06-09 16:37:56 +08:00
Shihao Wu 0aa78d6202 added INPUT_FILENAME 2014-06-09 15:26:33 +08:00
Shihao Wu 564d23607b "need_compute_density" -> "compute_density" 2014-06-09 15:13:45 +08:00
Shihao Wu dd422d09ab removed "#include <CGAL/tags.h>
#include <CGAL/Simple_cartesian.h>"
2014-06-09 15:04:32 +08:00
Shihao Wu 08cd36bcdb retained to the submission state.. 2014-03-27 18:28:49 +08:00
Shihao Wu b1c0196fc6 changed the performance figure
note: this version can test the parallel performance
2014-03-27 18:23:27 +08:00
Shihao Wu 16768cbb10 updated the parallel_WLOP_performance chart 2014-03-27 10:55:15 +08:00
Shihao Wu be4b8e817c Fixed a bug about need_compute_density, and changed its description in doc.
Note: When "need_compute_density = false", it won't compute density weights for original points.
      however, it still compute density weights for sample points.
2014-03-26 14:55:21 +08:00
Shihao Wu cc6cdf5a1a replace "way 1" and "way 2" as "with default parameters" and "with all parameters" respectively. 2014-03-26 10:11:33 +08:00
Pierre Alliez 8fcdcef4a4 few changes in doc
one comment in WLOP example
2014-03-25 13:06:00 +01:00
Shihao Wu c1671dd9e6 minor changes, removed some redundancy words 2014-03-19 11:02:31 +08:00
Shihao Wu 05911d932f added 2 PointPMap: PointPMapIn and PointPMapOut 2014-03-19 10:15:07 +08:00
Shihao Wu 3bace9f01e *remove unused codes for sample points 2014-03-17 15:47:41 +08:00
Shihao Wu 108b3ba790 * remove the timers and memory sizers from examples 2014-03-17 15:38:22 +08:00
Shihao Wu 866452aa14 * remove 'system("pause")' 2014-03-17 15:21:50 +08:00
Shihao Wu 575c3521f9 * restore grid_simplification_example.cpp to its original state. 2014-03-17 15:13:07 +08:00
Clement Jamin 143b6a6419 Merge branch 'gsoc2013-Point_set_processing_3-point_set_consolidation-swu-old' into gsoc2013-Point_set_processing_3-point_set_consolidation-swu
Conflicts:
	Point_set_processing_3/test/Point_set_processing_3/CMakeLists.txt
2014-02-27 13:57:34 +01:00
Shihao Wu 3d8e34e606 tiny modification 2014-02-24 18:31:58 +08:00
Shihao Wu 99220af199 confirmed wlop_simplify_and_regularize_point_set_example 2014-02-24 17:36:00 +08:00
Shihao Wu 7555d1ba9a confirmed edge_aware_upsampl_point_set_example 2014-02-24 17:03:28 +08:00
Shihao Wu 91e0fbf60c confirm the bilateral_smooth_point_set_example 2014-02-24 16:43:20 +08:00
Shihao Wu 3b520c1405 set need_compute_density default to 'false'.
However, we still compute sample densities inside the function.
2013-09-25 10:04:48 +08:00
Shihao Wu 1f5c21ec14 a small bug 2013-09-25 00:24:42 +08:00
Shihao Wu 0a0d49b535 abandoned compute orignal density weights to save time 2013-09-25 00:17:21 +08:00
Shihao Wu 2e70b4fa97 minor change, but found the code slower 2013-09-24 22:51:20 +08:00
Shihao Wu 32f3ebcf6a change way of call AABB-wlop 2013-09-24 14:27:17 +08:00
Shihao Wu f89b18a7a7 code-cleanups 2013-09-24 13:36:36 +08:00