Hans-Christian Ebke
d85fe40f59
Added build support for C++11.
...
FindCXX11.cmake copied from OpenFlipper.
2015-11-09 18:04:43 +01:00
Alexander Dielen
016848f102
Exposed the progressive mesh module.
2015-11-05 18:20:02 +01:00
Christopher Tenter
2e709ae103
implement more robust algorithm for surface normal computation
2015-11-03 21:27:28 +01:00
Alexander Dielen
04662a96d5
Exposed parts of the decimater framework.
2015-11-03 14:09:21 +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
4c80b7e52f
* added more unittests for c++11 ranges vvrange and vertexrange
2015-10-01 16:27:12 +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
c8316a013e
* added basic vvrange testcase that checks if a mesh with only one vertex has an empty vvrange.
2015-09-29 17:12:43 +02:00
Martin Schultz
3c9c840c28
Merge branch 'master' into bugVvrange
2015-09-29 16:34:42 +02:00
Martin Schultz
1e7fe6317d
fixes #2
...
* removes -ansi since -ansi enforces older c++ standard
2015-09-29 15:12:38 +02:00
Martin Schultz
6366027c04
* fixes #3 by using cvv_cw iterators which are not deprecated
2015-09-16 17:09:26 +02:00
Martin
f28aa26ab2
closes #1
...
refs !1
*changed the static variables to be common variables.
If one opens a lot of files, using thread local could be an alternative as long as the compiler supports it.
2015-09-14 13:26:19 +02:00
Martin Schultz
2dce1916c5
* made STLReader reuse stringstreams
2015-09-11 15:41:16 +02:00
Martin Schultz
ebd5180a8f
* made OBJReader reuse stringstream objects.
...
Should speedup Reading on MS Windows especially with lots of materials.
2015-09-11 14:47:02 +02:00
Martin Schultz
c9180795bb
* made Stringstreams in offReader static and reuse them to save performance
2015-09-11 14:34:01 +02:00
Matthias Möller
2ef38f79d8
remove unnecessary c headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1333 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 10:36:32 +00:00
Matthias Möller
000c8ff18e
fix use OM double_t instead of c standard
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1332 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:57:43 +00:00
Matthias Möller
fe86a44c1d
add custom property (with pod data type) support for binary ply files
...
closes #2496
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1331 fdac6126-5c0c-442c-9429-916003d36597
2015-08-28 09:20:26 +00:00
Matthias Möller
e9290b468d
remove redundant code
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1330 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:44:24 +00:00
Matthias Möller
d00936aa14
add unittest for write stla
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1329 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:37:48 +00:00
Matthias Möller
0741377b89
remove redundant code
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1328 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:31:54 +00:00
Matthias Möller
ec436cd398
cleanup off writer output file
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1327 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:11:16 +00:00
Matthias Möller
1d28bd15db
add obj writer unittest
...
refs #2525
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1326 fdac6126-5c0c-442c-9429-916003d36597
2015-08-21 12:10:56 +00:00
Matthias Möller
b6c10de490
loaded properties are presistant per default
...
refs #2504
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1325 fdac6126-5c0c-442c-9429-916003d36597
2015-08-03 13:06:58 +00:00
Matthias Möller
e663fb9bac
fix crash when saving a mesh and a custom property was removed before
...
extend unittest for this case
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1323 fdac6126-5c0c-442c-9429-916003d36597
2015-07-28 18:16:16 +00:00
Jan Möbius
68fe500f18
Moved main version to 4.2
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1322 fdac6126-5c0c-442c-9429-916003d36597
2015-07-27 07:05:50 +00:00
Jan Möbius
be465673e6
Fixed bad enum
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1318 fdac6126-5c0c-442c-9429-916003d36597
2015-07-26 20:22:28 +00: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
Jan Möbius
305aa1b244
Get rid of some windows preprocessor warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1315 fdac6126-5c0c-442c-9429-916003d36597
2015-07-24 13:19:40 +00:00
Jan Möbius
f0c20b4493
Removed fixbundle calls if not building apps.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1314 fdac6126-5c0c-442c-9429-916003d36597
2015-07-24 10:09:33 +00:00
Jan Möbius
fad45b7fd6
Updated files to version 4.1
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1313 fdac6126-5c0c-442c-9429-916003d36597
2015-07-13 13:05:22 +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
fbda5f8687
change type int8_t to signed char from type char
...
closes #2499
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1305 fdac6126-5c0c-442c-9429-916003d36597
2015-07-08 08:16:59 +00:00
Jan Möbius
aab84e5e89
First steps to prepare 4.0 (4.0 due to relicense)
...
refs #2513
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1304 fdac6126-5c0c-442c-9429-916003d36597
2015-07-03 09:23:48 +00:00
Jan Möbius
43fdc506f2
Add a space after the solid keyword to make some readers happy.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1302 fdac6126-5c0c-442c-9429-916003d36597
2015-07-02 14:52:32 +00:00
Jan Möbius
ac23cb90bb
Fixed warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1301 fdac6126-5c0c-442c-9429-916003d36597
2015-06-25 10:45:05 +00:00
Jan Möbius
d5c2ea433a
missing typename
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1300 fdac6126-5c0c-442c-9429-916003d36597
2015-06-25 09:25:57 +00:00
Jan Möbius
6fe4849378
Fixed warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1299 fdac6126-5c0c-442c-9429-916003d36597
2015-06-25 09:08:02 +00:00
Jan Möbius
35a163a752
Install target missing for python bindings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1298 fdac6126-5c0c-442c-9429-916003d36597
2015-06-24 12:35:29 +00:00
Jan Möbius
af0ad80a97
Rduce int to float conversions
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1297 fdac6126-5c0c-442c-9429-916003d36597
2015-06-23 13:46:07 +00:00
Jan Möbius
afad5ef624
Added a test to check if we can continue to iterate from end after adding more vertices.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1296 fdac6126-5c0c-442c-9429-916003d36597
2015-06-22 13:55:47 +00:00
Hans-Christian Ebke
b5faa274a3
A little pre C++11 compatibility fix.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1295 fdac6126-5c0c-442c-9429-916003d36597
2015-06-19 13:18:43 +00:00
Jan Möbius
a92623dd8c
Removed experimental flag
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1293 fdac6126-5c0c-442c-9429-916003d36597
2015-06-19 08:43:20 +00:00
Matthias Möller
44800c3efc
unify int8_t/signed char/char in ply reader and writer.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1292 fdac6126-5c0c-442c-9429-916003d36597
2015-06-18 13:17:51 +00:00
Matthias Möller
e9431e6557
fix compile error on vector scalar multiplication when scalar type differs of vector scalar type and the scalar was lhs
...
closes #2367
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1291 fdac6126-5c0c-442c-9429-916003d36597
2015-06-18 11:53:05 +00:00
Matthias Möller
f0e51c54aa
fix output directory for windows
...
closes #2505
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1289 fdac6126-5c0c-442c-9429-916003d36597
2015-06-18 11:23:28 +00:00