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
Hans-Christian Ebke
21562a7c38
PolyConnectivity: Added range based circulators courtesy of Kenshi Takayama. (Thanks!)
...
Also rearranged the code a bit in order to have all range based stuff
in one place and limited line width to 80 chars.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1035 fdac6126-5c0c-442c-9429-916003d36597
2014-05-02 08:58:56 +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
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