Commit Graph

677 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé 2bdb63b1ae Use "integer type" and not "std::size_t" for 3MF I/O 2020-07-24 10:49:56 +02:00
Mael Rouxel-Labbé 47955af9b4 Polygon > Triangle in 3MF I/O 2020-07-24 10:10:52 +02:00
Mael Rouxel-Labbé d23d71df94 Add some clearer notes about some I/O functions requiring third party librairies 2020-07-24 09:55:40 +02:00
Mael Rouxel-Labbé e6847245c2 `value type` --> `value_type` 2020-07-24 09:55:22 +02:00
Mael Rouxel-Labbé 2f0f61e104 Rephrase warning about std::ios::binary + add missing (LAS - always binary) 2020-07-24 09:40:13 +02:00
Mael Rouxel-Labbé 6189e23817 Fix parameter name / documentation inconsistency 2020-07-24 09:24:36 +02:00
Mael Rouxel-Labbé b6d3fc47b0 Center dashes in I/O tables 2020-07-24 09:24:24 +02:00
Mael Rouxel-Labbé 6acac6907a Add a note about letter case in generic I/O functions 2020-07-24 09:23:54 +02:00
Mael Rouxel-Labbé 0ec5650a73 Fix typo 2020-07-22 09:56:50 +02:00
Mael Rouxel-Labbé f5aff314cb Misc tiny doc fixes 2020-07-21 11:44:40 +02:00
Mael Rouxel-Labbé 69068ba28c Some more binary/ASCII fixes 2020-07-21 11:44:18 +02:00
Mael Rouxel-Labbé a8d29742e7 Add a small note about stream precision at the top of Stream_support/user_manual 2020-07-20 10:39:27 +02:00
Mael Rouxel-Labbé 59a375b566 Fix missing includes 2020-07-17 18:07:13 +02:00
Mael Rouxel-Labbé 9a485ec975 Update some file headers 2020-07-17 17:59:31 +02:00
Mael Rouxel-Labbé 5222bc5a4c Make IO format extensions explicit 2020-07-17 17:56:42 +02:00
Mael Rouxel-Labbé 3e9ce127b2 Misc CGAL IO doc fixes 2020-07-17 16:51:25 +02:00
Mael Rouxel-Labbé 26c930bc20 Uniformize whether std::string or const char* is used in the doc 2020-07-17 15:16:32 +02:00
Mael Rouxel-Labbé 6d6d959d4d Enhance doc for generic I/O functions 2020-07-17 13:37:37 +02:00
Mael Rouxel-Labbé f3659c5d96 Switch 3MF to bool return type and clarify \return doc for IO functions 2020-07-17 13:19:18 +02:00
Mael Rouxel-Labbé 91faa22b4a Fix some I/O doc in Polyhedron 2020-07-17 12:22:11 +02:00
Mael Rouxel-Labbé 09ee52fa1b Remove obsolete warning about boost version (only 1.62+ is supported now) 2020-07-17 11:57:01 +02:00
Mael Rouxel-Labbé 7496fcdd1f Fix typo 2020-07-17 11:56:42 +02:00
Mael Rouxel-Labbé 0065675d46 Improve section introduction 2020-07-17 11:22:56 +02:00
Mael Rouxel-Labbé a53d72b986 Standardize "I/O" vs "IO" 2020-07-17 10:51:09 +02:00
Mael Rouxel-Labbé 2d51d86787 Make verbose a NP instead of a parameter + various fixes in CGAL 2020-07-16 20:22:26 +02:00
Mael Rouxel-Labbé 0d37cef30b Use std::ios::binary / CGAL::set_binary_mode for LAS 2020-07-13 16:56:53 +02:00
Mael Rouxel-Labbé 4231bc8a83 Misc I/O doc enhancements 2020-07-13 14:17:50 +02:00
Mael Rouxel-Labbé 0fd8bbf920 Re-add doc of operator<<(stream, Class) in io.h 2020-06-26 16:21:09 +02:00
Mael Rouxel-Labbé ae4c2aaa9e IO doc fixes 2020-06-26 16:08:02 +02:00
Mael Rouxel-Labbé 594eb97a22 Doc improvements 2020-06-25 21:01:04 +02:00
Mael Rouxel-Labbé 50e3a838f3 Compilation fixes 2020-06-25 18:20:52 +02:00
Mael Rouxel-Labbé 2b18b8d8be Fix broken doc references 2020-06-25 15:17:44 +02:00
Mael Rouxel-Labbé cc523c09d2 Fix missing overloads + document stream_precision/use_binary in SS/IO 2020-06-25 15:16:34 +02:00
Mael Rouxel-Labbé 26355e2e32 Uniformize capital / third person usage of \brief 2020-06-25 15:13:47 +02:00
Mael Rouxel-Labbé d5d8cca92b Various IO compilation fixes 2020-06-25 12:02:01 +02:00
Mael Rouxel-Labbé 31044f8e1e Fix not opening binary input with ios::binary when reading/writing PLY 2020-06-24 18:26:16 +02:00
Mael Rouxel-Labbé a5b167ed55 Fix not opening ifstream with ios::binary when use_binary is chosen 2020-06-24 17:41:55 +02:00
Mael Rouxel-Labbé 6d6dc0c956 Fix a number of compilation issues 2020-06-24 17:41:20 +02:00
Mael Rouxel-Labbé 26ae0d2b8c Misc compilation fixes 2020-06-23 19:11:55 +02:00
Mael Rouxel-Labbé 3e057e4344 Stream support IO doc improvements (wip) 2020-06-23 19:03:00 +02:00
Mael Rouxel-Labbé 9cca59ba36 Actually use the new IO functions + some example improvements 2020-06-23 18:24:39 +02:00
Mael Rouxel-Labbé 8cab8d3a21 Exclude string from is_Range to avoid IO ambiguities 2020-06-23 12:51:15 +02:00
Mael Rouxel-Labbé 944697baa8 Misc fixes 2020-06-23 12:51:05 +02:00
Mael Rouxel-Labbé 0003c95223 Use boost::range_value / boost::property_traits 2020-06-23 12:05:26 +02:00
Mael Rouxel-Labbé 34ddacd5e7 Misc minor fixes 2020-06-23 11:56:12 +02:00
Mael Rouxel-Labbé 7bdf143eae Fix enable_if's in Stream_support/IO 2020-06-23 11:55:35 +02:00
Mael Rouxel-Labbé 2f1011dd57 Use stream_precision in Stream_support/IO 2020-06-23 11:54:54 +02:00
Mael Rouxel-Labbé e6e08ff924 Move IO::internal::get_file_extension() to helpers.h 2020-06-23 10:19:42 +02:00
Mael Rouxel-Labbé 10132091bb Stream_support IO doc improvements 2020-06-23 10:19:29 +02:00
Mael Rouxel-Labbé 8ca9f00279 BGL IO doc improvements 2020-06-22 11:14:30 +02:00
Mael Rouxel-Labbé 30e9507f43 Add LAS to the list of supported file formats 2020-06-21 16:21:13 +02:00
Mael Rouxel-Labbé ad67358146 Fix some broken links 2020-06-21 16:21:02 +02:00
Mael Rouxel-Labbé 52d50f7d79 Doc improvements 2020-06-21 13:30:53 +02:00
Mael Rouxel-Labbé 2d49f7d702 Countless IO fixes...
Don't have the patience to split it nicely
2020-06-21 12:03:28 +02:00
Mael Rouxel-Labbé 425b1a29ef Rename IO helper file 2020-06-21 01:09:03 +02:00
Mael Rouxel-Labbé 1d85d190c6 Misc doc fixes 2020-06-18 19:48:12 +02:00
Mael Rouxel-Labbé a91b750dd5 Fix doc link 2020-06-18 18:50:16 +02:00
Maxime Gimeno e636a9e3e4 Fix locale problem and read_WKT() 2020-06-18 13:20:11 +02:00
Maxime Gimeno f83de97125 Add missing doc 2020-06-17 14:03:13 +02:00
Maxime Gimeno c25e9bc37e More doc for Stream_support functions 2020-06-17 11:43:26 +02:00
Maxime Gimeno 25c8313859 Replace IO functions in examples and fix Surface_mesh read_OFF() 2020-06-16 14:36:24 +02:00
Maxime Gimeno 4b14f5199f use i/oformat() 2020-06-12 13:29:57 +02:00
Maxime Gimeno ce86d3de12 Fix OBJ with multiple volumes 2020-06-12 11:33:10 +02:00
Maxime Gimeno b6d4a9a372 Finish tests BGL/stream_support 2020-06-10 12:09:29 +02:00
Maxime Gimeno b2419e5f98 Fix readers and add misisng tests 2020-06-09 14:55:21 +02:00
Maxime Gimeno 6a36213a80 Fix STL and GOCAD Reading 2020-06-09 13:27:37 +02:00
Maxime Gimeno 63c554fb7d fix OFF surface_mesh reading 2020-06-08 16:19:18 +02:00
Maxime Gimeno 9199534373 WIP fixes. 2020-06-08 15:05:48 +02:00
Maxime Gimeno 366422714c WIP fixes for OBJ 2020-06-05 15:59:00 +02:00
Maxime Gimeno 6a466dd6b5 fix OFF I/O 2020-06-05 15:40:13 +02:00
Mael Rouxel-Labbé df39cceb58 Misc fixes 2020-05-29 18:12:18 +02:00
Mael Rouxel-Labbé 21597d9c7c Properly test polygon soup STL/OBJ/PLY 2020-05-29 17:01:45 +02:00
Mael Rouxel-Labbé 70777a5d08 Add some data
36091.stl taken from the 10kThingies data set, see
https://ten-thousand-models.appspot.com/detail.html?file_id=36091
for the author and license
2020-05-29 16:58:04 +02:00
Mael Rouxel-Labbé b80f4e9225 Tiny verbose change 2020-05-29 16:52:36 +02:00
Mael Rouxel-Labbé ef9ffb4fd6 Add data/tests for GOCAD/OFF/OBJ 2020-05-29 12:07:56 +02:00
Mael Rouxel-Labbé 1809fc0e56 Also read VTK/3MF in read_polygon_soup 2020-05-29 12:05:31 +02:00
Mael Rouxel-Labbé 08aa904396 STL reader / writer improvements 2020-05-29 12:05:15 +02:00
Mael Rouxel-Labbé 3a44ed2b3b OBJ reader / writer fixes 2020-05-29 12:04:58 +02:00
Mael Rouxel-Labbé 54c6f6c20c Add np::point_map to the Generic_writer (polygon soup) 2020-05-29 12:04:16 +02:00
Mael Rouxel-Labbé 9eebcfda9a GOCAD reader fixes 2020-05-29 12:03:57 +02:00
Mael Rouxel-Labbé da60d28624 Add convenience overloads for 3MF writing 2020-05-29 12:03:40 +02:00
Mael Rouxel-Labbé 71413eb8e8 Misc IO improvements / fixes 2020-05-29 12:03:25 +02:00
Mael Rouxel-Labbé 21dd72219e Test GOCAD Polygon Soup IO 2020-05-28 19:22:43 +02:00
Mael Rouxel-Labbé dd0d497944 Fix a number of issues in polygon soup GOCAD IO
- there can be multiple TFACE
- you have to unget the char otherwise reading is wrong
- the TRGL have ids after them, not points
- etc.
- add the point_map NP
2020-05-28 18:51:26 +02:00
Mael Rouxel-Labbé 35ca98f8bd Start fixing Stream_support/IO tests 2020-05-28 16:58:28 +02:00
Mael Rouxel-Labbé 6c045ce48e Fix wrong namespace leading to compilation errors 2020-05-27 22:26:40 +02:00
Mael Rouxel-Labbé 0709a7a2ab Fix extension extraction in BGL::IO::read_polygon_mesh + add missing 2020-05-27 22:26:13 +02:00
Mael Rouxel-Labbé 0cdfed4c94 Misc minor changes 2020-05-27 22:25:48 +02:00
Maxime Gimeno d0bfde7966 Fix some OBJ reading 2020-05-25 17:03:05 +02:00
Mael Rouxel-Labbé 580a1efd5c Remove trailing whitespace / tabs 2020-05-22 15:31:50 +02:00
Maxime Gimeno 20898e4b31 fix functions calls 2020-05-14 13:46:57 +02:00
Maxime Gimeno e81a41f9d7 Fix doc 2020-05-13 15:20:28 +02:00
Maxime Gimeno 817cda4986 fix stream_support broken links 2020-05-13 14:18:28 +02:00
Maxime Gimeno 07f02fe382 WIP Doc Stream_support 2020-05-13 12:50:41 +02:00
Maxime Gimeno 640f34c975 secure all >> in readers 2020-05-13 11:46:18 +02:00
Maxime Gimeno d6812d9561 Fixes for 3MF and OFF 2020-05-13 10:49:25 +02:00
Maxime Gimeno ebe0a568a3 Add a read function in PMP for polygon_meshs 2020-05-12 13:52:46 +02:00
Maxime Gimeno 03487c4ce5 WIP Point_set 2020-05-11 14:12:14 +02:00
Maxime Gimeno ab86d0cc6c document new global IO functions 2020-05-07 15:54:11 +02:00
Maxime Gimeno 30dcc81a61 fixes for soup I/O 2020-05-07 14:26:31 +02:00
Maxime Gimeno bc360bcfd3 WIP. Remove read_pm for streams. 2020-05-06 16:52:24 +02:00
Maxime Gimeno 7c8dcbfd47 verbose in readers. 2020-05-06 12:57:08 +02:00
Maxime Gimeno 9d237393da Add a function read_polygon_mesh() and fix the readers. 2020-05-05 14:53:52 +02:00
Maxime Gimeno 0529bb2d85 Fix the doc 2020-05-05 11:11:25 +02:00
Maxime Gimeno 3a9b501612 WIP fixing doc 2020-05-04 16:56:03 +02:00
Maxime Gimeno 049439fa6b Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-04-30 16:47:58 +02:00
Maxime Gimeno 45d6bd05c9 un-doc the NP versions of the soup functions 2020-04-30 15:44:01 +02:00
Maxime Gimeno 841f7a2016 WIP tests NP 2020-04-29 11:23:07 +02:00
Maxime Gimeno 55361fe782 fix color and texture reading in OFF 2020-04-28 16:53:22 +02:00
Maxime Gimeno 5679c42ce8 add tests for bgl read/write 2020-04-28 14:08:41 +02:00
Maxime Gimeno e0b0f0b244 Dopcument NPs in BGL 2020-04-28 12:09:46 +02:00
Maxime Gimeno 83a929f7bb Fix soup off writer + doc NPs 2020-04-28 11:20:16 +02:00
Maxime Gimeno c8c196fe9c Doc and overloads fixes 2020-04-28 10:30:51 +02:00
Maxime Gimeno 07b13dae6c add missing overloads for vtp 2020-04-27 16:20:06 +02:00
Maxime Gimeno 067c456073 add some doc for STL 2020-04-27 13:53:40 +02:00
Maxime Gimeno db4c886bbf Add overloads for PLY 2020-04-27 13:23:48 +02:00
Maxime Gimeno 3d4eb3a5be add missing overloads in OFF 2020-04-27 12:13:46 +02:00
Maxime Gimeno c5e512db08 OBJ doc fixes 2020-04-27 12:06:47 +02:00
Maxime Gimeno 64d523abf5 Fixes in the doc of GOCAD 2020-04-27 12:03:19 +02:00
Maxime Gimeno ac48cb0cf5 GOCAD 2020-04-24 15:31:29 +02:00
Maxime Gimeno a2a1ebde39 fixes in vtp 2020-04-24 12:45:55 +02:00
Maxime Gimeno 6e309fa34b WIP VTP for soups 2020-04-23 15:14:35 +02:00
Maxime Gimeno 80e39d13f9 WIP 2020-04-22 16:57:59 +02:00
Maxime Gimeno 5b2d46cfa0 Fixes for min/max 2020-04-21 12:04:45 +02:00
Maxime Gimeno e9d41d7b7d Fixes for min/max 2020-04-21 11:38:37 +02:00
Maxime Gimeno e269931284 small doc fixes 2020-04-20 15:18:11 +02:00
Maxime Gimeno ba86b13ac9 Massive addition of enable/disable_ifs 2020-04-17 16:05:43 +02:00
Maxime Gimeno 00ffbe2caf WIP Ply : added feature and tests for vertex and face colors. 2020-04-17 13:06:32 +02:00
Maxime Gimeno b69b7a88df WIP PLY with in np in SS 2020-04-10 16:40:34 +02:00
Maxime Gimeno 3a0f59732b WIP read_PLY with nps 2020-04-03 15:21:25 +02:00
Maxime Gimeno a40605fbbf WIP ply BGL reader 2020-04-03 14:55:38 +02:00
Maxime Gimeno 69a2a23cc6 rename IO functions in point_set packages 2020-04-01 14:33:14 +02:00
Maxime Gimeno 8a535e5e55 Replace std::vector by ranges in Stream_support IO function APIs 2020-03-27 12:54:03 +01:00
Maxime Gimeno 4e6fb685c6 Merge remote-tracking branch 'mine/CGAL_IO-maxGimeno' into HEAD 2020-03-27 11:11:10 +01:00
Maxime Gimeno 9c0648a004 Merge tag 'master_before_no_tws_nor_tabs' into CGAL_IO-maxGimeno 2020-03-27 11:05:43 +01:00
Sébastien Loriot 8bb22d5b2c extra run of the script to remove tabs and trailing whitespaces
right after the merge of the 5.0 release branch

