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
d085da3b89
Output message, if out of range
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@725 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:11:58 +00:00
Jan Möbius
9875b209c6
Write a float
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@724 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:11:39 +00:00
Jan Möbius
073cfd74d3
Avoid double next_halfedge_handle call in collapse_ok
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@723 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:11:05 +00:00
Jan Möbius
a1315c1dd9
Added getter for resolution
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@722 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:09:40 +00:00
Jan Möbius
339b4d34d4
Documentation and indents
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@721 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 07:09:01 +00:00
Jan Möbius
92f6c3a1c5
Disabled RNG unit test
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@720 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 15:54:35 +00:00
Jan Möbius
18a6b27cfe
Unittest for random number generator
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@719 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 15:28:38 +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
Jan Möbius
60e0cb36a1
Documentaion
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@715 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:19:17 +00:00
Isaak Lim
0f5235c28e
- some small fixes
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@714 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 13:15:38 +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
9478350b30
Removed debug stuff from mixed decimater
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@712 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:40:41 +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
26e59ab6d7
Added reset function to base decimater
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@710 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:34:14 +00:00
Jan Möbius
398844b1c6
Removed OpenMP stuff
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@709 fdac6126-5c0c-442c-9429-916003d36597
2012-09-28 09:33:48 +00:00
Jan Möbius
db14a8a186
Removed unused parameter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@708 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:24:03 +00:00
Jan Möbius
c5874871e0
Added new clean function removing only primitives
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@706 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:23:35 +00:00
Isaak Lim
10b271fb56
- added functionaliy for the STLWriter to also write to ostreams
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@705 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:18:43 +00:00
Isaak Lim
7d50c6def6
- added the functionality to read meshes from istreams with the STLReader
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@704 fdac6126-5c0c-442c-9429-916003d36597
2012-09-26 15:02:18 +00:00
Isaak Lim
e4ac38ce96
- removed redundant tests in is_collapse_legal that where already performed in is_collapse_ok
...
- on moneta this reduced the running time (release mode) of the incremental decimater from around 30 s to 27.5 s
when decimating 400 000 faces with a distance constraint of 1.0 and a normal dev. constraint of 10
- the McDecimater currently clocks in at around 7 s in average with the same constraints
refs #1005
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@703 fdac6126-5c0c-442c-9429-916003d36597
2012-09-26 12:26:32 +00:00
Matthias Möller
cbe0094b81
removed old code
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@702 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 15:22:29 +00:00
Jan Möbius
61eef1a1d7
DLL is no longer experimental, as it builds and executes fine on Windows
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@701 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 14:12:15 +00:00
Mike Kremer
e85363b374
copy dlls to unittest directory
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@700 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 12:56:27 +00:00
Mike Kremer
5834e277f7
- add dll export macros
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@699 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 10:10:22 +00:00
Jan Möbius
dcf5272a0d
Fixed shit of sunday
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@698 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 08:25:50 +00:00
Jan Möbius
209965768c
- Reorganize DLL Macros
...
- Added DLL import definition to Apps
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@697 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 06:06:35 +00:00
Jan Möbius
0a20e0e05c
Export Connetivity and Basekernel to DLL
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@696 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 15:00:39 +00:00
Jan Möbius
a1340983b1
Export reader and writer symbols to dll
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@695 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 14:49:46 +00:00
Jan Möbius
92e08dfacc
Typo
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@694 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 14:28:38 +00:00
Jan Möbius
08fbc5d574
Second test for DLL mode
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@693 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 14:25:16 +00:00
Jan Möbius
92e835b0af
First test for DLL Build
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@692 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 14:21:37 +00:00
Jan Möbius
dc1e08ebb1
First preperations for DLL Build on Windows
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@691 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 13:53:10 +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
Jan Möbius
c43e81f7b4
Updated documentation for the vertex_split operation
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@688 fdac6126-5c0c-442c-9429-916003d36597
2012-09-21 07:56:50 +00:00
Jan Möbius
0f328219db
- Modified copy_properties to include a flag, if the standard properties should be copied along with the other properties
...
- Added unittest to check if copy properties works for vertices
refs #990
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@687 fdac6126-5c0c-442c-9429-916003d36597
2012-09-21 07:17:31 +00:00
Isaak Lim
232bf5bb07
fixed warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@686 fdac6126-5c0c-442c-9429-916003d36597
2012-09-19 16:42:31 +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
Jan Möbius
33b72fb6ba
Fixed doxygen warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@684 fdac6126-5c0c-442c-9429-916003d36597
2012-09-19 16:08:25 +00:00
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