Jan Möbius
b43f6e09ad
Added split copy operations, which copy properties of splitted elements to the newly created ones. ( Thanks to Duncan Paterson for the patch ).
...
Improved documentation on the split functions
refs #971
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@683 fdac6126-5c0c-442c-9429-916003d36597
2012-09-19 15:42:03 +00:00
Isaak Lim
b02909e890
removed OpenMP for loops, which caused problems because priority_collapse was executed in parallel
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@682 fdac6126-5c0c-442c-9429-916003d36597
2012-09-18 16:39:09 +00:00
Isaak Lim
688a65aba0
fixed Windows OpenMP error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@681 fdac6126-5c0c-442c-9429-916003d36597
2012-09-18 13:19:37 +00:00
Isaak Lim
cddb183af5
added some OpenMP for loops for the generation of samples
...
refs #1005
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@680 fdac6126-5c0c-442c-9429-916003d36597
2012-09-18 12:24:42 +00:00
Isaak Lim
60774dbdfa
fixed the stop criterion
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@679 fdac6126-5c0c-442c-9429-916003d36597
2012-09-18 10:54:01 +00:00
Isaak Lim
e3f061f0f0
added a stop criterion for the MC-Decimater, so that an endless loop is prevented from occuring if no vertex or face constraints are given
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@678 fdac6126-5c0c-442c-9429-916003d36597
2012-09-18 10:28:26 +00:00
Isaak Lim
99c8dca30c
took out an OpenMP for loop that caused non-deterministic behaviour
...
refs #1005
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@677 fdac6126-5c0c-442c-9429-916003d36597
2012-09-17 13:37:23 +00:00
Jan Möbius
a036b00d5f
Added functions to copy all properties between entities. (Thanks to Duncan Paterson for the patch)
...
refs #990
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@675 fdac6126-5c0c-442c-9429-916003d36597
2012-09-17 08:02:13 +00:00
Hans-Christian Ebke
77c02b8107
OpenMesh/Core/Utils/PropertyManager: Added non-C++0x move capabilities.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@674 fdac6126-5c0c-442c-9429-916003d36597
2012-09-17 06:28:07 +00:00
Isaak Lim
dea5c91e4a
- added some OpenMP loops to ModHausdorffT and defined some variables as const for speedup
...
refs #1005
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@673 fdac6126-5c0c-442c-9429-916003d36597
2012-09-14 14:26:28 +00:00
Jan Möbius
90fa2e1ab1
Added a function to copy single properties between entities of same type. (Thanks to Duncan Paterson for the patch)
...
refs #990
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@672 fdac6126-5c0c-442c-9429-916003d36597
2012-09-14 06:22:36 +00:00
Hans-Christian Ebke
f8632ce3a0
OpenMesh/Core/Utils/PropertyManager: Added property to retain() method.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@670 fdac6126-5c0c-442c-9429-916003d36597
2012-09-11 18:16:04 +00:00
Hans-Christian Ebke
1d29252126
Core/Utils/PropertyManager: Added createIfNotExists factory method.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@669 fdac6126-5c0c-442c-9429-916003d36597
2012-09-11 18:16:01 +00:00
Hans-Christian Ebke
3bd89949a9
Added range based for loops compatible ranges to PolyConnectivity.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@668 fdac6126-5c0c-442c-9429-916003d36597
2012-09-11 18:16:00 +00:00
Matthias Möller
0e15808378
- readd unittests
...
- fix McDecimater random crash
refs #1007
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@666 fdac6126-5c0c-442c-9429-916003d36597
2012-09-10 13:59:42 +00:00
Isaak Lim
94ec0ac3f4
Improved the documentation regarding garbage collection and iterators.
...
closes #1010
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@665 fdac6126-5c0c-442c-9429-916003d36597
2012-09-10 13:45:45 +00:00
Jan Möbius
8e35c50bf7
Fixed update of halfedge handles for extended garbage collection
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@662 fdac6126-5c0c-442c-9429-916003d36597
2012-09-10 09:36:48 +00:00
Jan Möbius
28398292a5
Fixed the new updating garbage collection as it produced garbage
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@661 fdac6126-5c0c-442c-9429-916003d36597
2012-09-07 18:09:05 +00:00
Jan Möbius
23bf459eff
Updated garbage collection documentation
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@660 fdac6126-5c0c-442c-9429-916003d36597
2012-09-07 16:37:29 +00:00
Jan Möbius
82ef0a086a
In debug mode write a warning message in garbage collection, if the status flags are missing for one of the primitives.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@659 fdac6126-5c0c-442c-9429-916003d36597
2012-09-07 16:24:50 +00:00
Jan Möbius
727157bab2
Don't crash in garbage collection, if certain status flags are not available
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@658 fdac6126-5c0c-442c-9429-916003d36597
2012-09-07 16:17:25 +00:00
Jan Möbius
2b52b9a9f6
Fixed wrong version number in OM config header
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@656 fdac6126-5c0c-442c-9429-916003d36597
2012-09-07 16:16:20 +00:00
Matthias Möller
6c9fc60520
add: mixedDecimater
...
add: unittests (for all Decimaters)
fix: collapses counter in McDecimater
refs #998
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@653 fdac6126-5c0c-442c-9429-916003d36597
2012-08-22 08:49:55 +00:00
Matthias Möller
8038dfb390
- fix init bug for decimater apps (using priority modules now)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@652 fdac6126-5c0c-442c-9429-916003d36597
2012-08-15 09:52:01 +00:00
Matthias Möller
d19afb03fb
- more this ptr
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@651 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 16:10:57 +00:00
Matthias Möller
a093b541c3
- rename module template parameters
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@650 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 15:15:17 +00:00
Jan Möbius
54fafe054b
Missing this pointers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@649 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 14:48:20 +00:00
Matthias Möller
9894b6fdfe
fix: virtual destructor in base class
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@648 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 14:37:38 +00:00
Matthias Möller
e50135facc
- fix doc warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@647 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 14:12:39 +00:00
Matthias Möller
d1213f23ea
fix decimater module template parameter for Apps
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@646 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 14:04:23 +00:00
Matthias Möller
1af3dcac53
- decimater modules doesn't need a decimater type as template argument
...
- add decimater base class
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@645 fdac6126-5c0c-442c-9429-916003d36597
2012-08-08 13:43:05 +00:00
Jan Möbius
34e3b8ee86
Aded multiple choice decimater (~4 times faster than the heap one)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@644 fdac6126-5c0c-442c-9429-916003d36597
2012-08-06 16:10:52 +00:00
Jan Möbius
0ebf091e56
Changed signature
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@641 fdac6126-5c0c-442c-9429-916003d36597
2012-08-02 16:59:45 +00:00
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
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
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
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
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
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