Commit Graph

444 Commits

Author SHA1 Message Date
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
6d58a6e16b cppcheck fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1074 fdac6126-5c0c-442c-9429-916003d36597
2014-05-30 09:45:39 +00:00
Jan Möbius
06d7452697 Updated changelog, updated doxyfile to 1.8.6
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1064 fdac6126-5c0c-442c-9429-916003d36597
2014-05-16 13:53:55 +00:00
Jan Möbius
0295f4a7d8 Silence Decimater test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1052 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 12:43:59 +00:00
Jan Möbius
e953f9977d - Fixed calc_normals_... functions (Missing this pointer)
- Added unittests for the normal calculation functions 


M    src/OpenMesh/Core/Mesh/PolyMeshT.cc
M    src/Unittests/unittests_trimesh_normal_calculations.cc


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1036 fdac6126-5c0c-442c-9429-916003d36597
2014-05-04 15:47:22 +00:00
Matthias Möller
ed07095bce remove unittest again, since it has problems on some machines
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1034 fdac6126-5c0c-442c-9429-916003d36597
2014-04-30 13:33:33 +00:00
Matthias Möller
92966a5aa5 possible fix and readd normal flipping test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1033 fdac6126-5c0c-442c-9429-916003d36597
2014-04-30 13:22:49 +00:00
Matthias Möller
bb3204f31a remove normal flipping test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1032 fdac6126-5c0c-442c-9429-916003d36597
2014-04-30 12:50:52 +00:00
Matthias Möller
ae9e82f524 add unittest for normal flipping module
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1031 fdac6126-5c0c-442c-9429-916003d36597
2014-04-30 12:29:57 +00:00
Matthias Möller
14794ad2eb remove unnecessary include and typedef
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1028 fdac6126-5c0c-442c-9429-916003d36597
2014-04-29 11:34:39 +00:00
Jan Möbius
92915b52e2 Unittest website decimater block
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1026 fdac6126-5c0c-442c-9429-916003d36597
2014-04-28 11:05:27 +00:00
Jan Möbius
6465c08ec7 Added HalfedgeLoop iterator to iterate over loops of halfedges (faces, hoes). closes #1979
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@988 fdac6126-5c0c-442c-9429-916003d36597
2014-01-15 15:44:28 +00:00
Jan Möbius
6c7d87b460 - Fixed crash of std::string initialization
- Fixed documentation mixing primitives



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@973 fdac6126-5c0c-442c-9429-916003d36597
2013-10-16 11:16:21 +00:00
Matthias Möller
02d84de9c2 fix 64-bit error
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@971 fdac6126-5c0c-442c-9429-916003d36597
2013-10-14 17:23:30 +00:00
Isaak Lim
e5a6424591 fixed cppcheck warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@970 fdac6126-5c0c-442c-9429-916003d36597
2013-10-14 14:03:31 +00:00
Isaak Lim
1b7ec6f47e fixed cppcheck warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@969 fdac6126-5c0c-442c-9429-916003d36597
2013-10-14 13:25:46 +00:00
Isaak Lim
185322a75b - updated the OpenMesh tutorials to be OM 3 compliant
- added all the tutorials except "Using IO::Options" as unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@968 fdac6126-5c0c-442c-9429-916003d36597
2013-10-14 12:56:49 +00:00
Isaak Lim
7afa595d14 added a unittest that checks if the VertexFaceIter also works at boundaries after replacing current_halfedge_handle
closes #1718

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@964 fdac6126-5c0c-442c-9429-916003d36597
2013-09-26 13:44:38 +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
Hans-Christian Ebke
bbb3a55ee7 Split up unit tests into multiple compile units.
Added mesh_cast unit test.


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@958 fdac6126-5c0c-442c-9429-916003d36597
2013-09-20 14:21:08 +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
Jan Möbius
ee37edb46b - Fixed segfault of copy_all_properties if one property has been removed before. (Thanks to Simon Flöry for the patch)
- Added unittest for this case



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@951 fdac6126-5c0c-442c-9429-916003d36597
2013-08-29 07:17:03 +00:00
Jan Möbius
c531ddf504 Cleaned up mess with test files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@950 fdac6126-5c0c-442c-9429-916003d36597
2013-08-22 06:15:26 +00:00
Matthias Möller
a6aec8068f add missing testfile
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@949 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 16:18:13 +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
cb731fb0d1 Fixed warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@932 fdac6126-5c0c-442c-9429-916003d36597
2013-08-15 08:42:39 +00:00
Jan Möbius
aaf0b00899 Stripifier unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@931 fdac6126-5c0c-442c-9429-916003d36597
2013-08-15 08:42:28 +00:00
Jan Möbius
68cf740954 Removed debug output
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@930 fdac6126-5c0c-442c-9429-916003d36597
2013-08-15 08:42:10 +00:00
Jan Möbius
fb8baf09a8 Mesh Dual unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@927 fdac6126-5c0c-442c-9429-916003d36597
2013-08-14 16:33:16 +00:00
Jan Möbius
2500606763 Build with variadic max of 10 on VS 2012
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@921 fdac6126-5c0c-442c-9429-916003d36597
2013-08-09 11:26:12 +00:00
Jan Möbius
b9d27321cb silence warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@919 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 14:22:30 +00:00
Isaak Lim
49cc1f0d12 got rid of calls to current_halfedge_handle() in corresponding unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@918 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 13:37:34 +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
89be8b4518 And the rest. OM is now clean again.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@911 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 12:44:52 +00:00
Jan Möbius
e30da7ea10 And another one
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@909 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:59:44 +00:00
Jan Möbius
e21e113b50 Replaced all .handle() calls
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@904 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:43:06 +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
Jan Möbius
1c8d4fb59b Use new dereferencing in unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@897 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:28:18 +00:00
Hans-Christian Ebke
7a2d40d8a6 Rewrite for all circulators complete.
Conflicts:
	src/OpenMesh/Core/Mesh/CirculatorsT.hh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@891 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:44 +00:00
Jan Möbius
c554eb6b56 Fixed some conversions in unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@854 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:32:02 +00:00
Jan Möbius
756878dc6e Fixed some conversions in unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@853 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:31:46 +00:00
Jan Möbius
5798ca37f6 Fixed several conversion warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@851 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 16:03:28 +00:00
Jan Möbius
c9c688949a Fixed some size_t warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@849 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 16:01:15 +00:00
Jan Möbius
45c5dab747 Allow PolyConnectivity::delete_edge to mark an edge as deleted, if there are no faces incident.
Added unittest.



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@834 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 13:58:32 +00:00
Jan Möbius
c99b3fb5b2 Added unittest to check halfedge iterator skipping and not skipping
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@833 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 12:54:52 +00:00
Jan Möbius
1ab842a6df Added unittest for collapse and is_collapse_ok
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@825 fdac6126-5c0c-442c-9429-916003d36597
2013-05-17 20:49:26 +00:00
Isaak Lim
83722b8e5f - fixed a bug with OBJReader that prevented the material color to be loaded correctly
- added a corresponding unittest

Thanks for the patch by Karthik Nathan

closes #1473

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@823 fdac6126-5c0c-442c-9429-916003d36597
2013-04-25 11:03:53 +00:00
Isaak Lim
837c866abb - added color float support for the OM OFF reader/writer
- added corresponding unittests
- small fix for the PLY writer

Note that for reading binary OFF files with color floats, the user has to set the flag, that floats are expected

closes #1410

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@818 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 16:36:20 +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
7460c8ac82 added a unittest that writes and reads a binary PLY file with vertex colors
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@814 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 12:02:40 +00:00