Commit Graph

156 Commits

Author SHA1 Message Date
Jan Möbius
be465673e6 Fixed bad enum
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1318 fdac6126-5c0c-442c-9429-916003d36597
2015-07-26 20:22:28 +00:00
Matthias Möller
fbda5f8687 change type int8_t to signed char from type char
closes #2499

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1305 fdac6126-5c0c-442c-9429-916003d36597
2015-07-08 08:16:59 +00:00
Jan Möbius
43fdc506f2 Add a space after the solid keyword to make some readers happy.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1302 fdac6126-5c0c-442c-9429-916003d36597
2015-07-02 14:52:32 +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
a9315fdb58 - ply writer: add custom property support for ascii version
refs #2496
closes #2480

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1285 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 08:52:20 +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
324acba2f2 - load vertex color values as float in range of [0..1] instead of integers [0..255]
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1283 fdac6126-5c0c-442c-9429-916003d36597
2015-06-11 14:20:16 +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
ae7f75d881 - remove paranthese warning
- remove redundant double negation, as the type is already bool
- replaced inline condition with cast

closes #2491

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1270 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 12:09:32 +00:00
Matthias Möller
e1a72035c0 improve performance for small vectors/faces
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1269 fdac6126-5c0c-442c-9429-916003d36597
2015-05-26 12:08:32 +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
Matthias Möller
beae0ffce3 extend "can_read" function. returns true, if no explicit filename is given, but just the extension.
closes #2431

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1260 fdac6126-5c0c-442c-9429-916003d36597
2015-05-06 14:08:32 +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
0a4c1dc206 Get rid of the old ACGMakeFiles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1253 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:35:09 +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
Matthias Möller
53371f63e1 - fix crash, if obj file contains degenerated faces
- added unittest for this case

closes #2382

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1236 fdac6126-5c0c-442c-9429-916003d36597
2015-03-09 09:56:41 +00:00
Jan Möbius
8f9682f47e fix reading mtl files with texture only for obj files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1222 fdac6126-5c0c-442c-9429-916003d36597
2015-02-18 08:25:32 +00:00
Jan Möbius
f1a9b3a871 Avoid std::endl in the writers to avoid flushing the output stream on every line. (Thanks to Roman Zoller for the hint).
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1209 fdac6126-5c0c-442c-9429-916003d36597
2015-01-19 17:37:47 +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
Matthias Möller
d633dfc737 - change name of the types "True" and "False" to "TrueType" and "FalseType" to clearify, that these are types
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1137 fdac6126-5c0c-442c-9429-916003d36597
2014-08-11 09:47:41 +00:00
Matthias Möller
208e753e89 remove excluding condition
Thanks to Javier Granado for the hint

closes #2247

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1114 fdac6126-5c0c-442c-9429-916003d36597
2014-07-25 09:13:33 +00:00
Jan Möbius
ff2053119e More cppcheck fixes in OM
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1075 fdac6126-5c0c-442c-9429-916003d36597
2014-05-30 10:15:12 +00:00
Jan Möbius
dfa030339b Silence cppcheck for now
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1055 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 13:11:11 +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
1d121ee8c7 Removed unused variable
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1001 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 08:06:08 +00:00
Jan Möbius
377bf721ac Added simple VTK writer writing only vertices and faces (Thanks to Vladimir Chalupecky for the code). closes #2039
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1000 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:18:21 +00:00
Jan Möbius
383b75b20b Fixed material writer using wrong stream (Thanks to Vladimir Chalupecky for the fix). closes #2037
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@999 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:15:27 +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
Isaak Lim
733cb52240 fixed a bug in the STLReader where normals could be set for invalid face handles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@963 fdac6126-5c0c-442c-9429-916003d36597
2013-09-26 13:02:09 +00:00
Isaak Lim
b643b26f2d - the OpenMesh STLReader now also reads face normals if requested
- added corresponding unittests
- removed duplicate code

closes #1719

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@962 fdac6126-5c0c-442c-9429-916003d36597
2013-09-26 10:35:13 +00:00
Jan Möbius
5094916ff6 Bugfix : If bool property is written and conatins 0x20 in file, reader will fail (Thanks to Simon Flöry for the patch)
Unittest: Added test case for this bug



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@957 fdac6126-5c0c-442c-9429-916003d36597
2013-09-17 13:09:19 +00:00
Matthias Möller
38599251b3 - fix om writer with colors
- more om unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@948 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 15:00:59 +00:00
Jan Möbius
f37ee2d46b Fixed 2 more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@944 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 12:03:51 +00:00
Jan Möbius
5822351444 Removed unused code
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@943 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 11:34:24 +00:00
Jan Möbius
5cd4bc0444 cppcheck warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@941 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 10:00:59 +00:00
Jan Möbius
721a2cbb84 Fixed regression and Problem in OM writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@939 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 08:01:44 +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
Isaak Lim
2eeb756b6a - marked current_halfedge_handle as deprecated
- updated code to fix related warnings
- added some unittests to ensure unchanged behaviour when replacing current_halfedge_handle

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@917 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 12:47:48 +00:00
Jan Möbius
0217136b5e Next changeset
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@907 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:18:44 +00:00
Jan Möbius
50dc9e8478 Next change set for the new interface
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:26:50 +00:00
Matthias Möller
49125a05d7 close stl files with endsolid
refs #1713

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@900 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:15:53 +00:00
Jan Möbius
afda61f067 First set of changes to the new circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@898 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:40:10 +00:00
Hans-Christian Ebke
ab74a62b3e Fixed OBJWriter precision bug.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@881 fdac6126-5c0c-442c-9429-916003d36597
2013-07-30 08:43:40 +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
Jan Möbius
ea0b3cc511 size_t fixes in OM writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@859 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:52:14 +00:00