Commit Graph

590 Commits

Author SHA1 Message Date
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
ae7ae806ae Added HalfedgeLoop iterator to iterate over loops of halfedges (faces, hoes). closes #1979
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@987 fdac6126-5c0c-442c-9429-916003d36597
2014-01-15 15:43:16 +00:00
Hans-Christian Ebke
18d44c13e7 Added more convenient versions of calc_edge_vector to PolyMeshT.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@986 fdac6126-5c0c-442c-9429-916003d36597
2014-01-11 22:52:16 +00:00
Jan Möbius
279e94ee24 cppcheck: Missing break
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@983 fdac6126-5c0c-442c-9429-916003d36597
2013-12-12 19:10:52 +00:00
Matthias Möller
6922a3ab60 add missing includes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@982 fdac6126-5c0c-442c-9429-916003d36597
2013-12-12 09:25:30 +00:00
Jan Möbius
c2388105c4 Build fix for getopt.h on Apple. (Thanks to Adam Vandenberg for the fix)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@978 fdac6126-5c0c-442c-9429-916003d36597
2013-11-28 11:11:26 +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
Hans-Christian Ebke
f134e74a88 Added getMesh property to PropertyManager.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@967 fdac6126-5c0c-442c-9429-916003d36597
2013-10-03 09:12:12 +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
733cb52240 fixed a bug in the STLReader where normals could be set for invalid face handles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@963 fdac6126-5c0c-442c-9429-916003d36597
2013-09-26 13:02:09 +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
dc5785e812 Put mesh_cast methods into surrounding namespace so clang finds them.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@960 fdac6126-5c0c-442c-9429-916003d36597
2013-09-23 09:35:47 +00:00
Hans-Christian Ebke
a7d3a16a28 Corrected documentation for mesh_cast related stuff.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@959 fdac6126-5c0c-442c-9429-916003d36597
2013-09-20 14:21:55 +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
8e6efff69f Uninitialized members
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@945 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 12:10:31 +00:00
Jan Möbius
f37ee2d46b Fixed 2 more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@944 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 12:03:51 +00:00
Jan Möbius
5822351444 Removed unused code
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@943 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 11:34:24 +00:00
Jan Möbius
3964a0028f Missed two in the last commit
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@942 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 11:29:16 +00:00
Jan Möbius
5cd4bc0444 cppcheck warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@941 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 10:00:59 +00:00
Jan Möbius
721a2cbb84 Fixed regression and Problem in OM writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@939 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 08:01:44 +00:00
Jan Möbius
cb25e07252 cppcheck
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@936 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 07:52:33 +00:00
Jan Möbius
201c0ceecb OM 3 change
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@935 fdac6126-5c0c-442c-9429-916003d36597
2013-08-20 15:45:10 +00:00
Jan Möbius
9ca759fb55 Fixed various cppcheck warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@934 fdac6126-5c0c-442c-9429-916003d36597
2013-08-20 14:55:38 +00:00
Jan Möbius
51f4f26300 Fixed more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@933 fdac6126-5c0c-442c-9429-916003d36597
2013-08-15 08:43:04 +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
3c452c89a8 More double float fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@929 fdac6126-5c0c-442c-9429-916003d36597
2013-08-14 16:36:00 +00:00
Jan Möbius
9d1213ed6b Some size_t fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@928 fdac6126-5c0c-442c-9429-916003d36597
2013-08-14 16:33:26 +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
Matthias Möller
76f0d13b84 enable deprecated warning for msvc
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@925 fdac6126-5c0c-442c-9429-916003d36597
2013-08-12 13:24:29 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +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
Hans-Christian Ebke
ef1727f21a Added mesh cast for meshes with different but identical traits.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@920 fdac6126-5c0c-442c-9429-916003d36597
2013-08-09 09:57:18 +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
Hans-Christian Ebke
cb16ac26d6 Removed unnecessary parameters from circulator members.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@916 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 10:15:53 +00:00
Isaak Lim
7bababee5c updated the documentation for the improved iterators and circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@915 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 09:22:50 +00:00
Matthias Möller
9076f9ec5a gcc version check based on compiler defines (fix for mingw)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@913 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 15:23:04 +00:00
Matthias Möller
116e0d8536 OM3 iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@912 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 14:33:08 +00:00