Commit Graph

83 Commits

Author SHA1 Message Date
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
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
Hans-Christian Ebke
3868b351ec Added a whole bunch of doxygen documentation. 2016-03-24 12:58:43 +01:00
Hans-Christian Ebke
63985edd59 Fixed allocation bug. 2016-01-08 00:49:04 +01:00
Hans-Christian Ebke
8ece0770a3 Added a couple of methods to enable more efficient adding of batches of vertices. 2015-12-20 23:07:54 +01:00
Martin
e6967dfe8b reduced includes by means of static code analysis 2015-11-30 09:48:42 +01: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
59c6c56c45 Unused variables 2015-11-18 15:00:48 +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
Matthias Möller
ed3155284c - move iostream from header to source files.
- replace some iostreams to o/istreams only
- some minor include fixes

closes #2489

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1278 fdac6126-5c0c-442c-9429-916003d36597
2015-06-09 08:58:41 +00:00
Matthias Möller
096b33f863 remove warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1274 fdac6126-5c0c-442c-9429-916003d36597
2015-06-03 18:31:31 +00:00
Matthias Möller
162ca6d9b6 removed some unnecessary double negations
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1273 fdac6126-5c0c-442c-9429-916003d36597
2015-06-03 07:19:08 +00:00
Matthias Möller
ae7f75d881 - remove paranthese warning
- remove redundant double negation, as the type is already bool
- replaced inline condition with cast

closes #2491

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1270 fdac6126-5c0c-442c-9429-916003d36597
2015-06-01 12:09:32 +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
0a4c1dc206 Get rid of the old ACGMakeFiles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1253 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:35:09 +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
Matthias Möller
12b7069cf7 - fix warning with vector_cast
- add compile error, if vector_cast cannot be performed
- adds some color cast specializations
- add simple vector_cast unittest

closes #2409

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1249 fdac6126-5c0c-442c-9429-916003d36597
2015-03-24 10:36:41 +00:00
Matthias Möller
094a7f540f add read-only version of data_vector() function
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1196 fdac6126-5c0c-442c-9429-916003d36597
2015-01-14 15:41:22 +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
Matthias Möller
d633dfc737 - change name of the types "True" and "False" to "TrueType" and "FalseType" to clearify, that these are types
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1137 fdac6126-5c0c-442c-9429-916003d36597
2014-08-11 09:47:41 +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