Commit Graph

12 Commits

Author SHA1 Message Date
Jan Möbius
475115c3cf Indentations
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@690 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 12:00:46 +00:00
Isaak Lim
48289493f3 - added the set_error_tolerance_factor function to ModBaseT and implemented it in inherited classes as necessary
- added the set_error_tolerance_factor function to BaseDecimaterT, which calls set_error_tolerance_factor for all loaded Mods
- implemented a decimate_constraints_only function for the McDecimater (and adjusted the MixedDecimater accordingly)
- implemented stop criterions for the McDecimater
- added some OpenMP loops for the sample generation to the McDecimater

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@685 fdac6126-5c0c-442c-9429-916003d36597
2012-09-19 16:15:39 +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
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
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
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
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