Jan Möbius
0411effc88
Missed return of options
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@739 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 09:49:14 +00:00
Jan Möbius
19ceb62d1e
Made unittest for obj crash when colors are requested but not available
...
Made OBJ reader aware of user requests (Warning! Old default behaviour was wrong, because the reader read everything, without checking for the user options!)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@738 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 09:45:20 +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
f3312397a5
Updated License Headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Jan Möbius
59159b941e
Fixed the usage of vector traits such that the traits are used and not the vector types value_type. (Thanks to Mario Deuss for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@733 fdac6126-5c0c-442c-9429-916003d36597
2012-10-06 10:16:53 +00:00
Isaak Lim
4a49deb7ad
- fixed the RandomNumberGenerator, where it numbers greater than 1.0 could be returned
...
- activated the corresponding unit tests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@727 fdac6126-5c0c-442c-9429-916003d36597
2012-10-01 09:12:43 +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
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
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
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
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
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
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
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
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
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
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
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
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