Commit Graph

49 Commits

Author SHA1 Message Date
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
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
f71696f294 allow PropertyManagers to be used in smart ranges 2019-09-27 14:45:20 +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
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
Max Lyon
57be7cad6d enable c++11 features of property manager for Visual Studio 2013 2017-04-25 15:50:30 +02:00
Hans-Christian Ebke
f08f96eb71 Fixed constness fail in PropertyManager::set_range(). 2016-09-12 17:06:56 +02:00
Hans-Christian Ebke
ab51547d92 PropertyManager: Add initializing createIfNotExists() versions. 2016-09-12 16:58:03 +02:00
Hans-Christian Ebke
a705d57bd0 PropertyManager: Add C++11 range-based set_range() version. 2016-09-12 16:57:33 +02:00
xan
8445bad3c3 Fix undefined MSVC macro warning 2016-08-14 09:21:31 +02:00
Janis Born
bb024a6846 move documentation of PropertyManager factory functions to PropertyManager Doxygen page 2016-05-23 15:04:28 +02:00
Janis Born
70d7ae8a79 add factory functions for creating PropertyManagers without restating the mesh type in C++11 2016-04-14 09:58:54 +02:00
Jan Möbius
f907bd9bd5 Switch all checks for c++11 to support vs2015 2015-11-25 13:55:19 +01:00
Jan Möbius
305aa1b244 Get rid of some windows preprocessor warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1315 fdac6126-5c0c-442c-9429-916003d36597
2015-07-24 13:19:40 +00:00
Hans-Christian Ebke
b5faa274a3 A little pre C++11 compatibility fix.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1295 fdac6126-5c0c-442c-9429-916003d36597
2015-06-19 13:18:43 +00:00
Hans-Christian Ebke
1197b0d7d3 Fixing PropertyManager so that it cooperates with bool properties even on unforgiving implementations (such as clang).
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1265 fdac6126-5c0c-442c-9429-916003d36597
2015-05-12 09:55:33 +00:00
Jan Möbius
fd4bcb39ea Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d Fixed bad typo in comment
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
83486e0b5f Relicense to BSD
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Jan Möbius
b3778b230f Updated copyright headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Hans-Christian Ebke
7978e545c3 PropertyManager: Added static copy(...) convenience method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1183 fdac6126-5c0c-442c-9429-916003d36597
2014-11-05 17:03:36 +00:00
Hans-Christian Ebke
5f66980952 PropertyManager: Added copy_to method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1176 fdac6126-5c0c-442c-9429-916003d36597
2014-10-08 08:49:06 +00:00
Hans-Christian Ebke
10bcfd50ff Added PropertyManager::move to C++11 branch.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1096 fdac6126-5c0c-442c-9429-916003d36597
2014-06-26 11:38:13 +00:00
Hans-Christian Ebke
a0097fe3e0 PropertyManager: Added set_range method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@998 fdac6126-5c0c-442c-9429-916003d36597
2014-02-25 14:01:12 +00:00
Hans-Christian Ebke
61c893321e PropertyManager: Added duplicate method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@996 fdac6126-5c0c-442c-9429-916003d36597
2014-02-13 09:25:46 +00:00
Jan Möbius
68a3ff3136 The annual License Header Bump (Sorry for the rebuilds ;-) )
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Hans-Christian Ebke
f134e74a88 Added getMesh property to PropertyManager.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@967 fdac6126-5c0c-442c-9429-916003d36597
2013-10-03 09:12:12 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Hans-Christian Ebke
6d70b25445 Improved C++11-branch of PropertyManager and at the same time fixed compile error with gcc 4.7.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@889 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:40 +00:00
Hans-Christian Ebke
6e970852c5 PropertyManager: Added ability to get property name.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@888 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:39 +00:00
Hans-Christian Ebke
f552be05fa Enabled initialization of invalid PropertyManager.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@826 fdac6126-5c0c-442c-9429-916003d36597
2013-05-23 09:36:41 +00:00
Hans-Christian Ebke
7d9d01a7e2 PropertyManager: Added PropertyManager::propertyExists() method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@807 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:26 +00:00
Jan Möbius
f3312397a5 Updated License Headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Hans-Christian Ebke
77c02b8107 OpenMesh/Core/Utils/PropertyManager: Added non-C++0x move capabilities.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@674 fdac6126-5c0c-442c-9429-916003d36597
2012-09-17 06:28:07 +00:00
Hans-Christian Ebke
f8632ce3a0 OpenMesh/Core/Utils/PropertyManager: Added property to retain() method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@670 fdac6126-5c0c-442c-9429-916003d36597
2012-09-11 18:16:04 +00:00
Hans-Christian Ebke
1d29252126 Core/Utils/PropertyManager: Added createIfNotExists factory method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@669 fdac6126-5c0c-442c-9429-916003d36597
2012-09-11 18:16:01 +00:00
Hans-Christian Ebke
e48308ea17 Core/Utils: Added PropertyManager class.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@630 fdac6126-5c0c-442c-9429-916003d36597
2012-07-24 17:52:32 +00:00