Commit Graph

2471 Commits

Author SHA1 Message Date
Alexandra Heuschling
1bb7e232f7 adapted property, so that is uses static function string_for_value_type (void)
from binary struct for string identification
2021-01-05 17:52:44 +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
d835958b6b add binary struct for openmesh vector of size 5 2021-01-05 17:49:21 +01:00
Alexandra Heuschling
ef529c8b52 refactor functionality. Types can now be registered 2020-12-21 15:22:46 +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
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
Max Lyon
fcb7680610 use omlog instead of clog 2020-11-30 20:52:06 +01:00
Max Lyon
9c4679f903 add missing endl 2020-11-30 20:51:56 +01:00
Alexandra Heuschling
11c092e8e2 add support for vector types 2020-11-29 17:38:34 +01:00
Alexandra Heuschling
4fb3e8a7f3 add support for signed char 2020-11-29 17:38:19 +01:00
Alexandra Heuschling
0b18560655 remove debugg output 2020-11-29 17:37:46 +01:00
Alexandra Heuschling
5ce175a76a add function specification for type short and OpenMesh::VectorT<T, Dim> 2020-11-27 17:24:49 +01:00
Alexandra Heuschling
8b79e67a39 add if-statement so that reader still supports older versions 2020-11-26 17:51:43 +01:00
Alexandra Heuschling
52dd8dcbc5 add function to property that return a unique string for their type 2020-11-26 17:50:48 +01:00
Alexandra Heuschling
e81a771656 update version of OM file 2020-11-26 17:50:02 +01:00
Alexandra Heuschling
5af470edd5 move function from OMFormat.hh to typename.hh 2020-11-26 17:48:53 +01:00
Alexandra Heuschling
2f6fde338d add property to be able to restore data from file 2020-11-17 21:35:07 +01:00
Alexandra Heuschling
3f9bdce467 add check for types 2020-11-17 21:26:43 +01:00
Alexandra Heuschling
6ba0ccc175 add helper functions for type recognition 2020-11-17 21:25:30 +01:00
Alexandra Heuschling
ede7dca790 Merge branch 'CustomProperties' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into CustomProperties
# Conflicts:
#	src/OpenMesh/Core/IO/writer/OMWriter.cc
2020-11-10 16:48:50 +01:00
Alexandra Heuschling
53e68c18a1 add function to OMReader, to be consistent with OMWriter 2020-11-10 16:43:34 +01:00
Max Lyon
0cce038f10 small unit test refactoring 2020-11-09 17:24:36 +01:00
Max Lyon
fa345b5e22 Merge branch 'master' into CustomProperties 2020-11-09 17:04:20 +01:00
Max Lyon
a5e204a6b4 add unittest to check if loading properties works in om file format version 2.2 2020-11-09 17:04:06 +01:00
Max Lyon
7a559a2bce add unittest checking loading of properties of om version 2.1 2020-11-09 16:53:12 +01:00
Max Lyon
4436f3299d cast to pointers instead of references 2020-11-09 15:28:01 +01:00
Alexandra Heuschling
2d1ebf5a8c implement two ways of finding out the type of property 2020-11-05 21:27:02 +01:00
Alexandra Heuschling
afaa48ac8b add new type to PropertyType enum 2020-11-05 21:26:16 +01:00
Alexandra Heuschling
b50dafaf34 add enum PropertyType, so that properties can be restored from .om files 2020-11-05 20:03:51 +01:00
Jan Möbius
87d427cbf0 Merge branch 'MemberFunctionWrapper' into 'master'
Member function wrapper

See merge request OpenMesh/OpenMesh!286
2020-10-29 14:21:27 +01:00
Max Lyon
68d408cf41 add test for member function wrappper 2020-10-29 11:05:40 +01:00
Max Lyon
ad7f7eccad add missing include 2020-10-29 11:05:18 +01:00
Max Lyon
e7148d0dda add MemberFunctionWrapper to conveniently use member functions as predicates 2020-10-29 10:52:34 +01:00
Max Lyon
4e234a91cd fix/simplify FilteredSmartRange 2020-10-29 10:34:12 +01:00
Jan Möbius
a64121b623 Merge branch 'smart_range_predicates' into 'master'
Smart range predicates

See merge request OpenMesh/OpenMesh!285
2020-10-19 07:00:31 +02:00
Max Lyon
e257be3e0b add docu 2020-10-15 16:54:29 +02:00
Max Lyon
123fe55b72 move SmartRangePredicates.hh from Mesh to Predicates.hh in Utils 2020-10-15 16:54:14 +02:00
Max Lyon
4ac19ab52e update changelog 2020-10-15 14:35:30 +02:00
Max Lyon
563149a8c5 add test for range predicates 2020-10-15 14:34:17 +02:00
Max Lyon
e5729bcbeb add smart handle predicates 2020-10-15 14:03:39 +02:00
Max Lyon
62f30db35b update changelog 2020-10-15 14:01:32 +02:00
Max Lyon
6396a04c25 iterate over all elements in smart handle unittest 2020-10-15 13:52:32 +02:00
Max Lyon
cc52635ca4 Merge branch 'master' into smart_handle_status 2020-10-15 13:49:50 +02:00
Max Lyon
d0aef334c0 improve name of helper class containing status access functions and implement is_boundary in the same way 2020-10-15 13:49:07 +02:00
Jan Möbius
2378a7d362 Merge branch 'mesh_property_initialization' into 'master'
Mesh property initialization

See merge request OpenMesh/OpenMesh!283
2020-10-14 10:43:43 +02:00
Max Lyon
f6781e2506 add test for smart handle status access 2020-10-13 21:50:08 +02:00