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
0841e423a2
Add example for hierarchical clustering
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
93c52c605c
New test for ply reader
2015-10-07 13:50:41 +02:00
Simon Giraudot
5c12ec1e4e
Add new ply test (ascii format)
2015-10-07 12:40:46 +02:00
Simon Giraudot
850f28ed07
Ply reader for point sets
2015-10-07 12:10:29 +02:00
Simon Giraudot
442db8be13
Fix OFF magic number
2015-10-07 10:57:07 +02:00
Simon Giraudot
867a731d48
WIP: processing PLY header
2015-10-06 15:36:35 +02:00
Simon Giraudot
6b4da62cab
Update read_test with new ply function
2015-10-06 15:16:16 +02:00
Simon Giraudot
ac3dbad721
Skeleton of new read_ply_points.h file
2015-10-06 15:01:50 +02:00
Simon Giraudot
ac591cf257
Merge branch 'Point_set_processing_3-TBB-GF-old' into Point_set_processing_3-TBB-GF
2015-09-29 13:50:17 +02:00
Simon Giraudot
692a8686ca
Fix warning (implicit conversion double to std::size_t)
2015-09-29 13:46:37 +02:00
Sébastien Loriot
da650cbd1c
Merge branch 'old/CGAL-Solver-packages-GF' into CGAL-Solver-package-GF
2015-09-26 15:47:54 +02:00
Simon Giraudot
13e4a76cd8
Merge branch 'Point_set_processing_3-TBB-GF-old' into Point_set_processing_3-TBB-GF
2015-09-24 12:45:58 +02:00
Simon Giraudot
36723443a4
Merge branch 'CGAL-Solver-package-GF-old' into CGAL-Solver-package-GF
2015-09-23 10:29:14 +02:00
Sébastien Loriot
cdfc7f1c31
Merge branch 'old/CGAL-split_packages-GF' into CGAL-split_packages-GF
2015-09-23 10:08:41 +02:00
Sébastien Loriot
b970fc80ef
Merge branch 'old/Surface_reconstruction_points_3-Change_package_name-GF' into Surface_reconstruction_points_3-Change_package_name-GF
2015-09-22 09:54:18 +02:00
Sébastien Loriot
68aa21292a
Merge branch 'old/CGAL-Solver-packages-GF' into CGAL-Solver-package-GF
2015-09-21 07:34:18 +02:00
Simon Giraudot
a4f242a0cc
Replace Internal_diagonalize_traits by Diagonalize_traits + corrections in Concepts/Models
2015-09-16 11:41:26 +02:00
Andreas Fabri
58b7dc7319
fix typo
2015-09-16 09:29:09 +02:00
Andreas Fabri
23740f5921
add a dependency
2015-09-16 09:25:02 +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
2c6e6e5e57
Update Reference Manual with additional template parameter
2015-09-08 12:38:34 +02:00
Simon Giraudot
935956a10f
Merge branch 'Point_set_processing_3-TBB-GF-old' into Point_set_processing_3-TBB-GF
2015-09-08 11:11:07 +02:00
Simon Giraudot
95682d11e0
Update PSP examples with concurrency template
2015-09-08 10:44:36 +02:00
Simon Giraudot
0afe0249f9
Bugfix: badly placed #ifdef caused bug if TBB was not used
2015-09-08 10:42:47 +02:00
Simon Giraudot
63f77a05a5
Merge branch 'CGAL-Solver-package-GF-old' into CGAL-Solver-package-GF
2015-09-07 10:01:12 +02:00
Simon Giraudot
d9d94f082e
Update files with new package name (Poisson_surface_reconstruction_3)
2015-09-04 18:18:52 +02:00
Simon Giraudot
136de97318
Bugfix: DiagonalizeTraits now really returns largest eigenvalue + inversion of parameters in voronoi_covariance is corrected.
2015-09-04 16:01:46 +02:00
Simon Giraudot
dd271ecca5
Revert "Bugfix: function extract_largest_(...) is now called extract_smallest_(...) to be consistent with what is actually extracted."
...
This reverts commit 8410aab93c .
2015-09-04 15:13:57 +02:00
Simon Giraudot
8410aab93c
Bugfix: function extract_largest_(...) is now called extract_smallest_(...) to be consistent with what is actually extracted.
2015-09-03 18:55:19 +02:00
Laurent Rineau
9bae0c0e63
Merge pull request #270 from sgiraudot/Polyhedron_demo-WLOP_plugin-sgiraudot
...
Polyhedron demo point set processing plugins
2015-09-03 17:22:54 +02:00
Simon Giraudot
26aab5fc5c
Use default diagonalization interface for VCM functions
2015-09-03 14:36:47 +02:00
Simon Giraudot
8f98d9dc0a
Fixed indentation issues
2015-08-31 10:09:54 +02:00
Simon Giraudot
28e5432c16
Renaming 'VCM' to 'diagonalize'
2015-08-31 08:30:01 +02:00
Sébastien Loriot
aed4e8b2fc
fix doc typos
2015-08-28 15:36:29 +02:00
Simon Giraudot
bd7ea48403
Propagating API change to Point_set_processing package (vcm_estimate_*)
2015-08-26 14:01:47 +02:00
Simon Giraudot
146378dd38
Fix compilation errors if TBB is missing (missing #ifdef in the files)
2015-08-24 10:22:54 +02:00
Simon Giraudot
9dccbee9ed
Move VCMtraits to Solver package
2015-08-21 09:36:59 +02:00
Simon Giraudot
abf9063561
Move Eigen_vcm_traits.h to Solver package
2015-08-20 16:43:58 +02:00
Simon Giraudot
af8e73750c
Merge branch 'CGAL-Solver-package-GF-old' into CGAL-Solver-package-GF
2015-08-20 11:51:34 +02:00
Simon Giraudot
05e0965655
Fix warnings of possible loss of data converting std::size_t to unsigned int
2015-08-19 15:22:17 +02:00
Simon Giraudot
bf70be5a52
Update function calls with concurrency tag
2015-08-19 11:59:22 +02:00
Simon Giraudot
84528727a1
Fix warning unused variable
2015-08-18 11:50:26 +02:00
Simon Giraudot
24c89aaf00
Added missing TBB includes
2015-08-18 11:49:25 +02:00
Simon Giraudot
77779ff559
PCA estimate normals parallelized with TBB
2015-08-18 11:16:46 +02:00
Simon Giraudot
0902708bfd
Removed useless namespace
2015-08-18 11:09:34 +02:00
Simon Giraudot
6f0113054a
Removed useless point counter
2015-08-18 11:08:28 +02:00
Andreas Fabri
67d72675fe
split packages
2015-08-17 23:46:59 +02:00
Simon Giraudot
9ae599848d
Compute average spaciong parallelized with TBB
2015-08-17 12:12:35 +02:00
Simon Giraudot
8fa51591d7
Added missing tbb include
2015-08-17 12:04:38 +02:00
Simon Giraudot
82d91da597
Removed unused propertymap attribute
2015-08-17 08:29:16 +02:00
Simon Giraudot
f85b38361a
Jet estimate normals parallelized with TBB
2015-08-17 08:28:09 +02:00
Simon Giraudot
34cc20a034
Removed useless function
2015-08-14 17:18:47 +02:00
Simon Giraudot
734c491ac8
Jet smoothing parallelized with TBB
2015-08-14 17:12:02 +02:00
Sébastien Loriot
bdc7271990
Fix "remove dont_submit to publish the doc"
...
This fixes commit aeffc4587c .
2015-07-31 09:54:12 +02:00
Sébastien Loriot
aeffc4587c
remove dont_submit to publish the doc
2015-07-30 17:44:48 +02:00
Sébastien Loriot
2668d83d4e
Merge pull request #150 from 'cjamin/Point_set_shape_detection_3-cjamin'
...
Add an algorithm to fit geometric primitives on a point set
Conflicts:
Installation/changes.html
Polyhedron/demo/Polyhedron/CMakeLists.txt
2015-07-17 14:32:09 +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
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
ad91ed562f
Fix a warning
2015-06-26 19:20:31 +02:00
Sébastien Loriot
646650be81
disambiguate call to std::sqrt for MSVC10
2015-06-10 16:12:59 +02:00
Sébastien Loriot
a2b0267891
increase epsilon bounds
2015-06-08 12:08:08 +02:00
Sébastien Loriot
966f0188b2
force use of std::sqrt
2015-06-08 12:06:23 +02:00
Sébastien Loriot
fb2a3a2f50
accomodate update of the halfspace intersection that is now outward oriented
2015-06-05 14:43:55 +02:00
Sébastien Loriot
11a75f1e3c
remove extra semi-columns
2015-06-05 14:32:04 +02:00
Sébastien Loriot
ca5685db61
add Jocelyn and Quentin as authors of Point set processing package
...
Also update history section
2015-06-04 11:36:45 +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
28067d6470
be more permissive to allow some numeric errors
2015-06-02 16:08:51 +02:00
Sébastien Loriot
ee3b7d910e
check covariance matrices computed are correct (a subset)
2015-06-02 15:48:08 +02:00
Sébastien Loriot
766bda6853
add a test checking points on a feature edge
2015-06-02 09:40:45 +02:00
Sébastien Loriot
a214819b8b
write points on feature in a file
2015-06-02 09:40:07 +02:00
Sébastien Loriot
d74bd22b8a
be more tolerant with the output
2015-06-02 08:36:53 +02:00
Jocelyn MEYRON
4faf09ca53
add one test for the VCM
2015-05-29 15:56:46 +02:00
Sébastien Loriot
a2f05fb8bb
remove warning
2015-05-19 16:43:27 +02:00
Sébastien Loriot
bdba9d2c7c
do not convolve if nb neighbors <= 0
2015-05-19 16:09:41 +02:00
Sébastien Loriot
0036cc585e
add a switch to use constructions in the covariance computation
2015-05-19 15:28:28 +02:00
Sébastien Loriot
115e22ec29
copy input point to be able to use the insert by range of DT
2015-05-19 15:17:53 +02:00
Sébastien Loriot
1a51d32df9
size_t -> std::size_t
2015-05-19 15:06:14 +02:00
Sébastien Loriot
48b41d8610
avoid using a map to get the index of a point and use reserve
2015-05-19 15:04:36 +02:00
Sébastien Loriot
d43529c131
save the indexof the point covariance matrix to avoid a lookup in a map
2015-05-19 11:28:01 +02:00
Laurent Rineau
a2ffb7d6f8
Merge pull request #80 from afabri/CGAL-array_as_property_map_example-GF
...
Add an example for an array as property map
2015-05-18 11:17:23 +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
b7f9849599
Replace CGAL::get() with CGAL::get_pointee_or_identity() and remove using get::
2015-04-30 11:31:21 +02:00
Andreas Fabri
b8d9925cbc
remove target that does not exist
2015-04-30 10:24:53 +02:00
Sébastien Loriot
82e7da19a5
forgot to init the array
...
this is a bug in introduced in this commit:
|--
|commit 8bc716abf6
|Author: Sébastien Loriot <sebastien.loriot@cgal.org>
|Date: Mon Apr 20 17:59:52 2015 +0200
|
| directly use CGAL::cpp11::array rather than a custom class
|--
The initialization was done in the default construtor of the custom class
2015-04-29 23:31:21 +02:00
Sébastien Loriot
97c8a07289
remove experimental code to extract feature polylines that is not working good
...
update the demo plugin accordingly
2015-04-27 21:42:22 +02:00
Sébastien Loriot
c9131379e1
accomodate Pierre's review
2015-04-27 14:15:30 +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
200229dcec
eigen foo -> eigenfoo
2015-04-24 08:52:12 +02:00
Sébastien Loriot
90530f83ce
greatest -> largest
2015-04-24 08:38:40 +02:00
Sébastien Loriot
3c7c06e539
rename variables
2015-04-23 15:46:59 +02:00
Sébastien Loriot
8adf56212d
overlay -> overload
2015-04-23 15:22:40 +02:00
Andreas Fabri
52382276a8
Escape the word Index with '%'
2015-04-23 12:04:35 +02:00
Sébastien Loriot
94d84aebf7
fix compilation issues
2015-04-23 10:30:02 +02:00
Sébastien Loriot
40c5fc574c
make Eigen optional through the abstraction of a concept
2015-04-22 19:54:06 +02:00
Sébastien Loriot
c990781b78
fix typo
2015-04-22 19:16:21 +02:00
Sébastien Loriot
6b139d10ae
move the eigen traits in the CGAL dir
2015-04-22 19:13:45 +02:00
Sébastien Loriot
1e502253cd
gather the usage of eigen into a traits
2015-04-22 19:08:46 +02:00
Sébastien Loriot
a0d60a94de
remove warnings
2015-04-22 18:43:13 +02:00
Sébastien Loriot
7fab19d2df
forgot to rename a is_on_edge
2015-04-22 11:44:04 +02:00
Sébastien Loriot
f098d8508c
use mathjax for the matrix
2015-04-20 18:39:41 +02:00
Sébastien Loriot
27a3531bd6
rename is_on_edge
2015-04-20 18:31:12 +02:00
Sébastien Loriot
e312edf41d
add doc todo
2015-04-20 18:30:52 +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
d7e6b7dfa8
update doc of vcm_compute
2015-04-20 17:10:40 +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
Sébastien Loriot
5dcc322f78
rename include guards
2015-04-20 16:10:55 +02:00
Sébastien Loriot
8b455b2710
add license headers
2015-04-20 16:09:38 +02:00
Sébastien Loriot
4f177e0e65
move internal details to internal directory
2015-04-20 16:06:55 +02:00
Sébastien Loriot
1f871965ed
remove warning and compilation issue
2015-04-14 16:39:36 +02:00
Andreas Fabri
df7bcccdc0
change several package descriptions
2015-04-14 11:21:16 +02:00
Clement Jamin
1a2a2004f6
Merge branch 'gsoc2013-Point_set_processing_3-fix-swu_cjamin' of ssh://scm.cgal.org/var/git/cgal-gsoc into gsoc2013-Point_set_processing_3-fix-swu_cjamin
2015-02-20 16:56:13 +01:00
Clement Jamin
6183b02f54
Untabify
2015-02-20 16:55:34 +01:00
Shihao Wu
4825fd601b
replaced all "CGAL_DEBUG_MODE" with "CGAL_PSP3_VERBOSE"
2015-02-20 15:43:04 +02:00
Shihao Wu
053ee4d507
Fixed the bug of not initializing CGAL::Bbox_3
...
In Debug mode, the default CGAL::Bbox_3 is not (0,0,0,0,0,0)
2015-02-19 17:27:24 +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
Clement Jamin
60f382034d
Updated doc and default value for neighbor radius
2015-02-18 18:00:20 +01:00
Clement Jamin
a8ac79dbc4
More doc about neigbor_radius params
2015-02-18 17:46:47 +01: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
da7e2e0f1e
missing backtick
2015-02-16 08:38:21 +01:00
Sébastien Loriot
faa598a9ab
prevent the creation of an empty internal namespace in the doc
...
trivial bugfix for master
2015-02-13 15:13:23 +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
a3cb5af9b0
more wording fixes for value type
2015-02-06 12:06: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
Andreas Fabri
2ae1d649c2
capitlize words in \subsection
2015-01-28 16:53:05 +01:00