Commit Graph

2714 Commits

Author SHA1 Message Date
Max Lyon
3c52a27615 rework property manager 2019-10-31 15:27:34 +01:00
Max Lyon
c79d85c3a0 remove second template argument of propertymanager in subdivider 2019-10-31 15:24:42 +01:00
Max Lyon
c861a0e84d add method to get points property handle in AttribKernel 2019-10-31 14:32:24 +01:00
Max Lyon
99632809d8 in unittest replace has_property check with the one implemented in property manager 2019-10-31 14:31:55 +01:00
Max Lyon
8a8aab33e0 remove second template argument of property manager in unittests 2019-10-31 14:31:00 +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
3d648b23b3 add elements and all_elements methods that return the range corresponding to the template argument 2019-10-31 14:01:50 +01:00
Max Lyon
34b2e958e1 add convenience function n_elements returning n_vertices, n_halfedges, n_edges, or n_faces depending on the template argument 2019-10-31 13:59:54 +01:00
Max Lyon
74cd2937f4 fix unittests for double traits 2019-10-31 09:21:17 +01:00
Max Lyon
50990c2178 actually test double traits 2019-10-30 13:27:44 +01:00
Jan Möbius
eb38f6e5cd Merge branch 'docker-build-system' into 'master'
Changed docker runner image url to new repo

See merge request OpenMesh/OpenMesh!230
2019-10-29 16:15:54 +01:00
Johannes Lenzen
75297b11e6 Changed the .gitlab-ci.yml structure
Beginned with new building system
.gitlab-ci.yml can now be generated by the script assemble-gitlab-ci.py.

Therefore the .gitlab-ci.yml configuration file can be split into several smaller files
2019-10-29 16:15:54 +01:00
Jan Möbius
b12e0c07b7 Merge branch 'docker-build-system' into 'master'
Finished Docker build system

See merge request OpenMesh/OpenMesh!229
2019-10-29 09:30:35 +01:00
Johannes Lenzen
00a2eac354 Changed the .gitlab-ci.yml structure
Beginned with new building system
.gitlab-ci.yml can now be generated by the script assemble-gitlab-ci.py.

Therefore the .gitlab-ci.yml configuration file can be split into several smaller files
2019-10-29 09:30:35 +01:00
Jan Möbius
8a65c81b3c Merge branch 'DefaultMeshTypes' into 'master'
Default mesh types

See merge request OpenMesh/OpenMesh!228
2019-10-22 17:03:44 +02:00
Max Lyon
627a9b770e add default mesh types to changelog 2019-10-22 15:39:10 +02:00
Max Lyon
ef65cf870d fix copy paste error 2019-10-22 10:37:35 +02:00
Max Lyon
2343577636 add unittests for default double vec type 2019-10-22 10:17:12 +02:00
Max Lyon
a15f247a6f add default mesh types using default doublet traits 2019-10-22 10:08:40 +02:00
Max Lyon
651e8cf966 add default trait that uses double precision 2019-10-22 10:08:22 +02:00
Max Lyon
660e46db24 fix iterator type 2019-10-18 14:29:52 +02:00
Max Lyon
56c1348493 make more functions return smart handles 2019-10-17 14:55:25 +02:00
Max Lyon
a3fbdcb937 let add_vertex and add_face return smart handles 2019-10-17 14:28:20 +02:00
Max Lyon
e222791c49 add test that does some comparisons between smart handles and handles 2019-10-17 14:10:32 +02:00
Max Lyon
bd33706300 fix infinite recursion 2019-10-17 13:47:08 +02:00
Max Lyon
3b21aa14fb make smart handles more compatible with mixing old api 2019-10-17 12:56:48 +02:00
Max Lyon
81f3fcc2c1 add test to check if old api works with new api 2019-10-17 09:20:06 +02:00
Max Lyon
da233b391e fix return type of non-member min and max functions 2019-10-07 14:57:24 +02:00
Max Lyon
e6fca39d15 allow one more cppcheck warning 2019-10-07 13:16:12 +02:00
Max Lyon
1948883fd1 update min and max functions on ranges and add minmax function 2019-10-07 13:06:15 +02:00
Max Lyon
592c13ab5c add non-member versions of min and max for vector class 2019-10-07 13:05:49 +02:00
Max Lyon
05332c70c1 dllexport SmartHandles 2019-10-07 10:58:18 +02:00
Max Lyon
7c804acef1 for the cost of adding SmartHandles.cc with weird include order make smart ranges smarter by letting them know their smart handle types 2019-09-27 17:08:09 +02:00
Max Lyon
b5b708a6ba smart range improvements 2019-09-27 16:34:20 +02:00
Max Lyon
f71696f294 allow PropertyManagers to be used in smart ranges 2019-09-27 14:45:20 +02:00
Max Lyon
aa91a88f7b add first version of smart ranges 2019-09-27 14:12:22 +02:00
Max Lyon
011a53e7ba let handle function of circulator return smart handle 2019-09-27 12:55:57 +02:00
Max Lyon
e0d8f2dbe0 use fewer iterations in performance test of smart handles when in debug build 2019-09-27 10:39:10 +02:00
Max Lyon
8446eaee6f fix more issues for debug builds 2019-09-27 10:38:56 +02:00
Max Lyon
16ca9b363e fix circulator return value in debug mode 2019-09-27 09:38:09 +02:00
Max Lyon
b62d846f32 let circulators return smart handles 2019-09-27 09:29:27 +02:00
Max Lyon
253c9b6afa let iterators return smart handles 2019-09-26 11:14:31 +02:00
Max Lyon
89f0dcbb51 add documentation 2019-09-25 13:21:17 +02:00
Max Lyon
010a8a0b41 inline smart handle methods for better performance 2019-09-25 13:12:31 +02:00
Max Lyon
832a40d630 add performance test for smart handles 2019-09-25 13:11:46 +02:00
Max Lyon
92cdc795c7 add unit tests for smart handles 2019-09-25 12:19:30 +02:00
Max Lyon
844de4145c avoid diamond inheritance and add range and convenience functions 2019-09-25 09:52:18 +02:00
Jan Möbius
7a608b1e04 Fixed web upload user 2019-09-25 09:46:47 +02:00
Max Lyon
04ba56511b make smarthandle methods const 2019-09-25 09:04:29 +02:00