Hans-Christian Ebke
8d24e6bb67
C++11: Moved C++11 specific unit test into #ifdef.
2015-11-19 16:44:14 +01:00
Hans-Christian Ebke
54d14e54c3
Purged another warning in unit tests.
2015-11-19 15:23:43 +01:00
Hans-Christian Ebke
498e4d033f
Purged warnings in unit tests.
2015-11-19 15:21:00 +01:00
Hans-Christian Ebke
580e5526d8
C++11: VectorT now also accepts non-arithmetic types as Scalar.
2015-11-19 15:20:41 +01:00
Hans-Christian Ebke
4c36fcfee8
Added more unit tests to VectorT.
2015-11-19 14:11:44 +01:00
Hans-Christian Ebke
07fa145057
C++11: Fixed VectorT::normalize_cond() implementation.
2015-11-19 14:09:03 +01:00
Hans-Christian Ebke
d511f65739
Added some more basic linear algebra unit tests for VectorT.
2015-11-19 10:27:11 +01:00
Hans-Christian Ebke
287da20912
C++11: Reimplemented VectorT without macros.
2015-11-18 15:11:48 +01:00
Jan Möbius
bbf51e4cc2
Fixed warnings in unit tests due to unused variables
2015-11-11 14:43:32 +01:00
Hans-Christian Ebke
dfcc98c845
C++11: Do CMake-less C++11 checking.
2015-11-10 15:00:19 +01:00
Hans-Christian Ebke
c2c627ed4d
C++11: Added _htmlColor literal operator.
...
Allows inline specification of colors in HTML syntax.
2015-11-09 18:51:00 +01:00
Hans-Christian Ebke
97ccb1d641
Modernized VectorT constructors in C++11 branch.
...
* Less redundancy.
* We can now make some of the VectorT constructors constexpr which is
useful for other features.
2015-11-09 18:46:39 +01:00
Hans-Christian Ebke
d85fe40f59
Added build support for C++11.
...
FindCXX11.cmake copied from OpenFlipper.
2015-11-09 18:04:43 +01:00
Martin Schultz
4c80b7e52f
* added more unittests for c++11 ranges vvrange and vertexrange
2015-10-01 16:27:12 +02:00
Martin Schultz
c8316a013e
* added basic vvrange testcase that checks if a mesh with only one vertex has an empty vvrange.
2015-09-29 17:12:43 +02:00
Martin Schultz
1e7fe6317d
fixes #2
...
* removes -ansi since -ansi enforces older c++ standard
2015-09-29 15:12:38 +02:00
Matthias Möller
fe86a44c1d
add custom property (with pod data type) support for binary ply files
...
closes #2496
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1331 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:20:26 +00:00
Matthias Möller
d00936aa14
add unittest for write stla
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1329 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:37:48 +00:00
Matthias Möller
ec436cd398
cleanup off writer output file
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1327 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:11:16 +00:00
Matthias Möller
1d28bd15db
add obj writer unittest
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1326 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:10:56 +00:00
Matthias Möller
e663fb9bac
fix crash when saving a mesh and a custom property was removed before
...
extend unittest for this case
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1323 fdac6126-5c0c-442c-9429-916003d36597
2015-07-28 18:16:16 +00:00
Jan Möbius
fc4089ff3b
Fixed bug in polymesh normal computation. Added more unittests for normal computation.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1316 fdac6126-5c0c-442c-9429-916003d36597
2015-07-25 19:28:39 +00:00
Jan Möbius
305aa1b244
Get rid of some windows preprocessor warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1315 fdac6126-5c0c-442c-9429-916003d36597
2015-07-24 13:19:40 +00:00
Jan Möbius
ac23cb90bb
Fixed warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1301 fdac6126-5c0c-442c-9429-916003d36597
2015-06-25 10:45:05 +00:00
Jan Möbius
afad5ef624
Added a test to check if we can continue to iterate from end after adding more vertices.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1296 fdac6126-5c0c-442c-9429-916003d36597
2015-06-22 13:55:47 +00:00
Jan Möbius
a92623dd8c
Removed experimental flag
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1293 fdac6126-5c0c-442c-9429-916003d36597
2015-06-19 08:43:20 +00:00
Matthias Möller
f0e51c54aa
fix output directory for windows
...
closes #2505
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1289 fdac6126-5c0c-442c-9429-916003d36597
2015-06-18 11:23:28 +00:00
Jan Möbius
0460f0811f
Fixed wrong rpath in unittest binary
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1288 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 10:57:51 +00:00
Jan Möbius
d94290c0fe
Use the acg macro to add the unittests to make sure flags are passed through (e.g. to enable c++11)
...
closes #2500
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1287 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 09:39:12 +00:00
Matthias Möller
a9315fdb58
- ply writer: add custom property support for ascii version
...
refs #2496
closes #2480
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1285 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 08:52:20 +00:00
Matthias Möller
59b0cafecd
- fix ply ascii reader with custom face properties which aren't declared as list
...
- extend unittest for this case
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1284 fdac6126-5c0c-442c-9429-916003d36597
2015-06-16 08:37:42 +00:00
Matthias Möller
324acba2f2
- load vertex color values as float in range of [0..1] instead of integers [0..255]
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1283 fdac6126-5c0c-442c-9429-916003d36597
2015-06-11 14:20:16 +00:00
Jan Möbius
f4f07472c6
Added c++11 test file
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1282 fdac6126-5c0c-442c-9429-916003d36597
2015-06-11 14:03:09 +00:00
Matthias Möller
d1ce0efb54
add write unittest for binary files
...
refs #2497
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1281 fdac6126-5c0c-442c-9429-916003d36597
2015-06-11 11:15:35 +00:00
Matthias Möller
030ef9b9e2
remove warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1271 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 12:23:21 +00:00
Matthias Möller
e1a72035c0
improve performance for small vectors/faces
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1269 fdac6126-5c0c-442c-9429-916003d36597
2015-05-26 12:08:32 +00:00
Matthias Möller
d8d26b7c18
ply ascii reader:
...
- add read support for custom list properties (vertices and faces)
closes #2370
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1268 fdac6126-5c0c-442c-9429-916003d36597
2015-05-18 11:52:18 +00:00
Hans-Christian Ebke
777f97837b
Added unit test for bool PropertyManager::set_range.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1264 fdac6126-5c0c-442c-9429-916003d36597
2015-05-11 16:28:10 +00:00
Jan Möbius
fc6ad8eb30
Added basic smoother compile test
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1263 fdac6126-5c0c-442c-9429-916003d36597
2015-05-07 07:08:25 +00:00
Matthias Möller
12b7069cf7
- fix warning with vector_cast
...
- add compile error, if vector_cast cannot be performed
- adds some color cast specializations
- add simple vector_cast unittest
closes #2409
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1249 fdac6126-5c0c-442c-9429-916003d36597
2015-03-24 10:36:41 +00:00
Matthias Möller
6ca78b0659
using dynamic request_attribute method for the example
...
closes #2422
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1242 fdac6126-5c0c-442c-9429-916003d36597
2015-03-11 12:46:32 +00:00
Martin
6b43727a01
* changed unittest for flipping triangleMeshes to use vhandles and removed std::endl
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1239 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 15:28:00 +00:00
Martin
d5f251260c
* added missing requestsfor polyMesh.
...
* fixed missing mesh. before to_vertex_handle / to_edge_handle
* fixed minor typo in documentation
* added unitTests for flipping / collapsing code snippets
closes #2420
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1238 fdac6126-5c0c-442c-9429-916003d36597
2015-03-10 15:18:51 +00:00
Matthias Möller
53371f63e1
- fix crash, if obj file contains degenerated faces
...
- added unittest for this case
closes #2382
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1236 fdac6126-5c0c-442c-9429-916003d36597
2015-03-09 09:56:41 +00:00
Matthias Möller
4020a879e6
moved face* circulators to old behavior
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1234 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 15:47:04 +00:00
Matthias Möller
53b9020496
bringing back the old circulators. marked decrement operator as deprecated. Please use CW/CCW iterators
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1230 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 12:59:54 +00:00
Matthias Möller
e8053753b1
cppcheck fp fix
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1228 fdac6126-5c0c-442c-9429-916003d36597
2015-02-24 09:58:47 +00:00
Matthias Möller
eb877fe9da
adding cw and ccw circulators
...
closes #2406
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1227 fdac6126-5c0c-442c-9429-916003d36597
2015-02-23 16:02:40 +00:00
Matthias Möller
0f9b4c2358
- changed lap_counter to int type
...
- extent circulator unittests for endings testing now the cases: (--endIter).is_valid and (++(--startIter)).is_valid
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1226 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 15:47:21 +00:00
Jan Möbius
1af153e52d
refs #1382
...
- Fixed the problem that the end iterator could become valid again if it was incremented.
- Decrementing the start iterator will return an invalid iterator now (Maybe we can implement reverse iterators)
- Removed one check from the iteration, which should result in faster execution of is_valid().
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1225 fdac6126-5c0c-442c-9429-916003d36597
2015-02-19 09:58:00 +00:00