Commit Graph

105 Commits

Author SHA1 Message Date
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
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