Commit Graph

372 Commits

Author SHA1 Message Date
Matthias Möller
c8a634f365 - compiler error instead of run-time error when using a constructor which doesn't belongs to the vector's dimension
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1194 fdac6126-5c0c-442c-9429-916003d36597
2015-01-14 13:13:14 +00:00
Matthias Möller
0a32eb9ea5 add specializations for 5/6 dimension vectors
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1193 fdac6126-5c0c-442c-9429-916003d36597
2015-01-14 13:11:23 +00:00
Hans-Christian Ebke
2aed896a45 Added helpful doxygen descriptions to circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1189 fdac6126-5c0c-442c-9429-916003d36597
2015-01-08 09:29:49 +00:00
Jan Möbius
b3778b230f Updated copyright headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Hans-Christian Ebke
7978e545c3 PropertyManager: Added static copy(...) convenience method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1183 fdac6126-5c0c-442c-9429-916003d36597
2014-11-05 17:03:36 +00:00
Hans-Christian Ebke
09190c7c25 Fixed constness of EntityRange begin() and end() methods.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1182 fdac6126-5c0c-442c-9429-916003d36597
2014-11-05 17:03:35 +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
Hans-Christian Ebke
5f66980952 PropertyManager: Added copy_to method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1176 fdac6126-5c0c-442c-9429-916003d36597
2014-10-08 08:49:06 +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
Matthias Möller
040bfbb0f5 fix this ptr
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1146 fdac6126-5c0c-442c-9429-916003d36597
2014-08-28 11:44:20 +00:00
Matthias Möller
d633dfc737 - change name of the types "True" and "False" to "TrueType" and "FalseType" to clearify, that these are types
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1137 fdac6126-5c0c-442c-9429-916003d36597
2014-08-11 09:47:41 +00:00
Jan Möbius
0bc61d5839 OM3 fix
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1129 fdac6126-5c0c-442c-9429-916003d36597
2014-07-31 09:29:42 +00:00
Matthias Möller
208e753e89 remove excluding condition
Thanks to Javier Granado for the hint

closes #2247

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1114 fdac6126-5c0c-442c-9429-916003d36597
2014-07-25 09:13:33 +00:00
Jan Möbius
28c8ec465b Bump version number of OpenMesh to 3.3
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1111 fdac6126-5c0c-442c-9429-916003d36597
2014-07-18 11:50:37 +00:00
Hans-Christian Ebke
10bcfd50ff Added PropertyManager::move to C++11 branch.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1096 fdac6126-5c0c-442c-9429-916003d36597
2014-06-26 11:38:13 +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
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
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
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
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
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
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