Commit Graph

16 Commits

Author SHA1 Message Date
Isaak Lim
76e06be7a5 added a ply file written with MeshLab and a corresponding unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@810 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 09:34:56 +00:00
Isaak Lim
740d23ed36 - read_mesh now throws a compile error if an Options::Flag enum is passed as an argument instead of an Options object
- added a unit test for writing and reading vertex colors to and from an OFF file. The default color type Vec3uc from DefaultTraits in Traits.hh is used.

refs #1404

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@809 fdac6126-5c0c-442c-9429-916003d36597
2013-02-25 13:30:56 +00:00
Isaak Lim
eea5f4304a added another unittest to check if the user options are returned correctly in the OM reader
refs #1077


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@744 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:30:39 +00:00
Isaak Lim
6aa98b5b7c - now the OM reader also checks user options
- added some corresponding unittests

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@743 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:25:36 +00:00
Isaak Lim
8c41187816 added some more unittests for the PLY loader with different user options
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@742 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 12:39:43 +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
19ceb62d1e Made unittest for obj crash when colors are requested but not available
Made OBJ reader aware of user requests (Warning! Old default behaviour was wrong, because the reader read everything, without checking for the user options!)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@738 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 09:45:20 +00:00
Jan Möbius
f6af84f5f8 Fixed warning due to unisgned int int comparison
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@626 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 07:53:52 +00:00
Matthias Möller
6d4008c948 - add: unittests for texcoords and normals
- add: set normals per halfedge if requested

refs #838

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@596 fdac6126-5c0c-442c-9429-916003d36597
2012-06-18 13:14:58 +00:00
Isaak Lim
2abb9cba32 added unittests for ascii and binary stl files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@584 fdac6126-5c0c-442c-9429-916003d36597
2012-05-09 11:03:11 +00:00
Jan Möbius
7d092c7465 Tests for ply reader with and without normals, ascii mode
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@477 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:54:11 +00:00
Jan Möbius
d361e5dbdc OBJ Reader support for vertex colors after vertices or Vertex colors as separate lines. (Thanks to Bruno Dutailly)
Added unittests for vertex colors



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@475 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:16:29 +00:00
Jan Möbius
ee710c8083 Added two unittests for loading
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@465 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 08:59:11 +00:00
Jan Möbius
ebbd41aaf3 Added unittest for simple ply with encoding problems
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@462 fdac6126-5c0c-442c-9429-916003d36597
2011-11-25 14:49:07 +00:00
Jan Möbius
285cdae318 Added unittest for decimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@407 fdac6126-5c0c-442c-9429-916003d36597
2011-09-01 10:33:58 +00:00
Mike Kremer
025b962924 Created first unittest for OpenMesh.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@405 fdac6126-5c0c-442c-9429-916003d36597
2011-09-01 09:28:38 +00:00