Commit Graph

2681 Commits

Author SHA1 Message Date
Max Lyon
8695c7e132 fix string for requesting int property 2021-03-16 12:22:35 +01:00
Max Lyon
90da974598 update which properties are registered 2021-03-16 12:16:37 +01:00
Max Lyon
d017c03c62 disable binary<std::vector<T>> specialization if T is not default constructible 2021-03-15 17:11:57 +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
1ebff93a31 add breaking change about binary struct in docu 2021-03-15 16:15:46 +01:00
Max Lyon
2a4fd0b887 rename string_for_value_type to type_identifier 2021-03-15 16:15:24 +01:00
Max Lyon
20baccda4c Remove Property specialization for std::string 2021-03-15 15:26:48 +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
453b5eba67 fix size_of in binary<vector> 2021-03-15 14:15:37 +01:00
Max Lyon
7f6e86ff62 simplify how names for property types are generated 2021-03-15 14:15:18 +01:00
Max Lyon
b742e1e398 add read write check for RegisteredDataType 2021-03-15 13:58:07 +01:00
Max Lyon
39ba13266b remove binary specialization for vector of string 2021-03-15 13:55:43 +01:00
Max Lyon
d6e3226714 remove some debug output 2021-03-15 10:26:00 +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
Alexandra Heuschling
06d770d1b4 add support for properties of std::vector<bool>... 2021-03-15 01:50:35 +01:00
Jan Möbius
554fe2ad35 Merge branch 'RangeStarts' into 'master'
Range starts

See merge request OpenMesh/OpenMesh!301
2021-03-10 08:53:19 +00:00
Max Lyon
06786e703b update docu 2021-03-09 15:38:06 +01:00
Max Lyon
eb9d631346 adjust unittests for new CW CCW behavior 2021-03-09 15:33:05 +01:00
Max Lyon
9b85f7713e make it so that CCW iter ranges are the reverse of CW iter ranges, i.e. they do not start with the same element anymore 2021-03-09 15:32:44 +01:00
Max Lyon
f63c4a54bb add test file for range tests 2021-03-09 10:57:44 +01:00
Max Lyon
b2bcded8ec add access to cw and ccw ranges in SmartHandles 2021-03-09 10:57:17 +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
0fc413d74e add cw and ccw version for ranges 2021-03-09 09:04:25 +01:00
Max Lyon
b3821e6289 allow custom start for vih_range and voh_range 2021-03-09 09:03:55 +01:00
Max Lyon
24518e57b7 update docu 2021-03-02 12:26:01 +01:00
Max Lyon
e8b5529320 fix a warning 2021-03-02 12:11:04 +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
59677ea03e improve binary documentation 2021-03-02 11:14:55 +01:00
Max Lyon
ee53f78b65 fix indentation 2021-03-02 11:14:46 +01:00
Max Lyon
f21bbed42a minor code improvements in binary struct 2021-03-02 10:28:16 +01:00
Max Lyon
677bdacb99 add test for property type vector<vector<int>> 2021-03-02 02:11:35 +01:00
Max Lyon
657128e6d4 store and restore individual elements of vectors if the data is not densely packed in the vector 2021-03-02 02:11:18 +01:00
Max Lyon
c1f3a4d3d1 add missing PropHandle specialization for MeshHandle 2021-03-02 02:08:17 +01:00
Max Lyon
414c3507f2 only add properties with property creator when they not already exist 2021-03-02 01:22:56 +01:00
Max Lyon
a1b3729d32 add string for type std::string 2021-03-02 01:22:19 +01:00
Max Lyon
71e05a9f5f fix typo 2021-03-02 01:21:47 +01:00
Max Lyon
f004b02505 prevent access to first element of vector when vector is empty when writing properties 2021-03-01 21:12:43 +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
Alexandra Heuschling
d1cad96bfc clean up code 2021-02-26 19:15:40 +01:00
Alexandra Heuschling
6eb87d89fd clean up old code 2021-02-26 19:13:09 +01:00
Alexandra Heuschling
0b7aea5dee add property creator for basic std::vector 2021-02-26 19:10:57 +01:00
Alexandra Heuschling
5c0066b490 adapt store/restore functions as well as size of, so that
for std::vector the size is stored if desired
2021-02-26 19:04:20 +01:00
Alexandra Heuschling
cf45a5d3cc support each type of std::vector for storing and restoring 2021-02-26 19:01:23 +01:00
Jan
fd5e4ef9e3 Only trigger python build for master 2021-02-17 17:54:15 +01:00
Jan
b7a9f8af46 Merge branch 'master' into CustomProperties 2021-02-17 17:16:37 +01:00
Jan Möbius
99b70e2e51 Merge branch 'Fixed_modified_butterfly_crash' into 'master'
Fixed a crash in the modified butterfly subdivider with vertices with valance larger than 30.

See merge request OpenMesh/OpenMesh!300
2021-02-16 14:34:41 +00:00
Jan Möbius
9c17c07b15 Updated changelog 2021-02-16 13:17:14 +01:00