Commit Graph

316 Commits

Author SHA1 Message Date
Jan Möbius
fb8baf09a8 Mesh Dual unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@927 fdac6126-5c0c-442c-9429-916003d36597
2013-08-14 16:33:16 +00:00
Jan Möbius
2500606763 Build with variadic max of 10 on VS 2012
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@921 fdac6126-5c0c-442c-9429-916003d36597
2013-08-09 11:26:12 +00:00
Jan Möbius
b9d27321cb silence warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@919 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 14:22:30 +00:00
Isaak Lim
49cc1f0d12 got rid of calls to current_halfedge_handle() in corresponding unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@918 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 13:37:34 +00:00
Isaak Lim
2eeb756b6a - marked current_halfedge_handle as deprecated
- updated code to fix related warnings
- added some unittests to ensure unchanged behaviour when replacing current_halfedge_handle

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@917 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 12:47:48 +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
e30da7ea10 And another one
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@909 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:59:44 +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
50dc9e8478 Next change set for the new interface
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:26:50 +00:00
Jan Möbius
1c8d4fb59b Use new dereferencing in unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@897 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:28:18 +00:00
Hans-Christian Ebke
7a2d40d8a6 Rewrite for all circulators complete.
Conflicts:
	src/OpenMesh/Core/Mesh/CirculatorsT.hh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@891 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:44 +00:00
Jan Möbius
c554eb6b56 Fixed some conversions in unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@854 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:32:02 +00:00
Jan Möbius
756878dc6e Fixed some conversions in unittests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@853 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:31:46 +00:00
Jan Möbius
5798ca37f6 Fixed several conversion warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@851 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 16:03:28 +00:00
Jan Möbius
c9c688949a Fixed some size_t warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@849 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 16:01:15 +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
c99b3fb5b2 Added unittest to check halfedge iterator skipping and not skipping
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@833 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 12:54:52 +00:00
Jan Möbius
1ab842a6df Added unittest for collapse and is_collapse_ok
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@825 fdac6126-5c0c-442c-9429-916003d36597
2013-05-17 20:49:26 +00:00
Isaak Lim
83722b8e5f - fixed a bug with OBJReader that prevented the material color to be loaded correctly
- added a corresponding unittest

Thanks for the patch by Karthik Nathan

closes #1473

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@823 fdac6126-5c0c-442c-9429-916003d36597
2013-04-25 11:03:53 +00:00
Isaak Lim
837c866abb - added color float support for the OM OFF reader/writer
- added corresponding unittests
- small fix for the PLY writer

Note that for reading binary OFF files with color floats, the user has to set the flag, that floats are expected

closes #1410

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@818 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 16:36:20 +00:00
Isaak Lim
57b3908771 - the OM PLY writer and reader can now also handle color floats
- added corresponding unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@817 fdac6126-5c0c-442c-9429-916003d36597
2013-03-01 15:32:46 +00:00
Isaak Lim
7460c8ac82 added a unittest that writes and reads a binary PLY file with vertex colors
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@814 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 12:02:40 +00:00
Isaak Lim
cc19635cdd split unittests_loading into seperate files for different file types
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@813 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 11:25:24 +00:00
Isaak Lim
76e06be7a5 added a ply file written with MeshLab and a corresponding unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@810 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 09:34:56 +00:00
Isaak Lim
740d23ed36 - read_mesh now throws a compile error if an Options::Flag enum is passed as an argument instead of an Options object
- added a unit test for writing and reading vertex colors to and from an OFF file. The default color type Vec3uc from DefaultTraits in Traits.hh is used.

refs #1404

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@809 fdac6126-5c0c-442c-9429-916003d36597
2013-02-25 13:30:56 +00:00
Jan Möbius
8ccd4b1601 Commited too much
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@802 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 16:18:44 +00:00
Jan Möbius
154ad58568 Removed unused variable
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@801 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 16:06:16 +00:00
Jan Möbius
7d2f6608b7 Uinittest for face halfedge circulator
Uinittest for face edge circulator



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@794 fdac6126-5c0c-442c-9429-916003d36597
2013-01-15 08:42:39 +00:00
Jan Möbius
82f9839ae6 Unittest for Face vertex iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@793 fdac6126-5c0c-442c-9429-916003d36597
2013-01-14 10:00:31 +00:00
Jan Möbius
3c4ce5ab35 Tests for vertex edge iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@792 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 16:03:24 +00:00
Jan Möbius
2bcf4fbfc7 VertexFace Iter test at boundary
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@791 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 15:52:22 +00:00
Jan Möbius
2c61f7779d Added vertex vertex iterator tests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@790 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 15:46:30 +00:00
Jan Möbius
03ab8604fe Removed extra step for i and o halfedge iters
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@789 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 15:45:52 +00:00
Jan Möbius
2892e3a2ea Added Unittests for VertexIHalfedgeIter
Added Unittests for boundary case of incoming and outgoing halfedge iterator



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@788 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 15:30:22 +00:00
Jan Möbius
f618eb8fc0 Typos
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@787 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 14:54:46 +00:00
Jan Möbius
0756fe28fa Splitted unittests for circulators into seperate files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@786 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 14:48:48 +00:00
Jan Möbius
d083514fd0 Added unittest to create an vertex iterator at a specific offset
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@785 fdac6126-5c0c-442c-9429-916003d36597
2013-01-09 07:43:05 +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
5b46d7ffab Added delete face unittests (not yet active!)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@781 fdac6126-5c0c-442c-9429-916003d36597
2013-01-06 15:18:11 +00:00
Jan Möbius
ac94d92a8e Added test for abs function
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@774 fdac6126-5c0c-442c-9429-916003d36597
2012-12-05 16:34:15 +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
dc58d3dff5 Small unittest to check the handles of a vertexohalfedge iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@767 fdac6126-5c0c-442c-9429-916003d36597
2012-11-22 11:20:30 +00:00
Jan Möbius
5569c8d27e Small unittest to check the handles of a vertexohalfedge iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@766 fdac6126-5c0c-442c-9429-916003d36597
2012-11-22 11:20:13 +00:00
Jan Möbius
7453571040 Added a unittest to create the strange configuration.
Still have to analyze in more detail.



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@758 fdac6126-5c0c-442c-9429-916003d36597
2012-11-05 16:01:17 +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
Isaak Lim
cb981241c4 - fixed typedef problems
- split unittests for uniform and adaptive subdivider

refs #261

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@756 fdac6126-5c0c-442c-9429-916003d36597
2012-10-31 11:58:22 +00:00
Isaak Lim
485356abab - removed a wrong assertion in the refine method for vector handles
- added unittests for the adaptive composite subdivider

closes #261

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@755 fdac6126-5c0c-442c-9429-916003d36597
2012-10-31 10:29:40 +00:00
Jan Möbius
471e62003e Added unittest for vector cross product
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@754 fdac6126-5c0c-442c-9429-916003d36597
2012-10-31 07:40:50 +00:00
Isaak Lim
eea5f4304a added another unittest to check if the user options are returned correctly in the OM reader
refs #1077


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@744 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:30:39 +00:00
Isaak Lim
6aa98b5b7c - now the OM reader also checks user options
- added some corresponding unittests

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@743 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:25:36 +00:00