Commit Graph

122 Commits

Author SHA1 Message Date
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Jan Möbius
4fc8d8bdc0 Merge branch 'cppcheck_fix' into 'master'
Cppcheck fix

See merge request OpenMesh/OpenMesh!306
2021-06-02 07:53:00 +00:00
Jan Möbius
d9679b512f Fixed cppcheck warning, overwrite 2021-06-01 14:10:25 +02:00
Jan Möbius
48c2e464cb PLY writer: Added option to choose if we want to write texture coordinates as uv or ply (Thanks to Ossi Saukko for the patch) 2021-06-01 12:47:22 +02:00
Alexandra Heuschling
d1cad96bfc clean up code 2021-02-26 19:15:40 +01:00
Alexandra Heuschling
cc75d6a040 clean up code 2021-01-18 16:02:31 +01:00
Alexandra Heuschling
74132eff65 support now face coords for OM reader/writer 2021-01-13 14:15:08 +01:00
Alexandra Heuschling
1aa8e25bb8 fix indentation and add comments 2020-12-04 17:26:37 +01:00
Max Lyon
fcb7680610 use omlog instead of clog 2020-11-30 20:52:06 +01:00
Alexandra Heuschling
0b18560655 remove debugg output 2020-11-29 17:37:46 +01:00
Alexandra Heuschling
e81a771656 update version of OM file 2020-11-26 17:50:02 +01:00
Alexandra Heuschling
3f9bdce467 add check for types 2020-11-17 21:26:43 +01:00
Alexandra Heuschling
ede7dca790 Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties
# Conflicts:
#	src/OpenMesh/Core/IO/writer/OMWriter.cc
2020-11-10 16:48:50 +01:00
Alexandra Heuschling
53e68c18a1 add function to OMReader, to be consistent with OMWriter 2020-11-10 16:43:34 +01:00
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
b50dafaf34 add enum PropertyType, so that properties can be restored from .om files 2020-11-05 20:03:51 +01: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
63dd997489 let OMReader and OMWriter read and write double positions and normals 2020-02-05 22:13:36 +01:00
Max Lyon
ee752ce996 fix unsed variables in writers 2019-12-09 11:15:09 +01:00
Jan Möbius
669b1b789e cppcheck 2019-05-29 08:32:28 +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
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
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +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
Max Lyon
f8b906c2d9 add function to access current writer version 2018-10-23 11:20:41 +02:00
Max Lyon
1e9e4d5922 fix copy paste bugs for status writing 2018-10-12 14:05:52 +02:00
Max Lyon
f9b39f21c7 implement status informationr reading and writing 2018-10-12 11:35:18 +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
95fceb4545 write halfedge based mesh information to file 2018-08-08 10:58:13 +02:00
Max Lyon
3e4e954730 update om file format verision to 2.0 2018-08-08 10:54:46 +02:00
Jan Möbius
7765cef65a Fixed remaining cppcheck warnings and set max warnings to 0 2018-04-05 09:44:30 +02:00
Jan Möbius
76e33791e0 Fixed some cppcheck warnings 2018-04-05 09:08:44 +02:00
Jan Möbius
1cb02d946f Merge branch 'obj_exporter_fail_if_vertex_color_requested' into 'master'
obj exporter: fail if vertex color export was requested

See merge request OpenMesh/OpenMesh!150
2018-01-26 14:42:47 +01:00
Jan Möbius
0e3491ed88 obj exporter: fail if vertex color export was requested 2018-01-26 13:29:22 +01:00
Jan Möbius
2fb55bc26d Fix vertex texture coordinates export in OBJ exporter (Thanks to Manuel Massing for the patch) 2018-01-26 13:18:18 +01:00
Martin Schultz
b3417e5a88 applied fix for bad or missing vertex tex coords 2017-10-24 17:06:41 +02:00
Jan Möbius
da1ec03c6e OM Writer: Added Mark to the format header to identify end of stream correctly (Thanks to Jamie Kydd for the patch) 2016-12-27 08:10:10 +01:00
Jan Möbius
dc79c22a24 Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch) 2016-12-19 13:24:23 +01:00
Jan Möbius
3b0ee9316d Use static casts 2016-12-08 09:49:41 +01:00
Max Lyon
5cd9448a4e size_t int warning 2016-12-07 17:33:14 +01:00
Martin Schultz
80192d945b added code to write faceTexCoords to obj writer.
fixes #25
2016-06-29 16:58:59 +02:00
Jan Möbius
2822bb61a3 Add plain stl extension to stlwriter 2016-05-30 16:19:55 +02:00