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
f46a7a37bd
Typo fixed from last commit
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1059 fdac6126-5c0c-442c-9429-916003d36597
2014-05-13 10:36:57 +00:00
Jan Möbius
3aad61401f
Fixed copy paste typos in the vertex face and face face range code
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1058 fdac6126-5c0c-442c-9429-916003d36597
2014-05-13 10:33:24 +00:00
Jan Möbius
dfa030339b
Silence cppcheck for now
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1055 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 13:11:11 +00:00
Jan Möbius
89de6df7b6
Bump version to 3.2
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1054 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 12:44:42 +00:00
Jan Möbius
5104bf5c42
Silence most readers/writers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1053 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 12:44:18 +00:00
Jan Möbius
b88676b8af
Prepared for release
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1051 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 10:21:25 +00:00
Matthias Möller
afd846e233
fix mod name
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1050 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 08:12:41 +00:00
Matthias Möller
cd3587d21e
- decimater (incremental & mc) doesn't require normals anymore
...
- mod normalFlipping & normalDeviation computes normals, if mesh hasn't normals
- add 2 decimater unittest (decimating with normalFlipping and initialize all modules)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1049 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 08:12:17 +00:00
Matthias Möller
3bc356b2dd
fix cleanup in d'tor
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1048 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 07:11:36 +00:00
Jan Möbius
48f18d6410
PLY Reader Fix: locking up when loading some binary files ( Thanks to Peter Newman for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1042 fdac6126-5c0c-442c-9429-916003d36597
2014-05-07 11:43:53 +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
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
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
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
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
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
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
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
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