Commit Graph

316 Commits

Author SHA1 Message Date
Matthias Möller
6ca78b0659 using dynamic request_attribute method for the example
closes #2422

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1242 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 12:46:32 +00:00
Martin
6b43727a01 * changed unittest for flipping triangleMeshes to use vhandles and removed std::endl
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1239 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 15:28:00 +00:00
Martin
d5f251260c * added missing requestsfor polyMesh.
* fixed missing mesh. before to_vertex_handle / to_edge_handle
* fixed minor typo in documentation
* added unitTests for flipping / collapsing code snippets
closes #2420

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1238 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 15:18:51 +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
Matthias Möller
4020a879e6 moved face* circulators to old behavior
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1234 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 15:47:04 +00:00
Matthias Möller
53b9020496 bringing back the old circulators. marked decrement operator as deprecated. Please use CW/CCW iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1230 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 12:59:54 +00:00
Matthias Möller
e8053753b1 cppcheck fp fix
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1228 fdac6126-5c0c-442c-9429-916003d36597
2015-02-24 09:58:47 +00:00
Matthias Möller
eb877fe9da adding cw and ccw circulators
closes #2406

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1227 fdac6126-5c0c-442c-9429-916003d36597
2015-02-23 16:02:40 +00:00
Matthias Möller
0f9b4c2358 - changed lap_counter to int type
- extent circulator unittests for endings testing now the cases: (--endIter).is_valid and (++(--startIter)).is_valid

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1226 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 15:47:21 +00:00
Jan Möbius
1af153e52d refs #1382
- Fixed the problem that the end iterator could become valid again if it was incremented.
- Decrementing the start iterator will return an invalid iterator now (Maybe we can implement reverse iterators)
- Removed one check from the iteration, which should result in faster execution of is_valid().



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1225 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 09:58:00 +00:00
Matthias Möller
74942b5eb7 fix "relink failed" condition
closes #1244

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1220 fdac6126-5c0c-442c-9429-916003d36597
2015-02-10 14:15:25 +00:00
Matthias Möller
b9fd3edef9 add observer pattern to all decimaters
closes #2366

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1197 fdac6126-5c0c-442c-9429-916003d36597
2015-01-15 10:19:39 +00:00
Jan Möbius
3eac86c9e4 Signed unsigned warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1186 fdac6126-5c0c-442c-9429-916003d36597
2014-12-10 13:02:38 +00:00
Jan Möbius
36fed2d4ec Fixed clang warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1185 fdac6126-5c0c-442c-9429-916003d36597
2014-12-10 10:01:40 +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
Matthias Möller
3750e2a633 fix cppcheck warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1180 fdac6126-5c0c-442c-9429-916003d36597
2014-10-15 09:45:31 +00:00
Matthias Möller
b6dcb8ada6 add unittest for vdpm (read and write/read)
closes #2263

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1179 fdac6126-5c0c-442c-9429-916003d36597
2014-10-15 09:27:01 +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
Jan Möbius
7e0d758ad2 Fixed wanring
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1149 fdac6126-5c0c-442c-9429-916003d36597
2014-08-28 13:21:29 +00:00
Jan Möbius
71fd144089 Fixed unsigned signed comparison
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1100 fdac6126-5c0c-442c-9429-916003d36597
2014-07-08 09:25:09 +00:00
Jan Möbius
fb4b159261 Fixed cppcheck unused variable
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1097 fdac6126-5c0c-442c-9429-916003d36597
2014-07-01 08:04:15 +00:00
Matthias Möller
95e8669846 add unittest for textured meshes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1094 fdac6126-5c0c-442c-9429-916003d36597
2014-06-25 10:50:10 +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
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