Commit Graph

426 Commits

Author SHA1 Message Date
Jan Möbius
bae99eebbf Fixed uninitialized variable 2022-01-19 09:00:24 +01:00
Jan Möbius
be2a4d9963 Removed warning 2022-01-17 16:13:05 +01:00
Jan Möbius
275a8e4e94 Silence some warnings in unittests 2022-01-17 16:05:15 +01:00
Jan Möbius
65abe0b926 Fixed size_t int comparisons 2022-01-17 15:57:37 +01:00
Jan
66271b6b0f Fixed unittest for double traits 2022-01-14 10:02:40 +01:00
Jan Möbius
d74c7aa020 Fixed OBJ reader not reading materials which start with a leading space 2021-09-24 12:56:39 +02:00
Jan Möbius
fad00c8eb9 Revert "Fixed OBJ reader not reading materials which start with a leading space"
This reverts commit f5e5aa83b1.
2021-09-24 12:55:54 +02:00
Jan Möbius
f5e5aa83b1 Fixed OBJ reader not reading materials which start with a leading space 2021-09-24 11:10:47 +02:00
Jan Möbius
c6833ff28a Merge branch 'CustomProperties' into 'master'
Automatic loading of properties stored in files without having to manually create the property before reading.

See merge request OpenMesh/OpenMesh!302
2021-03-17 09:39:52 +00:00
Max Lyon
768cbd4c5b add unittests for centroids 2021-03-16 18:55:51 +01:00
Max Lyon
8695c7e132 fix string for requesting int property 2021-03-16 12:22:35 +01:00
Max Lyon
5aa027d172 add test that checks if a property of type std::vector<T> with T not having a default constructor can be cerated 2021-03-15 17:11:34 +01:00
Max Lyon
2a4fd0b887 rename string_for_value_type to type_identifier 2021-03-15 16:15:24 +01:00
Max Lyon
cdc1d11ef1 update mesh file v2.1 to include string and RegisteredDataType 2021-03-15 15:26:33 +01:00
Max Lyon
d714d361ee add read write check for string 2021-03-15 14:16:23 +01:00
Max Lyon
b742e1e398 add read write check for RegisteredDataType 2021-03-15 13:58:07 +01:00
Max Lyon
eb0ff0f980 Merge branch 'master' into CustomProperties 2021-03-15 09:53:00 +01:00
Alexandra Heuschling
b44f4888f0 update unit test also for std::vector<bool> 2021-03-15 01:51:02 +01:00
Max Lyon
eb9d631346 adjust unittests for new CW CCW behavior 2021-03-09 15:33:05 +01:00
Max Lyon
f63c4a54bb add test file for range tests 2021-03-09 10:57:44 +01:00
Max Lyon
69caa276da test custom starts and cw and ccw ranges for vih_ranges and voh_ranges 2021-03-09 09:04:55 +01:00
Max Lyon
6b311cef76 add tests for vectors of vectors and vectors of vectors of vectors 2021-03-02 12:02:18 +01:00
Max Lyon
ee53f78b65 fix indentation 2021-03-02 11:14:46 +01:00
Max Lyon
677bdacb99 add test for property type vector<vector<int>> 2021-03-02 02:11:35 +01:00
Max Lyon
71e05a9f5f fix typo 2021-03-02 01:21:47 +01:00
Alexandra Heuschling
5fd6d8ce44 Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties 2021-02-26 19:19:37 +01:00
Alexandra Heuschling
086c2459eb adapt unittest for version 2.1 and 2.2 2021-02-26 19:18:56 +01:00
Jan
b7a9f8af46 Merge branch 'master' into CustomProperties 2021-02-17 17:16:37 +01:00
Jan Möbius
0031513835 Fixed a crash in the modified butterfly subdivider with vertices with valance larger than 30. 2021-02-16 13:13:15 +01:00
Jan Möbius
0bc24d587d Added unittest for pointproperty access 2021-02-15 14:46:54 +01:00
Jan Möbius
5ea19a5247 Added unittest for pointproperty access 2021-02-15 14:46:17 +01:00
Jan Möbius
af9741fe3b Fix bad unittest 2021-01-29 09:07:25 +01:00
Jan Möbius
a76898f12a Remove VS 11 definition (not supported anymore) 2021-01-21 12:48:51 +01:00
Max Lyon
e61eb85fd2 Merge branch 'peristent_property_manager' into CustomProperties
# Conflicts:
#	src/OpenMesh/Core/IO/writer/OMWriter.cc
#	src/Unittests/unittests_read_write_OM.cc
2021-01-19 15:53:29 +01:00
Jan Möbius
cfe1ed2fa5 Add warning if Eigen is not found 2021-01-15 13:58:48 +01:00
Jan Möbius
b9cd4027ea Merge branch 'cmake-library' into 'master'
use CMake library

See merge request OpenMesh/OpenMesh!288
2021-01-15 10:12:11 +01:00
Alexandra Heuschling
c1cb10c178 clean up unittest 2021-01-13 14:16:18 +01:00
Alexandra Heuschling
74132eff65 support now face coords for OM reader/writer 2021-01-13 14:15:08 +01:00
Alexandra Heuschling
443fcd78a0 rename data type 2021-01-06 23:29:58 +01:00
Alexandra Heuschling
9db985e2a6 added custom type to unit test 2021-01-05 17:51:44 +01:00
Alexandra Heuschling
6932a33414 added static function string_for_value_type (void) to binary struct
and adapted each instance
2021-01-05 17:50:52 +01:00
Alexandra Heuschling
ef529c8b52 refactor functionality. Types can now be registered 2020-12-21 15:22:46 +01:00
Max Lyon
bc7d5044a5 more renaming of acg to vci 2020-12-07 14:06:26 +01:00
Max Lyon
50363592be renaming of functions and variables in cmake-library 2020-12-07 13:18:53 +01:00
Alexandra Heuschling
b9054f5e55 add property of type bool to unittest for OM files 2020-12-04 17:27:04 +01:00
Alexandra Heuschling
1aa8e25bb8 fix indentation and add comments 2020-12-04 17:26:37 +01:00
Alexandra Heuschling
efc5937523 fix a bug where unittest would fail due to bad testfile 2020-12-03 12:44:04 +01:00
Martin Heistermann
843fff12a3 CMake: use regular find_package(Eigen3) instead of custom old-school finder 2020-12-02 19:26:21 +01:00
Alexandra Heuschling
3b6424c1a7 add support for signed char 2020-12-01 16:34:40 +01:00
Max Lyon
bc6f7b75d9 add property creator that can create properties from strings 2020-11-30 20:53:18 +01:00