Commit Graph

687 Commits

Author SHA1 Message Date
Jan Möbius
a7450f15f5 Fixed wrong normal calculation in calc_face_normal for Poly Meshes.
closes #2427


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1247 fdac6126-5c0c-442c-9429-916003d36597
2015-03-20 11:57:57 +00:00
Matthias Möller
6ca78b0659 using dynamic request_attribute method for the example
closes #2422

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1242 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 12:46:32 +00:00
Matthias Möller
efa160ccc9 fix windows warning about unknown preprocessor define
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1240 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 17:01:09 +00:00
Martin
6b43727a01 * changed unittest for flipping triangleMeshes to use vhandles and removed std::endl
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1239 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 15:28:00 +00:00
Martin
d5f251260c * added missing requestsfor polyMesh.
* fixed missing mesh. before to_vertex_handle / to_edge_handle
* fixed minor typo in documentation
* added unitTests for flipping / collapsing code snippets
closes #2420

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1238 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 15:18:51 +00:00
Isaak Lim
fddf79f1a3 Alexander Dielen:
- updated the tutorial with further information on how to build the python bindings
- updated the cmake file so that cmake finds boost python installations with the names python2 and python3
- fixed a cmake warning on os x (Policy CMP0042: MACOSX_RPATH)
- fixed a bug in the unit test test_add_face.py

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1237 fdac6126-5c0c-442c-9429-916003d36597
2015-03-09 16:39:11 +00:00
Matthias Möller
53371f63e1 - fix crash, if obj file contains degenerated faces
- added unittest for this case

closes #2382

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1236 fdac6126-5c0c-442c-9429-916003d36597
2015-03-09 09:56:41 +00:00
Matthias Möller
4020a879e6 moved face* circulators to old behavior
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1234 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 15:47:04 +00:00
Matthias Möller
4cd1955f4b remove deprecated functions from new circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1233 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 14:59:44 +00:00
Matthias Möller
ec3667c198 - improve warning text
- add checkbox to disable warning

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1232 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 14:51:24 +00:00
Matthias Möller
3aa79dcdaf fix dep warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1231 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 13:03:44 +00:00
Matthias Möller
53b9020496 bringing back the old circulators. marked decrement operator as deprecated. Please use CW/CCW iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1230 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 12:59:54 +00:00
Matthias Möller
e8053753b1 cppcheck fp fix
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1228 fdac6126-5c0c-442c-9429-916003d36597
2015-02-24 09:58:47 +00:00
Matthias Möller
eb877fe9da adding cw and ccw circulators
closes #2406

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1227 fdac6126-5c0c-442c-9429-916003d36597
2015-02-23 16:02:40 +00:00
Matthias Möller
0f9b4c2358 - changed lap_counter to int type
- extent circulator unittests for endings testing now the cases: (--endIter).is_valid and (++(--startIter)).is_valid

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1226 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 15:47:21 +00:00
Jan Möbius
1af153e52d refs #1382
- Fixed the problem that the end iterator could become valid again if it was incremented.
- Decrementing the start iterator will return an invalid iterator now (Maybe we can implement reverse iterators)
- Removed one check from the iteration, which should result in faster execution of is_valid().



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1225 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 09:58:00 +00:00
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
Isaak Lim
81a7ee7341 windows specific fix for finding and testing the boost python configuration
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1219 fdac6126-5c0c-442c-9429-916003d36597
2015-02-09 10:20:39 +00:00
Isaak Lim
c1da4db775 don't require boost-python
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1216 fdac6126-5c0c-442c-9429-916003d36597
2015-02-03 10:27:12 +00:00
Isaak Lim
0d4abeb2c3 strip pythonlibs version string of possible other characters than 0-9 and . (e.g. '+')
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1215 fdac6126-5c0c-442c-9429-916003d36597
2015-02-03 10:23:06 +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
Jan Möbius
3eac86c9e4 Signed unsigned warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1186 fdac6126-5c0c-442c-9429-916003d36597
2014-12-10 13:02:38 +00:00
Jan Möbius
36fed2d4ec Fixed clang warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1185 fdac6126-5c0c-442c-9429-916003d36597
2014-12-10 10:01:40 +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
3750e2a633 fix cppcheck warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1180 fdac6126-5c0c-442c-9429-916003d36597
2014-10-15 09:45:31 +00:00
Matthias Möller
b6dcb8ada6 add unittest for vdpm (read and write/read)
closes #2263

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1179 fdac6126-5c0c-442c-9429-916003d36597
2014-10-15 09:27:01 +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
cc08cfa957 Fixed python inclusion of example
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1175 fdac6126-5c0c-442c-9429-916003d36597
2014-09-16 14:56:01 +00:00
Jan Möbius
8a19cd851e Python source
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1171 fdac6126-5c0c-442c-9429-916003d36597
2014-09-16 11:15:13 +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