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
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
Matthias Möller
cd3587d21e
- decimater (incremental & mc) doesn't require normals anymore
...
- mod normalFlipping & normalDeviation computes normals, if mesh hasn't normals
- add 2 decimater unittest (decimating with normalFlipping and initialize all modules)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1049 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 08:12:17 +00:00
Jan Möbius
68a3ff3136
The annual License Header Bump (Sorry for the rebuilds ;-) )
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Jan Möbius
29011e25d2
Updated license headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Jan Möbius
89be8b4518
And the rest. OM is now clean again.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@911 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 12:44:52 +00:00
Jan Möbius
e21e113b50
Replaced all .handle() calls
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@904 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:43:06 +00:00
Jan Möbius
0d921e1be2
size_t fixes
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@862 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:01:53 +00:00
Jan Möbius
11376f3c0d
Fixed several conversion warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@850 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 16:01:46 +00:00
Jan Möbius
505ab99324
Updated License Headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@737 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:33:20 +00:00
Jan Möbius
0624a524ca
Keywords
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@735 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:25:00 +00:00
Isaak Lim
19ab724a82
took out workaround in McDecimater, since the RandomNumberGenerator is fixed now
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@728 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 09:24:55 +00:00
Jan Möbius
849ee4d293
Docu and indents
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@726 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:12:25 +00:00
Jan Möbius
ecb76539f3
Check for invalid HE handle
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@718 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 15:05:25 +00:00
Isaak Lim
e5ee41bca2
- added double cast
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@717 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 14:17:37 +00:00
Isaak Lim
020f990aab
- took out static_cast in McDecimater
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@716 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:27:00 +00:00
Isaak Lim
e0ed6ad954
- added random number generator to Core/Utils that generates a double between 0.0 and 1.0 with garantueed precision
...
- use this random number generator for the McDecimater under Windows, since RAND_MAX is not large enough
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@713 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:07:33 +00:00
Jan Möbius
ccfe862f80
Minor speedup of McDecimater
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@711 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:38:21 +00:00
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