Commit Graph

94 Commits

Author SHA1 Message Date
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
Isaak Lim
8c41187816 added some more unittests for the PLY loader with different user options
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@742 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 12:39:43 +00:00
Isaak Lim
b409f83040 - the PLY reader now checks the options set by the user and will skip components that are not requested
- modified the loading unittest to test this behavior

refs #1077

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@741 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 11:44:29 +00:00
Isaak Lim
51edc31eba added unittests (trimesh and polymesh) for split_copy
closes #1027


git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@740 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 10:13:55 +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
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
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
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
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
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
175939f879 Added new but unused and unsupported unittest for faceless meshes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@671 fdac6126-5c0c-442c-9429-916003d36597
2012-09-12 10:52:15 +00:00
Matthias Möller
27d5229f43 add missing file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@667 fdac6126-5c0c-442c-9429-916003d36597
2012-09-10 14:06:07 +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
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
Matthias Möller
86f8f79710 remove mixed decimater unittest
refs #1007

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@655 fdac6126-5c0c-442c-9429-916003d36597
2012-08-30 08:13:34 +00:00
Matthias Möller
fb399d960a removed some new unit tests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@654 fdac6126-5c0c-442c-9429-916003d36597
2012-08-23 10:09:13 +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
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