Commit Graph

60394 Commits

Author SHA1 Message Date
Sven Oesau d73676eb8f renamed several variables to follow CGAL standard
changed main loop: after search probability for min_points is surpassed, no more candidates are generated and the remaining ones are searched. Duplicate candidates are filtered.

added Shape_base::is_same(): compares to shapes by testing distance and normal deviation from random points from other shape
2015-07-08 18:55:52 +02:00
Sven Oesau f550b731ce changed Shape_base::squared_distance to const 2015-07-08 18:38:09 +02:00
Clement Jamin 385b5ee6ac Fix warnings + CGAL_M_PI => CGAL_PI 2015-07-07 16:54:27 +02:00
Andreas Fabri 0401e17fc0 move to place holder 2015-07-07 16:46:32 +02:00
Clement Jamin 3b8c24a4df Added the package 2015-07-07 12:06:46 +02:00
Clement Jamin 61eb5e7640 Fix PI macros 2015-07-07 12:06:45 +02:00
Sven Oesau 8db1f99353 bugfix 2015-07-07 12:06:45 +02:00
Sven Oesau 44a01d3b4c removed cross filtering kernel 2015-07-07 12:06:45 +02:00
Sven Oesau 81033fd37d added connected component for cones
2 case handling:
flat cones (opening angle > PI/4) are mapped onto circles
acute cones are mapped onto rectangular parameter space
2015-07-07 12:06:45 +02:00
Sven Oesau b58bc98206 added cross kernel for connected component labeling 2015-07-07 12:06:45 +02:00
Sven Oesau e2d60afdee unit tests for connected component now use the number of input points after filtering for parametrization 2015-07-07 12:06:45 +02:00
Sven Oesau fbdfc61922 corrected the default value of the min_points parameter as specified in documentation (1% of input points), but not less than 10 points 2015-07-07 12:06:44 +02:00
Sven Oesau 4e51eee527 adjusted parameters for sphere connected component unit test 2015-07-07 12:06:44 +02:00
Sven Oesau 8949009469 moved pi defines to Shape_base 2015-07-07 12:06:44 +02:00
Sven Oesau a2dc47ca3e fixed warning 2015-07-07 12:06:44 +02:00
Sven Oesau 73e28e6798 some bugfixes 2015-07-07 12:06:44 +02:00
Sven Oesau c1669667d3 added connected component for Sphere
removed few warnings
2015-07-07 12:06:44 +02:00
Sven Oesau 3300eb746b changed connected component (more flexible for other shape types) 2015-07-07 12:06:43 +02:00
Clement Jamin 41e7ee2093 Add our plugin to the list 2015-06-30 16:58:21 +02:00
Clement Jamin 3fac8e761a Merge branch 'Point_set_shape_detection_3-cjamin-old' into Point_set_shape_detection_3-cjamin 2015-06-30 10:36:11 +02:00
Clement Jamin 487b540f34 Fix warning 2015-06-29 20:36:04 +02:00
Sven Oesau 272b29209e Fixed deadlock in test_cone_parameters by increasing point density 2015-06-29 15:49:42 +02:00
Sven Oesau dc3eb93332 avoiding crash if Efficient_RANSAC instance is released after releasing the input data range 2015-06-29 15:46:51 +02:00
Sven Oesau ab7a764f53 Revert "changed connected component"
This reverts commit f525f447b2bd1aa2f004d2be0705c7749eef235b.
2015-06-29 15:40:54 +02:00
Sven Oesau 365d114ac0 changed connected component
removed wraps_u_wraps_v
adapted plane and cylinder
2015-06-29 11:13:22 +02:00
Sven Oesau d9ab3eec09 prevent spheres to be detected as tori (decision based on chosen epsilon) 2015-06-29 10:47:07 +02:00
Sven Oesau 0365e18bc9 small simplification of subset random number generation 2015-06-29 10:01:30 +02:00
Laurent Rineau 76cf7e789f Merge remote-tracking branch 'cgal/releases/CGAL-4.6-branch'
- Merge pull request #140 from
  lrineau/Mesh_3-demo_fix_QGLViewer-2.6.0-lrineau

  Fix for libQGLViewer>=2.6.0

Conflicts:
	Installation/changes.html
