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
Sébastien Loriot
ee57fc2d6c
add SPDX identifier for files under the GPL-3+ license
2017-11-12 10:17:51 +01: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
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
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
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
310d81864e
Merge branch 'Classification-GF-old' into Classification-GF
2016-11-23 08:55:57 +01:00
Simon Giraudot
886ad42a7e
Add method to get raw readers
2016-10-21 10:28:39 +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
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
Sébastien Loriot
ff1b240a37
replace assert by CGAL_assertion in CGAL code
2016-08-25 11:12:17 +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
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
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
860a30201f
Warning fix: explicit cast from pointer to bool
2016-04-25 11:14:04 +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
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
Simon Giraudot
e922a1c858
Complete test on property existence (testing type in addition of tag)
2016-04-06 08:37:50 +02:00
Andreas Fabri
eb90e8e3e1
Include consistently <CGAL/property_map.h>
2016-02-24 12:09:36 +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
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
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
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
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
30c352f025
Bugfix: OFF reader should accept comments and empty lines
2015-11-25 09:18:15 +01: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
512273ae5f
Update doc and tests
2015-10-08 08:47:14 +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
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
Andreas Fabri
58b7dc7319
fix typo
2015-09-16 09:29:09 +02:00
Clement Jamin
ad91ed562f
Fix a warning
2015-06-26 19:20:31 +02:00
Andreas Fabri
a3cb5af9b0
more wording fixes for value type
2015-02-06 12:06:14 +01:00
Andreas Fabri
13928cd516
add missing 'i' and parenthesis
2014-11-27 08:51:46 +01:00
Andreas Fabri
2916850771
use iformat for reading doubles
2014-11-26 16:53:50 +01:00
Sébastien Loriot
829a6c0ac1
doxygen: prevent linking
2013-06-17 09:52:08 +02:00
Sébastien Loriot
ffa4bf7d34
rename MACRO to enable old code
2013-06-13 17:04:50 +02:00
Sébastien Loriot
677bc07a4d
rename Typed_identity_property_map_by_reference to Identity_property_map
...
and update its documentation
2013-05-13 11:38:07 +02:00
Sébastien Loriot
f91eac468e
enhance documentation
2013-05-13 10:59:15 +02:00
iyaz
8807ec30e1
document value_type_traits, add specializations for inserter_iterator and front_inserter_iterator
...
add another template parameters for OtuputIterator value type in read functions which rely on vaue_type_traits
2013-05-08 23:21:22 +03:00
iyaz
cd0163b95c
should be iterator_traits - fixed
2013-05-08 15:43:53 +03:00
iyaz
c951a2f509
wrong parameter name - fixed
2013-05-08 10:33:32 +03:00
iyaz
c9a1b71c43
do not use value_type_traits when iterator_traits suffices
2013-05-07 18:53:14 +03:00
Sébastien Loriot
17dd21def5
Merge branch 'First_of_pair_property_map-new_version-iyaz-old' into First_of_pair_property_map-new_version-iyaz
...
Conflicts:
Point_set_processing_3/examples/Point_set_processing_3/property_map.cpp
Point_set_processing_3/include/CGAL/IO/read_off_points.h
Point_set_processing_3/include/CGAL/IO/read_xyz_points.h
Point_set_processing_3/include/CGAL/IO/write_off_points.h
Point_set_processing_3/include/CGAL/IO/write_xyz_points.h
Point_set_processing_3/include/CGAL/Point_with_normal_3.h
Point_set_processing_3/include/CGAL/improved_jet_smooth_point_set.h
Point_set_processing_3/include/CGAL/improved_laplacian_smooth_point_set.h
Point_set_processing_3/include/CGAL/jet_estimate_normals.h
Point_set_processing_3/include/CGAL/jet_smooth_point_set.h
Point_set_processing_3/include/CGAL/pca_estimate_normals.h
Point_set_processing_3/include/CGAL/pca_smooth_point_set.h
2013-05-06 15:57:36 +02:00
iyaz
0ca7f319e0
use helper function for typed_identity pmap,
...
remove forgotten dereference pmap
2013-05-05 22:07:41 +03:00
iyaz
f09426d1c5
write_off_points_and_normals NormalPMap requirement WritablePropertyMap -> ReadablePropertyMap
...
write_xyz_points_and_normals NormalPMap requirement WritablePropertyMap -> ReadablePropertyMap
2013-05-05 18:51:24 +03:00
iyaz
db31047a13
Documentation changes in Point_set / include:
...
change all documentation references to boost pmaps to proxy CGAL concepts
2013-05-03 18:24:10 +03:00
Sébastien Loriot
1284566438
Bug-fix: a get is not guarantee to return a reference. put should be used ...
...
... for overwritting the value
2013-05-03 09:43:20 +02:00
iyaz
35a83e09f8
Removed a forgotten comment
2013-04-30 16:58:01 +03:00
iyaz
c3c6d435b5
IO part documentation update
2013-04-30 15:23:01 +03:00
iyaz
6b1a6ddab7
parameter name fixed
2013-04-30 02:28:10 +03:00
iyaz
72a947cda4
Changes related to pm inside include
...
(documentation is not updated)
2013-04-30 00:32:46 +03:00
iyaz
6b5d40387f
New version of pmaps, and an example of required changes in related code (for now just read_xyz_points.h and write_xyz_points.h are changed as a representative)
2013-04-22 02:59:37 +03:00
Sébastien Loriot
7412cdb650
add all property maps concepts to ease linking to them. Update pages using them
2013-03-14 16:59:27 +01:00
Andreas Fabri
8a309aac1b
remove an unused parameter
2013-02-26 17:13:32 +01:00
Andreas Fabri
89f9f21cc4
Avoid parsing x,y,z twice and add a testsuite
2013-01-16 16:01:29 +01:00
Sébastien Loriot
585c3f9c62
link to boost property map concepts
2012-10-22 23:13:56 +00:00
Sébastien Loriot
42879db6e5
add groups
...
using tparam
using pre
2012-10-22 23:02:04 +00:00
Laurent Rineau
a04891ff93
WARNFIX: fix some warnings triggered by -Wconversion on g++
2012-08-09 16:06:54 +00:00
Laurent Rineau
8f59fd9592
Turn QPL into LGPLv3+
2012-01-13 16:33:35 +00:00
Sébastien Loriot
e5a96255ba
*remove warnings.
...
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings.
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Sébastien Loriot
2a9d9e9702
remove warnings
2011-02-23 10:01:12 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Laurent Saboret
1b8c8a4301
Fixed compilation error introduced in r51749
2009-09-04 11:27:51 +00:00
Laurent Saboret
057de88bea
Fixed warning with boost >= 10.38
2009-09-03 09:16:37 +00:00
Laurent Saboret
192ccd9cc3
* Fixed bug in read_xyz_points_and_normals() when loading a .xyz file with empty lines:
...
Updated manual.
* Also added a comment about the hack to have 2 functions documented on the same page (e.g. read_xyz_points() and read_xyz_points_and_normals()).
2009-07-06 17:03:32 +00:00
Laurent Saboret
1d93f37726
* Fixed bug in read_xyz_points_and_normals() when loading a .xyz file with empty lines
...
* Fixed bugs in Point Set demo "Save As" feature:
- saving as .xyz did not work
- replacing an existing file prompted 2 confirmation dialogs
2009-07-06 16:08:10 +00:00
Laurent Saboret
6469d5e568
Fixed error message on cerr in Qt Point Set demo.
2009-06-26 13:05:49 +00:00
Laurent Saboret
e3aea2e92d
Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (12):
...
Document property maps and move them to Support Lib:
* Added new chapter "CGAL abd Boost Property Maps" (Property_map) to Support Lib:
- it is located in Point_set_processing_3/doc_tex/Property_map.
- it documents Dereference_property_map, First_of_pair_property_map, Second_of_pair_property_map and Nth_of_tuple_property_map.
* Renamed point_set_property_map.h as property_map.h
* Moved Normal_vector_property_map to Point_with_normal_3.h and renamed it Normal_of_point_with_normal_pmap.
2009-06-17 07:49:35 +00:00
Nader Salman
9f60273060
Added Property maps in read_write_xyz_point_set_example.cpp
...
Fixed bug in read_off_points_and_normals and read_xyz_points_and_normals : Initialization of Normals to NULL_VECTOR when normal information is missing in the input file.
2009-06-15 14:15:59 +00:00
Laurent Saboret
1625af0907
Changes after Surface_reconstruction_points_3/Point_set_processing_3 submission review by AF (11):
...
Changes requested by AF on 06/12/2009:
* Point_set_processing_3:
- Fixed description of grid_simplify_point_set()
- Fixed description of read_xyz_points(), write_xyz_points(), read_off_points(), write_off_points()
- Added grid_simplify_example.cpp. It replaces random_simplify_example.cpp in Point_set_processing_3 User Manual.
* Surface_reconstruction_points_3:
- Small fixes in the User Manual.
2009-06-15 08:04:42 +00:00