Commit Graph

560 Commits

Author SHA1 Message Date
Jan Möbius
8f9682f47e fix reading mtl files with texture only for obj files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1222 fdac6126-5c0c-442c-9429-916003d36597
2015-02-18 08:25:32 +00:00
Matthias Möller
74942b5eb7 fix "relink failed" condition
closes #1244

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1220 fdac6126-5c0c-442c-9429-916003d36597
2015-02-10 14:15:25 +00:00
Jan Möbius
85630a4a47 Don't use auto_ptr when compiler supports C++11. Replaced by unique_ptr.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1213 fdac6126-5c0c-442c-9429-916003d36597
2015-01-26 10:01:26 +00:00
Jan Möbius
b4883edc3e Fixed crash when writing with multiple threads to mostream. closes #2293
Note: This fix requires C++11 support



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1212 fdac6126-5c0c-442c-9429-916003d36597
2015-01-26 10:00:38 +00:00
Jan Möbius
f1a9b3a871 Avoid std::endl in the writers to avoid flushing the output stream on every line. (Thanks to Roman Zoller for the hint).
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1209 fdac6126-5c0c-442c-9429-916003d36597
2015-01-19 17:37:47 +00:00
Jan Möbius
a1617b1b98 Fixed various warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1208 fdac6126-5c0c-442c-9429-916003d36597
2015-01-16 15:24:36 +00:00
Jan Möbius
38aa39240a Switched version numbers in svn to OpenMesh 3.4
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1207 fdac6126-5c0c-442c-9429-916003d36597
2015-01-16 15:24:12 +00:00
Jan Möbius
e5579db355 Doxygen error
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1204 fdac6126-5c0c-442c-9429-916003d36597
2015-01-16 11:01:04 +00:00
Jan Möbius
707106ec42 Moved observer to separate file and added windows DLL mmacros. refs #2366
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1200 fdac6126-5c0c-442c-9429-916003d36597
2015-01-16 07:57:02 +00:00
Jan Möbius
771ee617d4 Documentation for Observer. refs #2366
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1199 fdac6126-5c0c-442c-9429-916003d36597
2015-01-16 07:47:33 +00:00
Jan Möbius
76545e6c68 OM3 compat
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1198 fdac6126-5c0c-442c-9429-916003d36597
2015-01-15 10:34:21 +00:00
Matthias Möller
b9fd3edef9 add observer pattern to all decimaters
closes #2366

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1197 fdac6126-5c0c-442c-9429-916003d36597
2015-01-15 10:19:39 +00:00
Matthias Möller
094a7f540f add read-only version of data_vector() function
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1196 fdac6126-5c0c-442c-9429-916003d36597
2015-01-14 15:41:22 +00:00
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
Matthias Möller
a505d427d2 fix 32/64-bit bug on windows (analyzer and synthesizer reads with unsigned int -> 32bit, writer writes size_t -> possible 64-bit)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1178 fdac6126-5c0c-442c-9429-916003d36597
2014-10-15 09:21:54 +00:00
Matthias Möller
725dde5532 fix comparison with invalid iterator
refs #2263

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1177 fdac6126-5c0c-442c-9429-916003d36597
2014-10-15 09:20:04 +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
db78e3d354 Undef unused define
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1151 fdac6126-5c0c-442c-9429-916003d36597
2014-08-29 08:32:53 +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
Matthias Möller
4d536cf558 fix error message and condition
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1104 fdac6126-5c0c-442c-9429-916003d36597
2014-07-17 13:35:15 +00:00
Matthias Möller
3ff415a5c2 qt5 apps support
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1103 fdac6126-5c0c-442c-9429-916003d36597
2014-07-17 12:57:04 +00:00
Matthias Möller
b2f528eb0a fixed template deduction error with float precision meshes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1099 fdac6126-5c0c-442c-9429-916003d36597
2014-07-05 18:59:27 +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
Matthias Möller
93fa136072 add hint, that the target mesh can be a triangle or a polymesh
closes #2185

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1095 fdac6126-5c0c-442c-9429-916003d36597
2014-06-25 10:59:25 +00:00
David Bommes
d77c740b86 re-added CatmullClark without point updates support
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1085 fdac6126-5c0c-442c-9429-916003d36597
2014-06-04 11:53:17 +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
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