Commit Graph

366 Commits

Author SHA1 Message Date
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
Jan Möbius
34e3b8ee86 Aded multiple choice decimater (~4 times faster than the heap one)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@644 fdac6126-5c0c-442c-9429-916003d36597
2012-08-06 16:10:52 +00:00
Jan Möbius
155fd054a6 Fixed wrong unittest include guard
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@643 fdac6126-5c0c-442c-9429-916003d36597
2012-08-06 16:10:18 +00:00
Jan Möbius
580ffdc936 Missing unit test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@642 fdac6126-5c0c-442c-9429-916003d36597
2012-08-02 17:02:55 +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
bbd81b0211 Fixed wrong type in unit test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@638 fdac6126-5c0c-442c-9429-916003d36597
2012-08-01 07:08:55 +00:00
Jan Möbius
e6f7c1f87b Typos
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@637 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 09:02:07 +00:00
Jan Möbius
168d8cbbf2 Fixed comments
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@636 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 08:58:03 +00:00
Jan Möbius
e8f8b62ff0 Created unittest adding a cube with 12 faces triangulated to a trimesh
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@635 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 08:55:32 +00:00
Jan Möbius
b5b1a08a6f Added a Unittest for creating a cube with 6 quads in a poly mesh
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@631 fdac6126-5c0c-442c-9429-916003d36597
2012-07-31 07:06:25 +00:00
Jan Möbius
f6af84f5f8 Fixed warning due to unisgned int int comparison
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@626 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 07:53:52 +00:00
Jan Möbius
2a1375175d Windows build error fixed
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@625 fdac6126-5c0c-442c-9429-916003d36597
2012-07-23 07:17:45 +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
653b1b8f56 Added catmull clark subdivider. Thanks to Leon Kos for the code.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@609 fdac6126-5c0c-442c-9429-916003d36597
2012-06-28 09:32:20 +00:00
Jan Möbius
330ec3d133 Added unittest for getting handles and faces from the iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@608 fdac6126-5c0c-442c-9429-916003d36597
2012-06-22 12:50:36 +00:00
Jan Möbius
3d2472c072 Added missing file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@601 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 08:10:00 +00:00
Jan Möbius
a3f36c2d73 Some documentation and cleanup for the add_face functions.
Unittests for add_face on triangle and quad meshes.




git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@600 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 07:55:12 +00:00
Matthias Möller
7122a29e64 add missing obj file for unit test
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@597 fdac6126-5c0c-442c-9429-916003d36597
2012-06-18 13:27:46 +00:00
Matthias Möller
6d4008c948 - add: unittests for texcoords and normals
- add: set normals per halfedge if requested

refs #838

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@596 fdac6126-5c0c-442c-9429-916003d36597
2012-06-18 13:14:58 +00:00
Isaak Lim
2abb9cba32 added unittests for ascii and binary stl files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@584 fdac6126-5c0c-442c-9429-916003d36597
2012-05-09 11:03:11 +00:00
Jan Möbius
0340ccf054 Fixed usage of operator | instead of dot
Added unittest for that



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@581 fdac6126-5c0c-442c-9429-916003d36597
2012-05-03 16:32:11 +00:00
Jan Möbius
efba0c9060 Improved block checks
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@576 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:10:23 +00:00
Jan Möbius
dd0cd46eaa Added build only unittest for normal computations
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@574 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:05:52 +00:00
Jan Möbius
efe9633d51 Another small unittest for collapsing an halfedge
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@568 fdac6126-5c0c-442c-9429-916003d36597
2012-04-04 07:36:52 +00:00
Jan Möbius
6945e3ad52 Added flag to make builds of tests optional via cmake flag
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@541 fdac6126-5c0c-442c-9429-916003d36597
2012-02-29 10:30:21 +00:00
Jan Möbius
b808c1020d Added missing function data_vector to bool specialization. Added corresponding unit tests. closes #451
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@537 fdac6126-5c0c-442c-9429-916003d36597
2012-02-24 10:11:01 +00:00
Jan Möbius
df009745bb Add unittests always, if google test was found
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@534 fdac6126-5c0c-442c-9429-916003d36597
2012-02-23 14:00:41 +00:00
Jan Möbius
22d8f033c3 Fixed array bound in unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@531 fdac6126-5c0c-442c-9429-916003d36597
2012-01-24 13:01:00 +00:00
Jan Möbius
7d092c7465 Tests for ply reader with and without normals, ascii mode
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@477 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:54:11 +00:00