Commit Graph

1191 Commits

Author SHA1 Message Date
Matthias Möller
162ca6d9b6 removed some unnecessary double negations
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1273 fdac6126-5c0c-442c-9429-916003d36597
2015-06-03 07:19:08 +00:00
Matthias Möller
b74e1bd7d7 fix cppcheck
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1272 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 13:23:45 +00:00
Matthias Möller
030ef9b9e2 remove warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1271 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 12:23:21 +00:00
Matthias Möller
ae7f75d881 - remove paranthese warning
- remove redundant double negation, as the type is already bool
- replaced inline condition with cast

closes #2491

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1270 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 12:09:32 +00:00
Matthias Möller
e1a72035c0 improve performance for small vectors/faces
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1269 fdac6126-5c0c-442c-9429-916003d36597
2015-05-26 12:08:32 +00:00
Matthias Möller
d8d26b7c18 ply ascii reader:
- add read support for custom list properties (vertices and faces)


closes #2370

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1268 fdac6126-5c0c-442c-9429-916003d36597
2015-05-18 11:52:18 +00:00
Jan Möbius
eed151aa90 Fixed wrong docu
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1267 fdac6126-5c0c-442c-9429-916003d36597
2015-05-15 15:08:38 +00:00
Jan Möbius
b15a392b9c Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1266 fdac6126-5c0c-442c-9429-916003d36597
2015-05-12 11:05:46 +00:00
Hans-Christian Ebke
1197b0d7d3 Fixing PropertyManager so that it cooperates with bool properties even on unforgiving implementations (such as clang).
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1265 fdac6126-5c0c-442c-9429-916003d36597
2015-05-12 09:55:33 +00:00
Hans-Christian Ebke
777f97837b Added unit test for bool PropertyManager::set_range.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1264 fdac6126-5c0c-442c-9429-916003d36597
2015-05-11 16:28:10 +00:00
Jan Möbius
fc6ad8eb30 Added basic smoother compile test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1263 fdac6126-5c0c-442c-9429-916003d36597
2015-05-07 07:08:25 +00:00
Jan Möbius
61ad320d4e Fixed old OM3 port warning in smoother
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1262 fdac6126-5c0c-442c-9429-916003d36597
2015-05-07 07:08:07 +00:00
Jan Möbius
021b7a4320 - Fix for Smoother set_relative error (Thanks to Leonardo Cecchinato for the fix)
- Improved SmootherT.hh Documentation



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1261 fdac6126-5c0c-442c-9429-916003d36597
2015-05-07 06:15:24 +00:00
Matthias Möller
beae0ffce3 extend "can_read" function. returns true, if no explicit filename is given, but just the extension.
closes #2431

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1260 fdac6126-5c0c-442c-9429-916003d36597
2015-05-06 14:08:32 +00:00
Jan Möbius
77f9360197 Fixed bad search and replace results
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1259 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:12:40 +00:00
Jan Möbius
fd4bcb39ea Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d Fixed bad typo in comment
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
28df7fd995 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1256 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:41:59 +00:00
Jan Möbius
26e3e07fb7 Added Readme
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1255 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:37:59 +00:00
Jan Möbius
5a4f98c469 Renamed licenseheader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1254 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:36:40 +00:00
Jan Möbius
0a4c1dc206 Get rid of the old ACGMakeFiles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1253 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:35:09 +00:00
Jan Möbius
83486e0b5f Relicense to BSD
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Jan Möbius
167aef5a38 Removed GPL License text
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1251 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 08:37:42 +00:00
Jan Möbius
01430db4d0 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1250 fdac6126-5c0c-442c-9429-916003d36597
2015-04-14 10:36:56 +00:00
Matthias Möller
12b7069cf7 - fix warning with vector_cast
- add compile error, if vector_cast cannot be performed
- adds some color cast specializations
- add simple vector_cast unittest

closes #2409

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1249 fdac6126-5c0c-442c-9429-916003d36597
2015-03-24 10:36:41 +00:00
Jan Möbius
823b0486d5 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1248 fdac6126-5c0c-442c-9429-916003d36597
2015-03-20 12:06:52 +00:00
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
Jan Möbius
07ab9c4bd0 No copy after build required for doc, as its copied by doxygen anyway
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1246 fdac6126-5c0c-442c-9429-916003d36597
2015-03-12 08:38:53 +00:00
Jan Möbius
b7c2307919 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1245 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 13:47:17 +00:00
Jan Möbius
3362dd5535 Fixed ugly documentation layout of code snippet
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1244 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 13:42:53 +00:00
Matthias Möller
24708d0f3c fix code snippets
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1243 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 12:50:02 +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
Jan Möbius
7c589bb661 Default to release build type if not selected via cmake. Only on non Win platforms
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1241 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 11:30:14 +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
Jan Möbius
bf21ed8ad0 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1235 fdac6126-5c0c-442c-9429-916003d36597
2015-03-05 09:11:24 +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
Jan Möbius
c7a41edafd Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1229 fdac6126-5c0c-442c-9429-916003d36597
2015-02-24 11:17:49 +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
7b6feb5db1 Example for locking vertices in decimater
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1224 fdac6126-5c0c-442c-9429-916003d36597
2015-02-18 11:38:02 +00:00