2015-06-28 18:25:04 +02:00
Laurent Rineau 24b0b1ec50 Merge pull request #136 from akobel/CreateCMakeLists_extensions-akobel
make `cgal_create_CMakeLists` recognize all common C++ source file extensions
2015-06-28 18:21:06 +02:00
Laurent Rineau 81eda79252 Merge pull request #140 from lrineau/Mesh_3-demo_fix_QGLViewer-2.6.0-lrineau
Fix for libQGLViewer>=2.6.0
2015-06-28 18:20:50 +02:00
Laurent Rineau 9c37e3f1e8 Merge pull request #134 from bo0ts/Installation-fix-debugsymbol-removal-pmoeller
Do not check for the actual CMAKE_BUILD_TYPE
2015-06-28 18:20:39 +02:00
Sven Oesau d8a830183a fixed warning and added a check to the average distance of assigned points 2015-06-27 10:44:34 +02:00
Laurent Rineau 39584e30e4 updated crontab (automated commit) 2015-06-26 23:20:49 +02:00
Clement Jamin a1b916c578 Fix warning: unused types 2015-06-26 19:20:58 +02:00
Clement Jamin ad91ed562f Fix a warning 2015-06-26 19:20:31 +02:00
Laurent Rineau ad01608c2c Fix for libQGLViewer>=2.6.0
Fix #138
2015-06-26 18:04:25 +02:00
Sven Oesau 9c69a5f0d4 added data/cube.pwn 2015-06-26 15:44:09 +02:00
Sven Oesau 8ce8ebaff2 fixed memory leak 2015-06-26 14:50:57 +02:00
Sven Oesau 9513f2ecc3 downsampled example data set
moved data set to data folder
2015-06-26 14:49:48 +02:00
Sven Oesau 3d4feb925a removed benchmark 2015-06-26 14:48:10 +02:00
Alexander Kobel 8ae9c144a8 make cgal_create_CMakeLists and its brethren recognize all common C++ source file extensions
Rationale: cgal_create_CMakeLists and related scripts used to not
consider files ending on anything else than .cpp or .C as C++ sources.
This patch allows for the list of extensions considered as C++ source
files as stated in the g++ man page.
2015-06-25 15:55:55 +02:00
Laurent Rineau b4875fc99a changes for CGAL-4.6.1 2015-06-25 14:58:30 +02:00
Laurent Rineau 708c135703 updated crontab (automated commit) 2015-06-25 14:33:19 +02:00
Laurent Rineau d4b4e1720b Merge branch 'releases/CGAL-4.6-branch'
This merge imports the following merge commits:
- Merge pull request #132 from lrineau/Installation-fix_configure_component-pmoeller_rebased_4.6
- Merge pull request #126 from afabri/Triangulation_2-fix_plus_2-GF
- Merge pull request #125 from lrineau/Mesh_3-fix_with_gcc44_cpp11-lrineau
2015-06-25 11:28:30 +02:00
Laurent Rineau 71ab8ea9aa Merge pull request #132 from lrineau/Installation-fix_configure_component-pmoeller_rebased_4.6
Use `get_filename_component` to manipulate paths

This caused a bug in CMake>=3.3.0 when `file(GLOB)` is not adding multiple
slashes. The lack of trailing slashes is guaranteed and documented in
`get_filename_component`.
2015-06-24 16:35:07 +02:00
Philipp Möller f0082c20f4 To not check for the actual CMAKE_BUILD_TYPE
If CMAKE_BUILD_TYPE is not set in the initial run, is only
defined *after* this code is run. Since the build type is cached this
seemed to work when a cmake cache was already present, but not without.
2015-06-24 11:39:47 +02:00
Laurent Rineau 5f8116e075 Precision avec SFINAE, access control, and C++11 2015-06-23 19:30:24 +02:00
Clement Jamin 43a4a00964 Fix warnings 2015-06-23 17:58:30 +02:00
Clement Jamin fc7a9f4163 Replaced C++11 mt19937 by CGAL::Random 2015-06-23 17:56:22 +02:00
Laurent Rineau 06a17381a6 Fix the use of get_filename_component
For CMake<=2.8.11, the option DIRECTORY must be renamed to PATH, the
legacy name of the option.
2015-06-23 11:22:01 +02:00