Commit Graph

228 Commits

Author SHA1 Message Date
Martin Schultz
cd4e65f37f Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into featureSplitCopyInternal 2017-06-29 10:31:42 +02:00
Martin Schultz
8302ef59dd changed the split_copy overloaded function with edgehandle as first
parameter tzo always copy internal properties
2017-06-29 10:21:46 +02:00
Jan Möbius
77251c5db8 Merge branch 'Boost_range_support' into 'master'
Boost range support (Thanks to Bastian Pranzas for the patch)

See merge request !135
2017-06-27 15:38:10 +02:00
Martin Schultz
ad950d46b7 made the face and edge split operations that copy properties also copy
builtin properties
2017-06-27 11:56:15 +02:00
Martin Schultz
4826d46ca3 fix boundary case for TriMeshSplit1_4 2017-05-30 14:35:54 +02:00
Jan Möbius
fba2f98c8c Boost range support (Thanks to Bastian Pranzas for the patch) 2017-05-23 16:27:03 +02:00
Jan Möbius
986f98f0b9 Added Triangle 1 to 4 split 2017-04-26 16:58:38 +02:00
Max Lyon
45f3b8187d enable more c++11 features for Visual Studio 2013 2017-04-25 16:03:19 +02:00
Martin Schultz
1f331456e5 fix wrong behaviour of HalfedgeLoopIterators by changing the template parameter 2017-02-20 15:40:08 +01:00
Janis Born
949e705082 more C++98 compatibility 2017-01-12 13:41:08 +01:00
Janis Born
3179316c82 add calc_edge_midpoint methods for meshes 2017-01-11 17:27:11 +01:00
Martin Schultz
874cef141a use new assignment for polymesh trimesh conversion fixes #35 2017-01-08 23:05:16 +00:00
Martin Schultz
b3b992d2d2 implemented assign function that copies properties and initializes propertiehandles if desired 2017-01-08 23:04:08 +00:00
Martin Schultz
49cc72e9d2 added explicit copy constructors for PolyMeshT and TrimeshT to enable static_casts of different mesh types 2016-12-08 18:18:59 +01:00
Martin Schultz
122293b2c0 added copy constructor to PolyMesh_ArrayKernelT and TriMesh_ArrayKernelT 2016-12-08 18:17:11 +01:00
Martin Schultz
74e4e72c63 Added function to copy all properties from one baseKernel to another 2016-12-08 18:15:17 +01:00
Jan Möbius
3183ac5364 Warning fixed 2016-10-24 16:34:05 +02:00
Max Lyon
523e3e10f4 make all negative handles invalid, not just -1 2016-10-21 09:21:18 +02:00
Hans-Christian Ebke
dafbcf1480 Updated documentation of BaseKernel's property functions to hint at PropertyManager. 2016-09-22 10:14:30 +02:00
xan
8445bad3c3 Fix undefined MSVC macro warning 2016-08-14 09:21:31 +02:00
Janis Born
5ee25a5af0 fix CirculatorT type-pun warning on GCC6
(fixes #28)
2016-08-11 10:22:44 +02:00
David Bommes
b82e329c21 changed incorrect class into struct 2016-08-03 10:07:28 +02:00
Jan Möbius
6f862cad6c Merge branch 'hash_functions' into 'master'
Hash functions



See merge request !75
2016-07-11 10:24:44 +02:00
Jan Möbius
59c0b6f16b Next try 2016-06-30 14:05:25 +02:00
Jan Möbius
085e711856 Fixed VS2015 Update 3 fix 2016-06-30 13:56:54 +02:00
Jan Möbius
755f06bf11 Fixed VS2015 Update 3 build error. (Thanks to Jeongkyu Kim for the patch) 2016-06-30 13:53:23 +02:00
Andreas Fabri
58b9e4085a - ADD a macro OM_HAS_HASH in the config file.
- Based on the macro provide partial specializations for std::hash<>
- for vertex,halfede,edge, and face handles.
- Add a free function hash_value(BaseHandle) for boost::unordered_set/map
2016-06-08 10:29:18 +02:00
Jan Möbius
8a26487a69 Added hash functions 2016-06-07 12:56:27 +02:00
Max Limper
c7b64addec Copy per-halfedge and per-face properties to new elments during triangulation 2016-05-03 16:02:59 +02:00
Hans-Christian Ebke
00101c13e0 Merge remote-tracking branch 'origin/master' into performance_tuning 2016-03-24 12:59:35 +01:00
Hans-Christian Ebke
3868b351ec Added a whole bunch of doxygen documentation. 2016-03-24 12:58:43 +01:00
Janis Born
b1a7d43a83 drop VectorDimensionsT metaprogram in favor of vector_traits
(thanks to Marco Centin and Amodio Pesce)
2016-03-17 18:29:55 +01:00
Jan Möbius
cee7b56f5e Fixed ugly typo in __decrement function of Basehandle. Seems to be unused in the rest of the code. 2016-02-04 09:40:23 +01:00
Hans-Christian Ebke
63985edd59 Fixed allocation bug. 2016-01-08 00:49:04 +01:00
Hans-Christian Ebke
8ece0770a3 Added a couple of methods to enable more efficient adding of batches of vertices. 2015-12-20 23:07:54 +01:00
Jan Möbius
0aced4c8c2 Fixed signed unsigned warning 2015-12-16 10:50:19 +01:00
Hans-Christian Ebke
b64f04693d Modifying CirculatorRange slightly so that Eclipse CDT can parse it. 2015-12-15 17:57:43 +01:00
Hans-Christian Ebke
4290b62f90 Removing unused next_cache_count_ member of PolyConnectivity. 2015-12-15 17:57:22 +01:00
Hans-Christian Ebke
df2ac9e79a Merge branch 'master' of roosevelt.informatik.rwth-aachen.de:/OpenMesh/OpenMesh 2015-12-14 17:32:34 +01:00
Hans-Christian Ebke
d584941675 Added += operator to mesh iterators. 2015-12-14 17:32:25 +01:00
Martin
e6967dfe8b reduced includes by means of static code analysis 2015-11-30 09:48:42 +01:00
Hans-Christian Ebke
3fe3657bc8 Added static versions of ArrayKernel::edge_handle and ...::halfedge_handle. 2015-11-26 13:01:53 +01:00
Hans-Christian Ebke
ec8936bfa6 Introduce ArrayKernel::clean_keep_reservation(). 2015-11-24 01:45:44 +01:00
Janis Born
4c9a6ba5a4 add VectorDimensionsT metaprogram to detect vector dimensions in C++98 2015-11-23 15:33:14 +01:00
Janis Born
b31589b15f fall back to dummy implementation for calc_face_normal on meshes with non-3D points 2015-11-23 15:03:57 +01:00
Jan Möbius
96ba2a3f8b Missing parameter passthrough 2015-11-18 14:55:18 +01:00
Christopher Tenter
2e709ae103 implement more robust algorithm for surface normal computation 2015-11-03 21:27:28 +01:00
Jan Möbius
fa57b1de63 Changed order of typedefs 2015-10-27 14:07:51 +01:00
Martin Marinov
acce6af3c0 Some minor changes to the StatusSet<> docs. 2015-10-23 17:45:29 +01:00
Martin Marinov
552598141c Fixed the most obvious issues with StatusSeT<> and its derivatives. Improved slightly the formatting and added a few lines documentation. 2015-10-23 17:19:06 +01:00