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
Jan Möbius
6603442b06
Merge branch 'fix_warnings' into 'master'
...
Fix warnings
See merge request OpenMesh/OpenMesh!243
2019-12-21 11:16:41 +01:00
Max Lyon
f9323290c7
update changelog
2019-12-19 14:14:31 +01:00
Max Lyon
a26ee5d3ef
add a unittest for the decimater
2019-12-19 14:08:00 +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
9c9ea15840
add unittest for decimater using normal deviation as binary check
2019-12-19 14:02:00 +01:00
Max Lyon
debce64d31
fix another warning
2019-12-13 16:25:28 +01:00
Max Lyon
1dd02a5532
fix warning in unittest
2019-12-13 16:05:35 +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
Jan Möbius
6a6175ff4e
Merge branch 'fix_warnings' into 'master'
...
Fix warnings
See merge request OpenMesh/OpenMesh!242
2019-12-10 10:28:38 +01:00
Max Lyon
7926bc92e5
fix unused variables in unittests
2019-12-09 11:15:26 +01:00
Max Lyon
ee752ce996
fix unsed variables in writers
2019-12-09 11:15:09 +01:00
Max Lyon
15965f6b81
fix unused timing variable if timing output is not enabled
2019-12-09 11:14:54 +01:00
Max Lyon
0e977cbe67
fix unused local type
2019-12-09 11:14:25 +01:00
Jan Möbius
aa50a3ee2e
Merge branch 'TemplateProgrammingImprovements' into 'master'
...
Template programming improvements
See merge request OpenMesh/OpenMesh!241
2019-12-07 09:44:30 +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
Jan Möbius
d322acfb45
Merge branch 'MeshHandle_to_MPropHandle' into 'master'
...
add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle
See merge request OpenMesh/OpenMesh!240
2019-12-03 13:13:13 +01:00
Max Lyon
14b9279d5a
add struct to HandleToPropHandle to get an MPropHandle from a MeshHandle
2019-12-03 09:52:40 +01:00
Jan Möbius
42ea9177ab
Merge branch 'smart_range_improvement' into 'master'
...
Smart range improvements
See merge request OpenMesh/OpenMesh!239
2019-11-29 13:13:17 +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
Jan Möbius
113f2879ad
Merge branch 'FixWarnings' into 'master'
...
Fix warnings
See merge request OpenMesh/OpenMesh!238
2019-11-28 12:25:37 +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
b12074d7b1
Reduce number of acceptable cppcheck warnings from 27 to 23
2019-11-27 18:03:38 +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
Jan Möbius
697cdb18ee
Merge branch 'fix_property_manager_get_mesh' into 'master'
...
fix dynamic_cast in PropertyManager::getMesh
See merge request OpenMesh/OpenMesh!237
2019-11-27 08:02:59 +01:00
Janis Born
e7c5fbde32
fix dynamic_cast in PropertyManager::getMesh
2019-11-26 16:50:47 +01:00
Jan Möbius
28726e5455
Merge branch 'docker-build-system' into 'master'
...
Docker build system
See merge request OpenMesh/OpenMesh!234
2019-11-26 12:23:52 +01:00
Johannes Lenzen
7ab45135cc
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-11-26 12:23:52 +01:00
Jan Möbius
a85ac6894b
Merge branch 'smart_range_improvement' into 'master'
...
Smart range improvement
See merge request OpenMesh/OpenMesh!236
2019-11-25 06:48:09 +01:00
Jan Möbius
e3d2c02a77
Merge branch 'bool_prop_fix' into 'master'
...
fix property manager property access for bool properties
See merge request OpenMesh/OpenMesh!235
2019-11-25 06:46:30 +01:00
Max Lyon
65cafaf17c
add method that returns first element of a smart range that fulfills a condition
2019-11-22 11:02:50 +01:00
Max Lyon
2b8a59e2e1
add method that converts smart range to set
2019-11-22 11:02:31 +01:00
Max Lyon
05c0159387
fix property manager property access for bool properties
2019-11-22 11:00:17 +01:00
Jan Möbius
5c99f6033b
Merge branch 'SmartRanges' into 'master'
...
Smart ranges and reworked property manager
See merge request OpenMesh/OpenMesh!233
2019-11-14 08:00:14 +01:00
Max Lyon
8f672979a3
Merge branch 'master' into SmartRanges
2019-11-13 13:39:33 +01:00
Jan Möbius
05349d51e2
Merge branch 'docker-build-system' into 'master'
...
Improved build speed
See merge request OpenMesh/OpenMesh!232
2019-11-11 09:10:37 +01:00
Johannes Lenzen
afa442f10d
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-11-11 09:10:37 +01:00
Max Lyon
2237321c1c
fix non-member min and max functions
2019-11-08 09:49:42 +01:00
Max Lyon
eae634fe94
add method to move construct vector from array
2019-11-06 14:16:25 +01:00
Max Lyon
96fb20fdeb
for better backwards compatibility add second template parameter to makePropertyManagerFromExisting(orNew)
2019-11-06 14:04:55 +01:00
Max Lyon
4160fc42d8
for better backwards compatibility add retain function which does nothing to property manager
2019-11-06 14:04:29 +01:00
Max Lyon
35c31dd422
update changelog
2019-11-06 14:03:19 +01:00
Max Lyon
b0276d485a
add documentation for any_of and all_of
2019-11-06 13:02:01 +01:00