Commit Graph

248 Commits

Author SHA1 Message Date
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
Max Lyon
3583c77f3d add methods to importer to create a mesh based on halfedges 2018-08-08 10:58:51 +02:00
Max Lyon
95fceb4545 write halfedge based mesh information to file 2018-08-08 10:58:13 +02:00
Max Lyon
b511128131 add methods to exporter for accessing halfedges for vertices and faces and for accessing next halfface, incident vertex and incident face for halfedges 2018-08-08 10:55:44 +02:00
Max Lyon
3e4e954730 update om file format verision to 2.0 2018-08-08 10:54:46 +02:00
Alexander Dielen
c79e5b2e63 register vtk writer for static builds 2018-07-05 17:00:02 +02: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
24a1eafc9a Fixed slow OBJ reader (Thanks to Etienne Danvoye for the patch)
Updated changelog
2018-05-29 07:42:01 +02:00
Jan Möbius
f308270716 Work around ptr_fun deprecation (Thanks to Andreas Fabri for the patch) 2018-04-18 08:41:41 +02:00
Jan Möbius
0441ba5fa8 Work around ptr_fun deprecation (Thanks to Andreas Fabri for the patch) 2018-04-18 08:41:17 +02:00
Jan Möbius
018652e5a4 Only Issue Warning if compile Order for MeshIO.hh is violated. Remove Check if errors are reported. 2018-04-05 14:09:47 +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
958b7a1c09 Merge branch 'implicit_fallthrough' into 'master'
Fix implicit fallthrough warning on gcc

See merge request OpenMesh/OpenMesh!152
2018-01-26 16:06:18 +01: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
d1088ae2e5 Fix implicit fallthrough warning on gcc 2018-01-26 13:38:21 +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 Heistermann
f714802c8d Add missing break statements in OM::IO::restore 2017-11-08 11:18:26 +01:00
Martin Schultz
b3417e5a88 applied fix for bad or missing vertex tex coords 2017-10-24 17:06:41 +02:00
Martin Schultz
41aab48143 modified the add_face function of importerT to always return a valid
FaceHandle
2017-06-29 13:38:22 +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
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
Jan Möbius
f377c86a43 Merge branch 'fixOBJWriterMissingTexcoords' into 'master'
added code to write faceTexCoords to obj writer.

fixes #25 
* Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.
* Added functionality to store FaceTexCoords to objwriter
* Added unittest to write and read faceTexcoords with a test obj file

See merge request !73
2016-10-27 14:31:59 +02:00
Jan Möbius
b7aabbd912 Fixed some warnings 2016-10-24 14:01:06 +02:00