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
Jan Möbius
f5d2560656
More efficient implementation of opposite_halfedge handle
...
Old code compiled to
0x00000000004594a0 <+0>: lea -0x1(%rsi),%edx
0x00000000004594a3 <+3>: lea 0x1(%rsi),%eax
0x00000000004594a6 <+6>: and $0x1,%esi
0x00000000004594a9 <+9>: cmovne %edx,%eax
0x00000000004594ac <+12>: retq
New code creates
0x00000000004594a0 <+0>: mov %esi,%eax
0x00000000004594a2 <+2>: xor $0x1,%eax
0x00000000004594a5 <+5>: retq
So no conditionals, jumps and fewer instructions
closes #5
2015-10-23 10:25:47 +02:00
Jan Möbius
6afadfbd4c
Revert "remove dead code" aka Reintroduce status set
...
This reverts commit c5d03587cc .
2015-10-23 08:22:25 +02:00
Martin Schultz
3df14fae1a
fixes #3 by checking Half Edge Handle validity on circulator creation
2015-10-01 15:55:07 +02:00
Martin Schultz
6366027c04
* fixes #3 by using cvv_cw iterators which are not deprecated
2015-09-16 17:09:26 +02:00
Jan Möbius
fc4089ff3b
Fixed bug in polymesh normal computation. Added more unittests for normal computation.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1316 fdac6126-5c0c-442c-9429-916003d36597
2015-07-25 19:28:39 +00:00
Matthias Möller
c5d03587cc
remove dead code
...
refs #2511
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1308 fdac6126-5c0c-442c-9429-916003d36597
2015-07-08 10:12:49 +00:00
Matthias Möller
ed3155284c
- move iostream from header to source files.
...
- replace some iostreams to o/istreams only
- some minor include fixes
closes #2489
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1278 fdac6126-5c0c-442c-9429-916003d36597
2015-06-09 08:58:41 +00:00
Jan Möbius
fd4bcb39ea
Typo
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d
Fixed bad typo in comment
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
0a4c1dc206
Get rid of the old ACGMakeFiles
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1253 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:35:09 +00:00
Jan Möbius
83486e0b5f
Relicense to BSD
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Jan Möbius
a7450f15f5
Fixed wrong normal calculation in calc_face_normal for Poly Meshes.
...
closes #2427
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1247 fdac6126-5c0c-442c-9429-916003d36597
2015-03-20 11:57:57 +00:00
Matthias Möller
4020a879e6
moved face* circulators to old behavior
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1234 fdac6126-5c0c-442c-9429-916003d36597
2015-03-04 15:47:04 +00:00