Commit Graph

118 Commits

Author SHA1 Message Date
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
Max Lyon
c4e7125c97 allow adding temporary properties on const meshes 2019-11-05 15:30:05 +01:00
Max Lyon
ab353c8dd0 Define a MeshHandle to simplify some template programming 2019-11-05 15:29:11 +01:00
Max Lyon
a1b3260477 Merge branch 'PropertyManagerRefactoring' into SmartRanges
# Conflicts:
#	src/OpenMesh/Core/Mesh/PolyConnectivity.hh
2019-11-05 13:25:14 +01:00
Max Lyon
794b49976b fix swap of property managers 2019-11-05 10:21:09 +01:00
Max Lyon
b813fffe8b remove pre c++11 code 2019-11-05 09:40:57 +01:00
Max Lyon
fb91dead5b move propertymanager initial_value back to front to fix bool properties 2019-11-05 09:40:48 +01:00
Max Lyon
9b14efaa6d fix property manager for mesh properties 2019-10-31 17:56:37 +01:00
Max Lyon
3c52a27615 rework property manager 2019-10-31 15:27:34 +01:00
Max Lyon
de529269b5 remove second template argument off PropertyManager 2019-10-31 14:24:54 +01:00
Max Lyon
8bc5491c5c add Handle typedef to PropHandleT that specifies the corresponding element handle type 2019-10-31 14:02:43 +01:00
Max Lyon
f71696f294 allow PropertyManagers to be used in smart ranges 2019-09-27 14:45:20 +02:00
Jan Möbius
83c7408ff2 Update typename.hh 2019-08-26 16:27:13 +02:00
Nicolas Gallego-Ortiz
b85b66d679 lowercase filename, pragma once and property specializations corrected 2019-08-15 10:47:37 +02:00
Nicolas Gallego-Ortiz
6bb9f668b8 name mechanism used for property type checking at retreival, OM_FORCE_STATIC_CAST removed 2019-08-14 15:20:50 +02:00
Nicolas Gallego-Ortiz
3e83f7311b internal name mechanism added at property creation 2019-08-14 11:25:36 +02:00
Nicolas Gallego-Ortiz
1f0f036e77 accesors to internal typename from derived class 2019-08-13 18:24:26 +02:00
Nicolas Gallego-Ortiz
7b461d62b8 data member added to handle type name as a string 2019-08-13 17:35:06 +02:00
Jan Möbius
7c1a8012d5 Fixed more clang warnings 2019-05-29 10:55:52 +02:00
Jan Möbius
417a460645 Fixed more clang warnings 2019-05-29 10:20:20 +02:00
Jan Möbius
b083f32a23 Replace NULL by nullptr 2019-05-29 10:11:42 +02:00
Jan Möbius
e7a34cf83b reduce allowed ccp check warnings 2019-05-29 09:52:23 +02:00
Jan Möbius
669b1b789e cppcheck 2019-05-29 08:32:28 +02:00
Jan Möbius
87d2161c5d cppcheck 2019-05-28 13:39:03 +02:00
Jan Möbius
bd0901caa8 overrides 2019-05-28 11:50:49 +02:00
Janis Born
ade4f58f1a add hasProperty function 2019-04-03 15:45:44 +02:00
Janis Born
fc63402d10 change PropertyManager::operator* to access the property value for mesh properties 2019-04-03 15:45:23 +02:00
Janis Born
56403e3dc9 mark more old functions as deprecated 2019-04-03 15:44:17 +02:00
Jan Möbius
faa1a7917d Get rid of the T.cc naming for template implementations 2019-02-20 12:14:46 +01:00
Jan Möbius
446d8cf14e Removed old templates folder 2019-02-20 11:49:15 +01:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Janis Born
7bd56c6fc1 rename PropertyManager factory functions
makePropertyManagerFromNew -> makeTemporaryProperty
makePropertyManagerFromExisting -> getProperty
makePropertyManagerFromExistingOrNew-> getOrMakeProperty

deprecate old function names
2018-11-30 20:13:05 +01:00
Janis Born
9bb0de2911 add HandleToPropHandle metaprogram helper 2018-11-30 20:12:27 +01:00
Christian Mattes
377562d11a Fixed last occurences of non-free-function usage (at least as far as covered by the tests). 2018-04-12 15:16:50 +02:00
Max Lyon
45f3b8187d enable more c++11 features for Visual Studio 2013 2017-04-25 16:03:19 +02:00
Max Lyon
57be7cad6d enable c++11 features of property manager for Visual Studio 2013 2017-04-25 15:50:30 +02:00
Jan Möbius
fd5b60fcba Fixed explicit making cppcheck fail and some lineendings
(cherry picked from commit 25178d9dcb)
2017-02-06 09:22:25 +01:00
Hans-Christian Ebke
f08f96eb71 Fixed constness fail in PropertyManager::set_range(). 2016-09-12 17:06:56 +02:00