Commit Graph

897 Commits

Author SHA1 Message Date
Hans-Christian Ebke
2899984ed9 C++11: Fixed OpenMesh Python bindings. 2015-11-19 15:42:39 +01:00
Hans-Christian Ebke
54d14e54c3 Purged another warning in unit tests. 2015-11-19 15:23:43 +01:00
Hans-Christian Ebke
498e4d033f Purged warnings in unit tests. 2015-11-19 15:21:00 +01:00
Hans-Christian Ebke
580e5526d8 C++11: VectorT now also accepts non-arithmetic types as Scalar. 2015-11-19 15:20:41 +01:00
Hans-Christian Ebke
4c36fcfee8 Added more unit tests to VectorT. 2015-11-19 14:11:44 +01:00
Hans-Christian Ebke
07fa145057 C++11: Fixed VectorT::normalize_cond() implementation. 2015-11-19 14:09:03 +01:00
Hans-Christian Ebke
784adb9744 C++11: Made VectorT::size() and VectorT::dim() constexpr. 2015-11-19 14:08:42 +01:00
Hans-Christian Ebke
687da4e08f C++11: Added static_asserts to component-wise constructor. 2015-11-19 11:10:28 +01:00
Hans-Christian Ebke
21cc0acab5 C++11: Explicitly defined default copy/move c'tor and operator=. 2015-11-19 11:09:53 +01:00
Hans-Christian Ebke
d511f65739 Added some more basic linear algebra unit tests for VectorT. 2015-11-19 10:27:11 +01:00
Hans-Christian Ebke
9bac315198 C++11: Fixed VectorT so it compiles with clang as well. 2015-11-19 10:26:45 +01:00
Hans-Christian Ebke
e966c351b4 Fixed VectorT python wrapper. 2015-11-18 15:52:32 +01:00
Hans-Christian Ebke
b0f7f8b0f3 Fixed VectorT::operator| and operator>>. 2015-11-18 15:52:20 +01:00
Hans-Christian Ebke
fc5c715dd3 Merge remote-tracking branch 'remotes/origin/master' 2015-11-18 15:12:38 +01:00
Hans-Christian Ebke
287da20912 C++11: Reimplemented VectorT without macros. 2015-11-18 15:11:48 +01:00
Jan Möbius
59c6c56c45 Unused variables 2015-11-18 15:00:48 +01:00
Jan Möbius
96ba2a3f8b Missing parameter passthrough 2015-11-18 14:55:18 +01:00
Jan Möbius
15a7497729 Updated version flags to 5.1 2015-11-18 14:06:54 +01:00
Janis Born
11c9946934 fix generic VectorT ctor for non float-convertible scalar types 2015-11-17 11:37:23 +01:00
Hans-Christian Ebke
706b065593 C++11: Fixed clang warning about missing braces. 2015-11-12 15:52:49 +01:00
Jan Möbius
bbf51e4cc2 Fixed warnings in unit tests due to unused variables 2015-11-11 14:43:32 +01:00
Jan Möbius
4b322f792c Switched Release version to 5.0 and updated changelog 2015-11-11 09:13:10 +01:00
Hans-Christian Ebke
0d619f33d3 C++11: Create version of homogenized() for C++11 branch (without macros). 2015-11-10 16:08:53 +01:00
Hans-Christian Ebke
dfcc98c845 C++11: Do CMake-less C++11 checking. 2015-11-10 15:00:19 +01:00
Hans-Christian Ebke
dda4b41cac C++11: Got rid of narrowing conversion warnings in legacy code.
Added explicit static_cast along with static SFINAE checks to VectorT
constructor.
2015-11-09 22:55:42 +01:00
Hans-Christian Ebke
26914cba92 C++11: Legacy incompatibility fixes for VectorT C++11 features. 2015-11-09 21:21:19 +01:00
Hans-Christian Ebke
c2c627ed4d C++11: Added _htmlColor literal operator.
Allows inline specification of colors in HTML syntax.
2015-11-09 18:51:00 +01:00
Hans-Christian Ebke
97ccb1d641 Modernized VectorT constructors in C++11 branch.
* Less redundancy.
* We can now make some of the VectorT constructors constexpr which is
useful for other features.
2015-11-09 18:46:39 +01:00
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