Laurent Rineau
ab1c30a9a5
Add support for tx/ty/tz (the origin) in Image_3_vtk_interface.h
2021-04-02 12:06:20 +02:00
Raphael Grimm
6acef1b8b1
Fix define clashes with dirent.h which is included by some boost headers
...
Use prefix CGAL_analyze_impl_ to avoid clashing and breaking dirent.h.
Also fix potential bug when including
"CGAL/Classification/TensorFlow/Neural_network_classifier.h"
after this header
2020-10-20 14:18:12 +02:00
Raphael Grimm
bdecbc9511
Rename the define DEBUG to CGAL_GIF_IMPL_DEBUG
...
Having such a general term defined in a header can cause issues in downstream projects (e.g. if DEBUG is used as member of an enum).
2020-10-16 10:47:54 +02:00
Sébastien Loriot
0779373835
extra run of the script to remove tabs and trailing whitespaces
...
right after the merge of 4.14 release branch
+ manual fix on one line in:
* Arrangement_on_surface_2/include/CGAL/IO/Arr_text_formatter.h
* .travis/generate_travis.sh
2020-03-26 14:16:06 +01:00
Sébastien Loriot
cf99ea072d
Merge remote-tracking branch 'cgal/releases/CGAL-4.14-branch'
2020-03-16 16:19:38 +01:00
Sebastien Loriot
715e8e3e8b
fix leak
...
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
2020-02-27 10:52:23 +01:00
Sébastien Loriot
844bfddcac
avoid crash if the file is corrupted or empty
2020-02-27 10:19:35 +01:00
Jane Tournois
adeb6b391e
add error message
...
when zlib version is < 1.2.9, it is not possible to save an image as .inr,
it has to be .inr.gz
no matter if zlib is available or not
this commit adds an error message to help the user understand the error
2019-12-05 16:29:11 +01:00
Laurent Rineau
436d5cba52
Merge pull request #4326 from lrineau/ImageIO-fix_warnings-lrineau
...
ImageIO: fix warnings
2019-11-06 17:45:28 +01:00
Laurent Rineau
5e1fe8a0b0
fix warnings
2019-10-29 15:39:57 +01:00
Laurent Rineau
5d1704b9d1
Fix typo
2019-10-24 09:29:16 +02:00
Sébastien Loriot
07c4ada6ec
update SPDX flags and remove license notice of ImageIO files
2019-10-19 15:50:09 +02:00
Sébastien Loriot
52164b1fba
First pass on removing license notice in header for LGPL files
2019-10-19 15:40:30 +02:00
Sébastien Loriot
7356421d80
introduce Commercial license SPDX tag
2019-10-19 12:15:19 +02:00
Sébastien Loriot
9bd9c68b83
update LGPL[23]+ and GPL[23]+ SPDX tags
...
ack -l --no-svg "SPDX-License-Identifier: GPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-3.0+/SPDX-License-Identifier: GPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-3.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-3.0+/SPDX-License-Identifier: LGPL-3.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: GPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: GPL-2.0+/SPDX-License-Identifier: GPL-2.0-or-later/"
ack -l --no-svg "SPDX-License-Identifier: LGPL-2.0\+" | xargs sed -i "s/SPDX-License-Identifier: LGPL-2.0+/SPDX-License-Identifier: LGPL-2.0-or-later/"
2019-10-18 21:57:54 +02:00
Maxime Gimeno
8cffe1e8e7
Check if spacings are null when reading a vtk image. If they are, set them to 1.
2019-10-03 16:36:20 +02:00
Laurent Rineau
084d534949
Fix conversion warnings in the Surface_mesher testsuite
2019-09-04 10:36:17 +02:00
Laurent Rineau
64bc3bc96e
Fix conversion warnings of the testsuite of CGAL_ImageIO
2019-09-04 10:22:46 +02:00
Laurent Rineau
dc4e41c13e
Fix the code of extract_a_sub_image, conversion warnings
2019-09-04 10:22:27 +02:00
Laurent Rineau
c0ba28f80a
Merge branch 'releases/CGAL-4.14-branch'
2019-07-03 11:18:20 +02:00
Laurent Rineau
e79bfd5d03
Merge branch 'releases/CGAL-4.13-branch' into releases/CGAL-4.14-branch
2019-07-03 11:10:03 +02:00
Laurent Rineau
e4aaf2447c
Fix the use of offset in Labeled_mesh_domain_3
2019-06-18 15:50:15 +02:00
Andreas Fabri
4581f1b7a8
Morte replacements
2019-06-05 08:39:55 +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
Sébastien Loriot
124012d9f9
replace cpp11::array by std::array
2019-03-29 13:28:33 +01:00
Laurent Rineau
99883c4b6a
Fix a [-Wformat-overflow=] warning
...
.../CGAL_ImageIO/include/CGAL/ImageIO_impl.h: In function ‘_image* _readImageHeaderAndGetError(const char*, int*)’:
.../CGAL_ImageIO/include/CGAL/ImageIO_impl.h:1082:12: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
1082 | fprintf(stderr, "_readImageHeaderAndGetError: error: unable to open file \'%s\'\n", name);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2019-02-08 09:33:50 +01:00
Laurent Rineau
026868a294
Merge pull request #3552 from lrineau/Image_IO-Image_3_maybe_not_own_the_data-GF
...
Add a non-documented API, to allow CGAL::Image 3 not to own its data
2019-01-22 09:15:15 +01:00
Laurent Rineau
8121e872ab
Merge pull request #3513 from sloriot/CGAL-fix_maybe_uninit_vars_wrngs_2
...
Fix some wmaybe-uninitialized warnings
2018-12-19 16:08:55 +01:00
Laurent Rineau
166606cab3
Secret API to allow Image_3 not to own its data
2018-12-17 15:17:44 +01:00
Maxime Gimeno
7a04091d4a
Add offset from vtk
2018-12-12 14:31:50 +01:00
Laurent Rineau
cbd4d97998
Fix a [-Wconversion] warning
2018-12-11 10:31:55 +01:00
Maxime Gimeno
a50b224fc2
Protect new code with preprocessor checks
2018-07-27 14:21:07 +02:00
Maxime Gimeno
1d958dbd54
Fix .inr writing without zlib
2018-07-26 12:08:11 +02:00
Mael Rouxel-Labbé
26c857a431
Moved unary/binary_function to CGAL::cpp98
2018-06-13 15:58:19 +02:00
Laurent Rineau
2766e1ff5d
Merge 'master' and fix conflicts
2018-05-28 16:40:09 +02:00
Andreas Fabri
777d3057d9
Undef the macros at the end, as they are not identical (one has an EXPORT)
2018-05-23 11:48:58 +02:00
Laurent Rineau
fd49c82abd
Fix warnings
2018-05-15 15:13:05 +02:00
Laurent Rineau
e46cd8ad1a
Remove the last -Wconversion warnings from all Mesh_3
...
I have only compiled tests and examples. Maybe the Mesh_3 plugin of the 3D
demo has other warnings.
2018-05-15 15:13:04 +02:00
Andreas Fabri
5efce459da
Mesh_3
2018-01-18 08:49:52 +00:00
Andreas Fabri
cbf3a16471
libs compile without warning
2018-01-17 15:02:32 +00:00
Laurent Rineau
af2a4473df
Fix compilation on CentOS6 (older Boost)
2017-12-12 12:52:25 +01:00
Laurent Rineau
a752da3a28
Update the SEP reader
2017-12-04 16:40:58 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
7e9f756935
Replace all std::unary_function by CGAL::unary_function
2017-10-04 15:57:09 +02:00
Laurent Rineau
8dfa4f4dc8
Fix link error of demo/Polyhedron, in Debug and CGAL_HEADER_ONLY
2017-07-27 17:28:21 +02:00
Maxime Gimeno
cf3952afe8
Fix warning
2016-11-18 12:18:24 +01:00
Maxime Gimeno
b01999b634
Add support for SEP images to the Io_image_plugin
2016-11-07 14:05:06 +01:00
Andreas Fabri
6042496f58
one more fallthrough
2016-10-18 11:13:59 +02:00
Andreas Fabri
c90f4bf978
more fallthrough statements
2016-10-17 13:45:42 +02:00
Maxime Gimeno
2f7ccf76eb
Upgrades :
...
- The dialog won't let the user create an image if its size doesn't match the file's
- the offset is counted in the images's size
- the fields of the dialog have tooltips
- If the raw_image has a WK_FLOAT, the image is automatically detected as gray-level
- Images can be saved in .inr.gz
Remaining : convert images to the right format to be meshed when asked to.
2016-10-06 11:46:00 +02:00