Commit Graph

278 Commits

Author SHA1 Message Date
Max Lyon
4436f3299d cast to pointers instead of references 2020-11-09 15:28:01 +01:00
Alexandra Heuschling
2d1ebf5a8c implement two ways of finding out the type of property 2020-11-05 21:27:02 +01:00
Alexandra Heuschling
afaa48ac8b add new type to PropertyType enum 2020-11-05 21:26:16 +01:00
Alexandra Heuschling
b50dafaf34 add enum PropertyType, so that properties can be restored from .om files 2020-11-05 20:03:51 +01:00
Jan Möbius
673f85e6b3 Merge branch 'master' into remove_compile_order_check 2020-06-24 09:28:35 +02:00
Martin Marinov
8ac6e07c43 Fix a bug where the OM format write code tries to access the second character in property names that have 0 or 1 characters. Also improve the code quality. 2020-06-08 16:37:19 +01:00
Martin Marinov
061bd7ee6a Fix a size_t to int cast warning 2020-05-13 02:14:14 +01:00
Max Lyon
d1da33cd1d write face normals as double 2020-02-10 09:19:09 +01:00
Max Lyon
7ee8e6e9f6 inline is_double specialization 2020-02-06 08:27:47 +01:00
Max Lyon
0e8c46ab84 add missing include and is_double function 2020-02-05 22:15:27 +01:00
Max Lyon
63dd997489 let OMReader and OMWriter read and write double positions and normals 2020-02-05 22:13:36 +01:00
Max Lyon
337fb4571d add methods to import to set positions and normals from doubles 2020-02-05 22:12:53 +01:00
Max Lyon
2356364085 add methods to export the check if positions or normals are double and get them as doubles 2020-02-05 22:11:10 +01:00
Max Lyon
ee752ce996 fix unsed variables in writers 2019-12-09 11:15:09 +01:00
Jan Möbius
e13452336c Removed temp file 2019-09-03 08:22:46 +02:00
Jan Möbius
70c0123bfe PLY: add short/ushort support to readInteger. 2019-09-03 08:20:12 +02:00
Jan Möbius
d28df7edcb PLY: convert readInteger into a template 2019-09-03 08:18:41 +02:00
Jan Möbius
d91986fc30 PLY: add support for unsigned custom property length 2019-09-03 08:15:16 +02:00
Jan Möbius
b15e09d1d3 PLY-avoid-temporary-variable-and-push_back 2019-09-03 08:14:32 +02:00
Jan Möbius
bb2f923f33 PLY-remove-unused-readToFloatValue-member 2019-09-03 08:13:16 +02:00
Jan Möbius
417a460645 Fixed more clang warnings 2019-05-29 10:20:20 +02:00
Jan Möbius
b083f32a23 Replace NULL by nullptr 2019-05-29 10:11:42 +02:00
Jan Möbius
669b1b789e cppcheck 2019-05-29 08:32:28 +02:00
Jan Möbius
8cffe1c3b9 cppcheck 2019-05-28 14:22:36 +02:00
Jan Möbius
f468efacd0 cppcheck 2019-05-28 14:04:58 +02:00
Jan Möbius
87d2161c5d cppcheck 2019-05-28 13:39:03 +02:00
Jan Möbius
bd0901caa8 overrides 2019-05-28 11:50:49 +02:00
Jan Möbius
32c952c871 PLY Reader: Fix reading doubles from PLY, missing cast (Thanks to Leo Walsh for the patch) 2019-05-15 09:34:09 +02:00
Jan Möbius
3fbc166201 - PLY Reader/Writer: Support for face colors (Thanks to Steve and Barb Demlow for the patch) 2019-02-21 12:49:56 +01:00
Jan Möbius
faa1a7917d Get rid of the T.cc naming for template implementations 2019-02-20 12:14:46 +01:00
Jan Möbius
446d8cf14e Removed old templates folder 2019-02-20 11:49:15 +01:00
Jan Möbius
4c2c8f34c0 - PLY Reader: Fix file load for ASCII PLY without a newline at the end of the file (Thanks to Mathieu Lamarre for the patch )
closes #64
2019-02-04 08:52:41 +01:00
Jan Möbius
4363a1cbce Added missing ovverides to silence clang 2019-01-15 13:51:09 +01:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Jan Möbius
f1001ce711 Fixed uninitialized warnings 2018-12-14 14:27:50 +01:00
Jan Möbius
0ee735dba2 - Use Fixed as stream option in OBJ writer to avoid problems with other programs reading scientific notation
closes #60
2018-12-10 10:32:10 +01:00
Jan Möbius
56dc45f047 Fix PLY Reader hang when reading directly from istream (Thanks to Paul Loré for the patch)
closes #46
2018-11-27 14:34:35 +01:00
Max Lyon
87a2db3fe1 check version before trying to read file 2018-10-23 11:21:01 +02:00
Max Lyon
f8b906c2d9 add function to access current writer version 2018-10-23 11:20:41 +02:00
Max Lyon
6ca8816c29 add function that turns writer version into string 2018-10-23 11:20:28 +02:00
Max Lyon
8ce8d8a623 reduce scope of variables 2018-10-12 15:16:33 +02:00
Max Lyon
1e9e4d5922 fix copy paste bugs for status writing 2018-10-12 14:05:52 +02:00
Max Lyon
ac5503d137 more implementation of status reading 2018-10-12 14:05:25 +02:00
Max Lyon
f9b39f21c7 implement status informationr reading and writing 2018-10-12 11:35:18 +02:00
Max Lyon
fcb68a2845 fix typo 2018-08-08 14:38:07 +02:00
Max Lyon
c0fa8fcdb0 store status slightly better 2018-08-08 14:01:01 +02:00
Max Lyon
a7264c89fb store status 2018-08-08 12:05:57 +02:00
Max Lyon
9bbc296ad0 fix wrong number of written bits for meshes with between 2^15 and 2^16 halfedges 2018-08-08 11:38:42 +02:00
Max Lyon
4142d5f4de fix warnings 2018-08-08 11:09:24 +02:00
Max Lyon
76607e4ec6 read meshes based on halfedge information 2018-08-08 10:59:51 +02:00