Commit Graph

155 Commits

Author SHA1 Message Date
Jan Möbius
b300377b66 Fixed PLY reader compilation with Color Trait as Vec3f 2024-02-01 12:04:49 +01:00
Jan Möbius
1d4a866282 Small patch to keep backward compatibility with c++11 2024-01-09 12:59:45 +01:00
Jan Möbius
1f376e2cea Some cppcheck fixes 2023-08-22 15:08:50 +02:00
Jan Möbius
998eec1390 Use emplace_back instead of push_back 2023-06-26 16:16:47 +02:00
Jan Möbius
11c55759f7 Updated and unified license headers 2023-03-01 13:03:33 +01:00
Jan Möbius
10426ff43d Added missing parameter documentation 2022-01-18 10:20:45 +01:00
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Max Lyon
90da974598 update which properties are registered 2021-03-16 12:16:37 +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
7f6e86ff62 simplify how names for property types are generated 2021-03-15 14:15:18 +01:00
Max Lyon
d6e3226714 remove some debug output 2021-03-15 10:26:00 +01:00
Max Lyon
e8b5529320 fix a warning 2021-03-02 12:11:04 +01:00
Max Lyon
ee53f78b65 fix indentation 2021-03-02 11:14:46 +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
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
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
Max Lyon
2fba57e123 add method to property manager to set property persistent 2021-01-19 15:34:41 +01:00
Alexandra Heuschling
cc75d6a040 clean up code 2021-01-18 16:02:31 +01:00
Alexandra Heuschling
f46f4b2348 use std::find_if instead of raw loop to follow style guides 2021-01-17 15:30:47 +01:00
Alexandra Heuschling
0d9a2bcf3c add OPENMESHDLLEXPORT macro for the windows build 2021-01-16 17:56:55 +01:00
Alexandra Heuschling
830fc2554c pass variable property_handle by const reference 2021-01-16 17:09:59 +01:00
Alexandra Heuschling
bdd10562d2 add binary for handles and add string recognition support for meshhandle 2021-01-06 23:30:31 +01:00
Alexandra Heuschling
d2d38ce22c adapte property creator, so that it uses string_for_value_type (void) for
type string recognition

Signed-off-by: Alexandra Heuschling <aheuschling@cox.informatik.rwth-aachen.de>
2021-01-05 17:53:44 +01:00
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
ef529c8b52 refactor functionality. Types can now be registered 2020-12-21 15:22:46 +01:00
Max Lyon
bc6f7b75d9 add property creator that can create properties from strings 2020-11-30 20:53:18 +01:00
Alexandra Heuschling
4fb3e8a7f3 add support for signed char 2020-11-29 17:38:19 +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
52dd8dcbc5 add function to property that return a unique string for their type 2020-11-26 17:50:48 +01:00
Alexandra Heuschling
5af470edd5 move function from OMFormat.hh to typename.hh 2020-11-26 17:48:53 +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
123fe55b72 move SmartRangePredicates.hh from Mesh to Predicates.hh in Utils 2020-10-15 16:54:14 +02:00
Max Lyon
657dc2c891 add support for initializing property managers of mesh properties 2020-10-13 16:50:40 +02:00
Max Lyon
59c09e1bfa fix copying between propertymanagers with different deprecated second template argument 2020-07-22 13:12:17 +02:00
Max Lyon
595e27dafd remove recommendation to not use PropertyManager constructors directly 2020-06-02 10:51:52 +02:00
Max Lyon
f626837ad3 add method to explicitely clone named properties 2020-02-05 19:12:21 +01:00
Max Lyon
14b9279d5a add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle 2019-12-03 09:52:40 +01:00
Janis Born
e7c5fbde32 fix dynamic_cast in PropertyManager::getMesh 2019-11-26 16:50:47 +01:00
Max Lyon
05c0159387 fix property manager property access for bool properties 2019-11-22 11:00:17 +01:00
Max Lyon
96fb20fdeb for better backwards compatibility add second template parameter to makePropertyManagerFromExisting(orNew) 2019-11-06 14:04:55 +01:00
Max Lyon
4160fc42d8 for better backwards compatibility add retain function which does nothing to property manager 2019-11-06 14:04:29 +01:00
Max Lyon
3a2791c436 update documentation 2019-11-06 11:41:41 +01:00
Max Lyon
c246854397 Merge remote-tracking branch 'origin/PropertyManagerRefactoring' into SmartRanges
# Conflicts:
#	src/OpenMesh/Core/Utils/PropertyManager.hh
2019-11-05 18:16:57 +01:00
Max Lyon
5a06a63e92 fix typo 2019-11-05 18:12:37 +01:00