Commit Graph

68 Commits

Author SHA1 Message Date
Jan Möbius
175e27aefb Trim line 2023-02-27 16:55:33 +01:00
Jan Möbius
5a282c847a More debug output 2023-02-27 16:25:13 +01:00
Jan Möbius
ed04dbb942 Use vector instead of list 2023-02-27 16:16:09 +01:00
Jan Möbius
8092d73c0e More debug output 2023-02-27 15:08:44 +01:00
Jan Möbius
bae6ee3c8c PLY reader/writer: Support for meshlab texture coordinates and ids in PLY IO (Thanks to Gregoire Grzeczkowicz for the patch) 2023-02-27 13:32:24 +01:00
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Jan Möbius
7bf1b94224 Fixed cppcheck warning 2021-04-27 12:25:24 +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
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
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
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +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
Jan Möbius
c68c630eab Prevent endless loop in PLY reader when unknown property types are read. 2018-06-18 13:16:33 +02:00
Jan Möbius
2b21fabfdd Allowing the PLY reader to read custom face ( Thanks to morgan Leborgne for the patch) 2018-05-29 15:16:37 +02:00
Jan Möbius
76e33791e0 Fixed some cppcheck warnings 2018-04-05 09:08:44 +02:00
Michael Krämer
c23ed24aa0 return error when reaching EOF, skip reading extra elements after 'FACE' 2017-02-03 18:54:01 +01:00
Michael Krämer
1ae04a2284 adding support for additional elements 2017-01-20 17:39:09 +01:00
Jan Möbius
b7aabbd912 Fixed some warnings 2016-10-24 14:01:06 +02:00
Jan Möbius
b4cea6008d Handle nr newlines 2016-05-30 16:12:38 +02:00
Jan Möbius
bca37d9653 Fixed binary reader errors in ply reader. (Thanks to Michael Kremer for the patch). 2016-05-17 13:15:29 +02:00
Jan Möbius
1c85080a1e - Updated changelog
- Always emit warning
2016-04-15 15:57:07 +02:00
Isaak Lim
6c6ce56c3c don't emit an error message for every face that could not be added (due to complex elements) 2016-04-15 14:01:11 +02:00
Alexander Dielen
04fc8dac85 Fixed CR LF newline handling for binary file headers. 2016-02-11 14:04:52 +01:00
Martin
e6967dfe8b reduced includes by means of static code analysis 2015-11-30 09:48:42 +01:00
Matthias Möller
fe86a44c1d add custom property (with pod data type) support for binary ply files
closes #2496

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1331 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:20:26 +00:00
Matthias Möller
b6c10de490 loaded properties are presistant per default
refs #2504

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1325 fdac6126-5c0c-442c-9429-916003d36597
2015-08-03 13:06:58 +00:00
Matthias Möller
44800c3efc unify int8_t/signed char/char in ply reader and writer.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1292 fdac6126-5c0c-442c-9429-916003d36597
2015-06-18 13:17:51 +00:00
Matthias Möller
59b0cafecd - fix ply ascii reader with custom face properties which aren't declared as list
- extend unittest for this case

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1284 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 08:37:42 +00:00
Matthias Möller
ed3155284c - move iostream from header to source files.
- replace some iostreams to o/istreams only
- some minor include fixes

closes #2489

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1278 fdac6126-5c0c-442c-9429-916003d36597
2015-06-09 08:58:41 +00:00
Matthias Möller
b74e1bd7d7 fix cppcheck
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1272 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 13:23:45 +00:00
Matthias Möller
d8d26b7c18 ply ascii reader:
- add read support for custom list properties (vertices and faces)


closes #2370

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1268 fdac6126-5c0c-442c-9429-916003d36597
2015-05-18 11:52:18 +00:00
Jan Möbius
fd4bcb39ea Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d Fixed bad typo in comment
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
83486e0b5f Relicense to BSD
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Jan Möbius
b3778b230f Updated copyright headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Matthias Möller
9680df9f63 add custom property support for PLY reader ASCII version
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1181 fdac6126-5c0c-442c-9429-916003d36597
2014-10-24 08:52:07 +00:00
Jan Möbius
24bd7be273 Fixed several unused variables
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1150 fdac6126-5c0c-442c-9429-916003d36597
2014-08-29 08:28:47 +00:00
Jan Möbius
5104bf5c42 Silence most readers/writers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1053 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 12:44:18 +00:00
Jan Möbius
48f18d6410 PLY Reader Fix: locking up when loading some binary files ( Thanks to Peter Newman for the patch)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1042 fdac6126-5c0c-442c-9429-916003d36597
2014-05-07 11:43:53 +00:00
Jan Möbius
68a3ff3136 The annual License Header Bump (Sorry for the rebuilds ;-) )
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Matthias Möller
bdf48be7fe type conversion
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@880 fdac6126-5c0c-442c-9429-916003d36597
2013-07-26 15:49:14 +00:00
Isaak Lim
57b3908771 - the OM PLY writer and reader can now also handle color floats
- added corresponding unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@817 fdac6126-5c0c-442c-9429-916003d36597
2013-03-01 15:32:46 +00:00
Isaak Lim
b409f83040 - the PLY reader now checks the options set by the user and will skip components that are not requested
- modified the loading unittest to test this behavior

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@741 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 11:44:29 +00:00
Jan Möbius
f3312397a5 Updated License Headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Jan Möbius
704fffc423 Fixed more size_t warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@559 fdac6126-5c0c-442c-9429-916003d36597
2012-03-20 09:32:02 +00:00