Commit Graph

940 Commits

Author SHA1 Message Date
Alexandra Heuschling
b50dafaf34 add enum PropertyType, so that properties can be restored from .om files 2020-11-05 20:03:51 +01:00
Max Lyon
ad7f7eccad add missing include 2020-10-29 11:05:18 +01:00
Max Lyon
e7148d0dda add MemberFunctionWrapper to conveniently use member functions as predicates 2020-10-29 10:52:34 +01:00
Max Lyon
4e234a91cd fix/simplify FilteredSmartRange 2020-10-29 10:34:12 +01:00
Max Lyon
123fe55b72 move SmartRangePredicates.hh from Mesh to Predicates.hh in Utils 2020-10-15 16:54:14 +02:00
Max Lyon
e5729bcbeb add smart handle predicates 2020-10-15 14:03:39 +02:00
Max Lyon
cc52635ca4 Merge branch 'master' into smart_handle_status 2020-10-15 13:49:50 +02:00
Max Lyon
d0aef334c0 improve name of helper class containing status access functions and implement is_boundary in the same way 2020-10-15 13:49:07 +02:00
Max Lyon
7d281c1437 add methods to SmartHandles that give access to the status 2020-10-13 21:49:41 +02:00
Max Lyon
657dc2c891 add support for initializing property managers of mesh properties 2020-10-13 16:50:40 +02:00
Jan Möbius
5f3f57e8cb Change stl reader behaviour on extension .stl , Don't check for the solid keyword explicitly 2020-10-09 09:33:28 +02:00
Jan Möbius
2667c669c4 Change stl reader behaviour on extension .stl , Don't check for the solid keyword explicitly 2020-10-09 09:31:19 +02:00
Max Lyon
ac67648317 add weighted average to smart ranges 2020-08-24 14:54:45 +02:00
Jan Möbius
f0ee8876d9 Merge branch 'halfedge_loop_range' into 'master'
Halfedge loop range

See merge request OpenMesh/OpenMesh!277
2020-08-12 11:58:16 +02:00
Max Lyon
c800446073 add missing range version of halfedge loop iterator 2020-08-11 16:35:13 +02:00
Max Lyon
1bd54d47ff add assignment operator to FilteredIterator to allow combination of filtered and argmin 2020-08-10 10:36:08 +02:00
Max Lyon
59c09e1bfa fix copying between propertymanagers with different deprecated second template argument 2020-07-22 13:12:17 +02:00
Jan Möbius
673f85e6b3 Merge branch 'master' into remove_compile_order_check 2020-06-24 09:28:35 +02:00
Martin Marinov
8ac6e07c43 Fix a bug where the OM format write code tries to access the second character in property names that have 0 or 1 characters. Also improve the code quality. 2020-06-08 16:37:19 +01:00
Max Lyon
595e27dafd remove recommendation to not use PropertyManager constructors directly 2020-06-02 10:51:52 +02:00
Martin Marinov
880095835d Fix build errors in ArrayKernel::StatusSet and derivatives 2020-05-13 14:20:20 +01:00
Jan Möbius
6d34a9bcdf Merge branch 'marinom/add-om_suppress_deprecated' into 'master'
Add OM_SUPPRESS_DEPRECATED to allow suppressing deprecated code warnings

See merge request OpenMesh/OpenMesh!264
2020-05-13 07:16:38 +02:00
Jan
bddc123e81 Nicer fix of warning 2020-05-13 07:11:03 +02:00
Martin Marinov
061bd7ee6a Fix a size_t to int cast warning 2020-05-13 02:14:14 +01:00
Martin Marinov
a756bff460 Add OM_SUPPRESS_DEPRECATED to allow suppressing deprecated warnings which can break builds where warnings are treated as errors 2020-05-12 21:06:40 +01:00
Jan
6e3f0dab76 Fixed warning with character 2020-05-12 21:19:07 +02:00
Martin Marinov
c06d46408f Fix SmartHandle implementation issues:
* Fix SmartHandle cyclical include dependencies.
* Remove the SmartHandles include from Iterators and Circulators.
* Move SmartHandle member implementations to the headers and remove SmartHandles.cc.
2020-05-12 15:39:11 +01:00
Martin Marinov
9ddd4662ea Fix a MSVC warning in TriConnectivity 2020-05-07 03:08:25 +01:00
Max Lyon
ac52f0d169 fix filtered range for empty ranges 2020-05-06 10:46:30 +02:00
Max Lyon
4e40352a5f add filtered range that stores reference instead of copy if the filter is not an rvalue reference 2020-05-06 10:45:41 +02:00
Jan Möbius
7df0544e36 Changed version to 9.0, removed 32-bit test builds 2020-04-23 11:32:01 +02:00
Jan Möbius
c1e5815efe Merge branch 'vector-cross-method' into 'master'
VectorT: Implement .cross() and .dot() methods.

See merge request OpenMesh/OpenMesh!256
2020-04-20 08:00:10 +02:00
Martin Heistermann
6b66b7642e Fix #72: Eigen tests fail to compile on Linux with Eigen 3.3.7 2020-04-09 17:00:11 +02:00
Martin Heistermann
29959d8cf5 VectorT: Implement .cross() and .dot() methods.
Aliases for operators % and | for better compatibility with Eigen3.
2020-03-30 19:04:26 +02:00
Max Lyon
d04ec78955 add filtered to SmartRanges 2020-03-27 14:26:23 +01:00
Max Lyon
290f8f5414 add for_each to smart ranges 2020-03-24 15:40:26 +01:00
Jan
470b46d96c Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh 2020-03-18 09:21:39 +01:00
Jan
67de96da11 Fixed DOcumentation Ascii Art 2020-03-18 09:21:21 +01:00
Patrick Schmidt
f1543cdbf0 Fix inline implementation of opposite_face_handle() (linker error) 2020-03-17 17:11:27 +01:00
Max Lyon
cce116d823 add documentation to count_if method 2020-03-17 14:03:48 +01:00
Max Lyon
6c392fd18f add count_if to smart ranges 2020-03-17 14:03:48 +01:00
Max Lyon
c23d410cb0 add arg min and arg max methods to smart ranges 2020-03-17 14:03:48 +01:00
Max Lyon
e2b9871164 add documentation to count_if method 2020-03-12 09:38:20 +01:00
Max Lyon
227b1cd5c7 add count_if to smart ranges 2020-03-09 18:43:21 +01:00
Max Lyon
b88a6c9de9 add arg min and arg max methods to smart ranges 2020-03-09 18:43:09 +01:00
Jan Möbius
6ac2120709 Merge branch 'double_position_writer' into 'master'
Double position writer

See merge request OpenMesh/OpenMesh!250
2020-02-10 12:50:28 +01:00
Max Lyon
d1da33cd1d write face normals as double 2020-02-10 09:19:09 +01:00
Max Lyon
7ee8e6e9f6 inline is_double specialization 2020-02-06 08:27:47 +01:00
Max Lyon
0e8c46ab84 add missing include and is_double function 2020-02-05 22:15:27 +01:00
Max Lyon
63dd997489 let OMReader and OMWriter read and write double positions and normals 2020-02-05 22:13:36 +01:00