Jan Möbius
c7575e439e
Garbage collection with tracking of handles. ( Thanks to Maxime Quiblier for the base of this update)
...
Unit tests for garbage collection (halfedges still missing yet)
uint->unsigned int changes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@640 fdac6126-5c0c-442c-9429-916003d36597
2012-08-02 16:56:15 +00:00
Jan Möbius
bbd81b0211
Fixed wrong type in unit test
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@638 fdac6126-5c0c-442c-9429-916003d36597
2012-08-01 07:08:55 +00:00
Jan Möbius
e6f7c1f87b
Typos
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@637 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 09:02:07 +00:00
Jan Möbius
168d8cbbf2
Fixed comments
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@636 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 08:58:03 +00:00
Jan Möbius
e8f8b62ff0
Created unittest adding a cube with 12 faces triangulated to a trimesh
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@635 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 08:55:32 +00:00
Jan Möbius
a2bb45bd0f
Extended min max warning to allow undefs
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@634 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 07:51:30 +00:00
Jan Möbius
b5b1a08a6f
Added a Unittest for creating a cube with 6 quads in a poly mesh
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@631 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 07:06:25 +00:00
Hans-Christian Ebke
e48308ea17
Core/Utils: Added PropertyManager class.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@630 fdac6126-5c0c-442c-9429-916003d36597
2012-07-24 17:52:32 +00:00
Jan Möbius
b85c224c96
gcc-4.7 compatibility
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@629 fdac6126-5c0c-442c-9429-916003d36597
2012-07-24 09:24:28 +00:00
Jan Möbius
a146d6c8c8
Fixed gcc-4.7 error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@628 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 13:04:20 +00:00
Jan Möbius
f6af84f5f8
Fixed warning due to unisgned int int comparison
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@626 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 07:53:52 +00:00
Jan Möbius
2a1375175d
Windows build error fixed
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@625 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 07:17:45 +00:00
Jan Möbius
ebff217ec5
Added unittest, to check if halfedges were marked as deleted, if the edges are deleted
...
Fixed delete_face function, not marking halfedges as deleted, if the edge gets deleted.
(Thanks to Maxime Quiblier for the bug report)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@622 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 07:00:10 +00:00
Jan Möbius
6a3fb965f8
Fixed build warning due to types
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@621 fdac6126-5c0c-442c-9429-916003d36597
2012-07-18 13:28:26 +00:00
Jan Möbius
46ab02296e
Fix: OM Reader used different types on 32/64-bit systems. (Thanks to Martin Bayer for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@620 fdac6126-5c0c-442c-9429-916003d36597
2012-07-17 10:13:27 +00:00
Hans-Christian Ebke
c18d288043
Removed bogus return statement from void methods.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@618 fdac6126-5c0c-442c-9429-916003d36597
2012-07-13 08:36:56 +00:00
Hans-Christian Ebke
d42d01de91
Added return value to TriMesh::split operation.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@617 fdac6126-5c0c-442c-9429-916003d36597
2012-07-13 08:36:54 +00:00
Jan Möbius
b3b2819166
Fixed build failure with gcc 4.7
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@613 fdac6126-5c0c-442c-9429-916003d36597
2012-07-03 12:22:31 +00:00
Jan Möbius
f71f7fc4df
Fixed build failure with gcc 4.7
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@612 fdac6126-5c0c-442c-9429-916003d36597
2012-07-03 12:21:06 +00:00
Jan Möbius
2fd9818384
Increased maximal valence for modified butterfly scheme
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@610 fdac6126-5c0c-442c-9429-916003d36597
2012-06-28 10:50:47 +00:00
Jan Möbius
653b1b8f56
Added catmull clark subdivider. Thanks to Leon Kos for the code.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@609 fdac6126-5c0c-442c-9429-916003d36597
2012-06-28 09:32:20 +00:00
Jan Möbius
330ec3d133
Added unittest for getting handles and faces from the iterator
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@608 fdac6126-5c0c-442c-9429-916003d36597
2012-06-22 12:50:36 +00:00
Jan Möbius
85bfcb2064
Fixed cppcheck warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@604 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 11:56:36 +00:00
Jan Möbius
500ad20dad
Fixed cppcheck warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@603 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 11:55:59 +00:00
Jan Möbius
3d2472c072
Added missing file
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@601 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 08:10:00 +00:00
Jan Möbius
a3f36c2d73
Some documentation and cleanup for the add_face functions.
...
Unittests for add_face on triangle and quad meshes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@600 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 07:55:12 +00:00
Jan Möbius
e658918cca
Fixed bug in halfedge normal computation, where a boundary halfedge was not correctly handled and caused a segfault.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@599 fdac6126-5c0c-442c-9429-916003d36597
2012-06-20 14:50:15 +00:00
Matthias Möller
7122a29e64
add missing obj file for unit test
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@597 fdac6126-5c0c-442c-9429-916003d36597
2012-06-18 13:27:46 +00:00
Matthias Möller
6d4008c948
- add: unittests for texcoords and normals
...
- add: set normals per halfedge if requested
refs #838
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@596 fdac6126-5c0c-442c-9429-916003d36597
2012-06-18 13:14:58 +00:00
Jan Möbius
a06f72a040
Fixed multiple connections of the omlog streams. closes #917
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@587 fdac6126-5c0c-442c-9429-916003d36597
2012-06-13 07:41:02 +00:00
Jan Möbius
b1dfc57365
Cleaned up indentation to be readable again
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@586 fdac6126-5c0c-442c-9429-916003d36597
2012-05-22 09:15:15 +00:00
Isaak Lim
2abb9cba32
added unittests for ascii and binary stl files
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@584 fdac6126-5c0c-442c-9429-916003d36597
2012-05-09 11:03:11 +00:00
Jan Möbius
a3c8369a27
Fixed stl reader by porting it to std string. It had serious problems in utf8 environments
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@583 fdac6126-5c0c-442c-9429-916003d36597
2012-05-08 15:05:10 +00:00
Isaak Lim
a79eab0528
added a check to is_collapse_ok in TriConnectivity if the edge is already deleted or not.
...
moved the equivalent check in PolyConnectivity to the top of the is_collapse_ok function.
closes #681
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@582 fdac6126-5c0c-442c-9429-916003d36597
2012-05-08 10:48:07 +00:00
Jan Möbius
0340ccf054
Fixed usage of operator | instead of dot
...
Added unittest for that
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@581 fdac6126-5c0c-442c-9429-916003d36597
2012-05-03 16:32:11 +00:00
Jan Möbius
c656256933
Fixed debug build crash on mac, reading from stringstream into emtpy string crashed when compiling with clang
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@579 fdac6126-5c0c-442c-9429-916003d36597
2012-05-02 12:34:42 +00:00
Jan Möbius
7cfc461f66
Fixed documentation warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@578 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 18:17:47 +00:00
Jan Möbius
efba0c9060
Improved block checks
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@576 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:10:23 +00:00
Jan Möbius
a96ca67b16
Improved block for update_normals if properties don't exist. Documentation for update normals improved
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@575 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:06:29 +00:00
Jan Möbius
dd0cd46eaa
Added build only unittest for normal computations
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@574 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:05:52 +00:00
Jan Möbius
d8a2c1daff
Fixed cppcheck warning about possible null pointer reference
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@573 fdac6126-5c0c-442c-9429-916003d36597
2012-04-05 15:10:37 +00:00
Jan Möbius
75acdcf860
Making Binary IO readers multi-thread safe. (Thanks to Dominic Genest for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@571 fdac6126-5c0c-442c-9429-916003d36597
2012-04-05 14:26:34 +00:00
Jan Möbius
77ede4fac5
Document triangulate function in polymesh with more details
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@570 fdac6126-5c0c-442c-9429-916003d36597
2012-04-05 14:25:45 +00:00
Jan Möbius
dd1ff3061f
Updated collapse documentation
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@569 fdac6126-5c0c-442c-9429-916003d36597
2012-04-04 07:42:59 +00:00
Jan Möbius
efe9633d51
Another small unittest for collapsing an halfedge
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@568 fdac6126-5c0c-442c-9429-916003d36597
2012-04-04 07:36:52 +00:00
Jan Möbius
3c0e93e261
Bugfix: File handle from opening binary STL file isn't released. (Thanks to Peter Newmann for the path) closes #493
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@567 fdac6126-5c0c-442c-9429-916003d36597
2012-03-30 09:47:37 +00:00
Jan Möbius
4ee67642e1
Fixed doxygen warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@566 fdac6126-5c0c-442c-9429-916003d36597
2012-03-23 17:00:57 +00:00
Jan Möbius
f94143d10b
Fixed documentation warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@565 fdac6126-5c0c-442c-9429-916003d36597
2012-03-21 16:07:44 +00:00
Jan Möbius
4c33a61404
Fixed documentation warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@564 fdac6126-5c0c-442c-9429-916003d36597
2012-03-21 16:06:55 +00:00
Jan Möbius
1afa9669ff
Fxed doxygen warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@563 fdac6126-5c0c-442c-9429-916003d36597
2012-03-21 15:56:38 +00:00