Commit Graph

364 Commits

Author SHA1 Message Date
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
6428c6b9f4 Fixed more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@848 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 15:34:18 +00:00
Jan Möbius
3912532758 Moved code from header to cc file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@847 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 14:23:12 +00:00
Jan Möbius
b1c206793b Moved some code from header to cc file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@846 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 14:14:59 +00:00
Jan Möbius
fb38697831 More size_t fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@841 fdac6126-5c0c-442c-9429-916003d36597
2013-07-22 15:12:57 +00:00
Jan Möbius
ff5425d84f reserve and resize of the property vectors now take size_t
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@840 fdac6126-5c0c-442c-9429-916003d36597
2013-07-22 15:06:21 +00:00
Jan Möbius
dece923a4f Converted n_primitives() functions to size_t
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@838 fdac6126-5c0c-442c-9429-916003d36597
2013-06-12 13:41:43 +00:00
Matthias Möller
20b17c450a using c++ headers in c++ files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@837 fdac6126-5c0c-442c-9429-916003d36597
2013-06-12 13:14:36 +00:00
Matthias Möller
c657f9a125 - fix some cpp check warnings and errors
- fix "property_copy" which has no selfassign now

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@836 fdac6126-5c0c-442c-9429-916003d36597
2013-06-11 14:02:09 +00:00
Jan Möbius
1f1cffcdf2 Only delete edge self, if it is standalone
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@835 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 14:58:43 +00:00
Jan Möbius
45c5dab747 Allow PolyConnectivity::delete_edge to mark an edge as deleted, if there are no faces incident.
Added unittest.



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@834 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 13:58:32 +00:00
Jan Möbius
82135f21ab Missing this pointer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@820 fdac6126-5c0c-442c-9429-916003d36597
2013-03-05 07:35:35 +00:00
Hans-Christian Ebke
9a69c39b60 Undo: Some singular changes. (Sorry about that.)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@808 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:25:03 +00:00
Hans-Christian Ebke
152719a838 Some singular changes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@806 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:25 +00:00
Jan Möbius
feaf69d499 Wrong documentation about return type. closes #1387
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@795 fdac6126-5c0c-442c-9429-916003d36597
2013-01-23 09:32:00 +00:00
Jan Möbius
b025acaaa6 Make delete_face function work without edge status
Added unittests for delete_face



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@782 fdac6126-5c0c-442c-9429-916003d36597
2013-01-06 15:51:58 +00:00
Jan Möbius
7540cfabca Fixed copy and paste typo in split_copy for face handle
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@773 fdac6126-5c0c-442c-9429-916003d36597
2012-11-30 07:16:24 +00:00
Jan Möbius
618f7df524 Tried to fix documentation
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@772 fdac6126-5c0c-442c-9429-916003d36597
2012-11-27 12:08:12 +00:00
Jan Möbius
824ee5db29 More documentation for the is_boundary functions
Unittest for is_boundary (Vertices, faces)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@770 fdac6126-5c0c-442c-9429-916003d36597
2012-11-27 11:19:22 +00:00
Jan Möbius
0ef541d266 Return vertex handles of newly added vertices in split and split copy when passing points instead of handles
closes #1316



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@769 fdac6126-5c0c-442c-9429-916003d36597
2012-11-26 12:52:24 +00:00
Jan Möbius
dc094d817d Docu fix
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@760 fdac6126-5c0c-442c-9429-916003d36597
2012-11-06 07:41:28 +00:00
Jan Möbius
b93dffdc67 Fixed warnings in Composite computation (extra;)
Fixed missing this pointer in PolyMeshT.hh
Added unittest for dihedral angle function


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@757 fdac6126-5c0c-442c-9429-916003d36597
2012-11-02 07:28:25 +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
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
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
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
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
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
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
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
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
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
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