Commit Graph

346 Commits

Author SHA1 Message Date
Max Lyon
3d1ae7d787 return const property handle to points property in AttribKernel 2019-11-05 15:28:55 +01:00
Max Lyon
c6daa6bcb2 move inline implementation of polyconnectivity into its own file 2019-11-05 13:29:08 +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
c861a0e84d add method to get points property handle in AttribKernel 2019-10-31 14:32:24 +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
ef65cf870d fix copy paste error 2019-10-22 10:37:35 +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
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
1948883fd1 update min and max functions on ranges and add minmax function 2019-10-07 13:06:15 +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
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
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
Max Lyon
04ba56511b make smarthandle methods const 2019-09-25 09:04:29 +02:00
Max Lyon
f948a16ce2 add first version of smart handles 2019-09-25 08:47:34 +02:00
Jan Möbius
37523c16d0 Fixed vectorize warning 2019-08-28 11:00:42 +02:00
Jan Möbius
b57284f5a3 Fixed some windows scalar conversion warnings 2019-05-29 13:33:42 +02:00
Jan Möbius
b083f32a23 Replace NULL by nullptr 2019-05-29 10:11:42 +02:00
Jan Möbius
f468efacd0 cppcheck 2019-05-28 14:04:58 +02:00
Jan Möbius
87d2161c5d cppcheck 2019-05-28 13:39:03 +02:00
Janis Born
e7cd4edd1c add calc_face_area for TriMeshT 2019-03-14 16:59:07 +01: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
a7e9657759 Use vectorize for initializing vector in dummy implementations
closes #59
2019-01-17 08:08:09 +01:00
Jan Möbius
38efdce5f5 Some cleanup 2019-01-15 16:12:51 +01:00
Jan Möbius
34c44c9188 Merge branch 'master' into compile-time-connectivity-type 2019-01-15 14:36:58 +01:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Jan Möbius
617b5e78de Fixed PolyConnectivity is_collapse_ok, missing some configurations (Thanks to Simon Flöry for the patch) 2018-12-10 08:54:25 +01:00
Jan Möbius
05292e103c Merge branch 'master' into compile-time-connectivity-type 2018-10-30 10:33:34 +01:00
Jan Möbius
18e39fee46 Rename the DEPRECATED macro into OM_DEPRECATED to prevent a macro clash with Intel MKL (Thanks to Morgan Leborgne for the patch) 2018-09-25 10:15:47 +02:00
Max Lyon
4c80002241 Update documentation of split_copy to reflect the fact that properties are copied from the old face to the new ones. 2018-06-19 09:24:00 +02:00
Jan Möbius
b0ece67d46 TriConnectivity: Added two functions split_edge and split_edge_copy to mask the PolyConnectivity functions of the same name (Prevents creation of valence 2 vertices on trimeshes)
closes #51
2018-06-19 09:04:51 +02:00
Jan Möbius
3c9437d31c Merge branch 'master' into compile-time-connectivity-type 2018-05-30 10:59:40 +02:00
Jan Möbius
7d25a21cad Merge branch 'feature-free-functions' into 'master'
Feature free functions

Closes #52

See merge request OpenMesh/OpenMesh!168
2018-04-18 14:41:56 +02:00