+ manual fix of the files (indentation was changed in the meantime):
   * Spatial_sorting/include/CGAL/Multiscale_sort.h
   * Spatial_sorting/test/Spatial_sorting/test_multiscale.cpp
2020-03-26 14:26:59 +01:00
Sébastien Loriot 8b153fb495 Merge branch 'cgal/releases/CGAL-5.0-branch'
whitespace+tab removal, merged with option -Xignore-space-change
2020-03-26 14:22:32 +01: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 0a46621dc6 Merge branch 'cgal/releases/CGAL-4.14-branch'
whitespace+tab removal, merged with option -Xignore-all-space
2020-03-26 13:28:46 +01:00
Sébastien Loriot 590612a563 run the script to remove tabs and trailing whitespaces 2020-03-26 13:25:16 +01:00
Maxime Gimeno 0f56294ebc fix read_PLY and add a test to bgl for the ply writing 2020-03-18 17:29:02 +01:00
Maxime Gimeno f3dfd786e5 remove the UV parts of the BGL write_PLY and add NPs for the vpm and vimap. Missing doc. Also fix the STL_ASCII reader. 2020-03-18 15:52:15 +01:00
Mael Rouxel-Labbé b7325c51ca Re-apply some changes from #4212 2020-03-17 09:03:39 +01:00
Mael Rouxel-Labbé 30d4754a04 Merge remote-tracking branch 'cgal/master' into CGAL_IO-maxGimeno 2020-03-17 09:03:12 +01:00
Sebastien Loriot 0c8e9cb0c1
Merge pull request #4212 from maxGimeno/Demo-Save_the_scene_entirely-maxGimeno
CGAL 3D Demo: Enhancement of the Scene Saving System
2020-03-16 16:35:45 +01:00
Maxime Gimeno d8fd359399 Merge remote-tracking branch 'cgal/master' into Demo-Save_the_scene_entirely-maxGimeno 2020-02-24 16:41:34 +01:00
Laurent Rineau 28f5b1e783 Fix CMake syntax error in previous commit
@maxGimeno Please test your commits.
2020-02-19 16:59:39 +01:00
Maxime Gimeno 310be1cf6b update test's CMakeLists 2020-02-19 13:46:11 +01:00
Maxime Gimeno c85c7ea6e9 rephrase \attention 2020-02-19 13:45:02 +01:00
Maxime Gimeno 6719b0db89 Add checks and doc for version < 2 2020-02-18 10:52:16 +01:00