Commit Graph

750 Commits

Author SHA1 Message Date
Jan Möbius
db4bfbf3b9 Fix for c++11 call to pointer to member function of type 'VertexIter ()' drops 'const' qualifier (Thanks to Ronald Richter and Kenshi Takayama for the fix)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1021 fdac6126-5c0c-442c-9429-916003d36597
2014-04-23 10:48:39 +00:00
Jan Möbius
1d121ee8c7 Removed unused variable
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1001 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 08:06:08 +00:00
Jan Möbius
377bf721ac Added simple VTK writer writing only vertices and faces (Thanks to Vladimir Chalupecky for the code). closes #2039
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1000 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:18:21 +00:00
Jan Möbius
383b75b20b Fixed material writer using wrong stream (Thanks to Vladimir Chalupecky for the fix). closes #2037
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@999 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:15:27 +00:00
Hans-Christian Ebke
a0097fe3e0 PropertyManager: Added set_range method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@998 fdac6126-5c0c-442c-9429-916003d36597
2014-02-25 14:01:12 +00:00
Hans-Christian Ebke
61c893321e PropertyManager: Added duplicate method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@996 fdac6126-5c0c-442c-9429-916003d36597
2014-02-13 09:25:46 +00:00
Jan Möbius
cecb706e70 Added missing include
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@995 fdac6126-5c0c-442c-9429-916003d36597
2014-02-12 14:29:15 +00:00
Jan Möbius
f66a1c3dc4 Version bump to 3.1
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@993 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 15:40:20 +00:00
Jan Möbius
68a3ff3136 The annual License Header Bump (Sorry for the rebuilds ;-) )
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Hans-Christian Ebke
a0cf6bac3c OpenMesh: Added convenience method for face centroid computation.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@989 fdac6126-5c0c-442c-9429-916003d36597
2014-01-29 15:05:09 +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
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