Commit Graph

1251 Commits

Author SHA1 Message Date
Jan Möbius
1ad1030350 Include header 2020-04-22 11:30:05 +02:00
Jan Möbius
e3ad8d18b5 Revert "Changed include"
This reverts commit 256f8d487d
2020-04-22 09:59:26 +02:00
Jan Möbius
6a49c12c3a Fixed missing cmake entry 2020-04-22 09:07:47 +02:00
Jan Möbius
5893068368 Fixed redefinitions 2020-04-22 08:56:53 +02:00
Jan Möbius
a8821c05f0 Added missing cc file 2020-04-22 08:51:07 +02:00
Jan Möbius
256f8d487d Changed include 2020-04-22 08:36:05 +02:00
Jan Möbius
d891d3f57d Fixed typo 2020-04-22 08:27:04 +02:00
Jan Möbius
8470d00960 Fixed redifinition 2020-04-22 08:21:21 +02:00
Jan Möbius
2749fa4f05 Fixed redifinition 2020-04-22 08:15:56 +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
Max Lyon
337fb4571d add methods to import to set positions and normals from doubles 2020-02-05 22:12:53 +01:00
Max Lyon
2356364085 add methods to export the check if positions or normals are double and get them as doubles 2020-02-05 22:11:10 +01:00
Max Lyon
f626837ad3 add method to explicitely clone named properties 2020-02-05 19:12:21 +01:00
Max Lyon
71698822a1 fix cppcheck warnings 2020-02-03 15:08:00 +01:00
Max Lyon
9ae08da593 use range based for loops in subdivision algorithms in order to skip deleted elements 2020-02-03 09:51:49 +01:00
Max Lyon
8f214b0189 let opposite_face_handle and find_halfedge return smart handles 2020-01-29 17:00:53 +01:00
Jan Möbius
54ad994617 Merge branch 'EigenDecimator' into 'master'
Eigen decimator

See merge request OpenMesh/OpenMesh!244
2020-01-06 14:42:48 +01:00
Max Lyon
52d3ad9332 templatize NormalConeT over Vector instead of Scalar to allow for other types of vectors (eg Eigen) 2019-12-19 14:04:59 +01:00
Max Lyon
58b0fd5f48 explicitly export Handles because SmartHandles need to be exported and have Handles as base 2019-12-13 16:05:26 +01:00
Max Lyon
ee752ce996 fix unsed variables in writers 2019-12-09 11:15:09 +01:00
Max Lyon
33f4941d66 normalize normal at end of calc_vertex_normal_correct 2019-12-06 11:16:54 +01:00
Max Lyon
6284fb4fc9 add calc_normal method for all elements returning calc_face_normal, average of vertex normals, calc_halfedge_normal, and calc_vertex_normal_correct respectively 2019-12-06 11:16:34 +01:00
Max Lyon
a1a82331e3 add calc_centroid methods for all elements returning calc_face_centroid, calc_edge_midpoint and point respectively 2019-12-06 11:14:27 +01:00
Max Lyon
14b9279d5a add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle 2019-12-03 09:52:40 +01:00
Max Lyon
0572ae5662 rename variables to not hide function 2019-11-29 09:52:53 +01:00
Max Lyon
5149aba8cd Merge branch 'master' into smart_range_improvement 2019-11-28 13:42:39 +01:00
Max Lyon
9c806888c0 more const related fixes in SmartRange 2019-11-28 13:42:17 +01:00
Max Lyon
8fa5f36d13 make SmartRange sum and avg compatible with Eigen vectors 2019-11-28 11:50:03 +01:00
Max Lyon
04e798920d use decay instead of remove_reference to also remove constness in SmartRanges 2019-11-28 11:49:37 +01:00
Max Lyon
e36e508f0b call const version of end to make cppcheck happy 2019-11-27 13:28:00 +01:00
Max Lyon
2eebdd629f reduce scope of variable 2019-11-27 13:27:39 +01:00
Max Lyon
f1e0588ba2 remove unused variable 2019-11-27 13:27:28 +01:00