Jan Möbius
b3b2819166
Fixed build failure with gcc 4.7
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@613 fdac6126-5c0c-442c-9429-916003d36597
2012-07-03 12:22:31 +00:00
Jan Möbius
f71f7fc4df
Fixed build failure with gcc 4.7
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@612 fdac6126-5c0c-442c-9429-916003d36597
2012-07-03 12:21:06 +00:00
Jan Möbius
85bfcb2064
Fixed cppcheck warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@604 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 11:56:36 +00:00
Jan Möbius
a3f36c2d73
Some documentation and cleanup for the add_face functions.
...
Unittests for add_face on triangle and quad meshes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@600 fdac6126-5c0c-442c-9429-916003d36597
2012-06-21 07:55:12 +00:00
Jan Möbius
e658918cca
Fixed bug in halfedge normal computation, where a boundary halfedge was not correctly handled and caused a segfault.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@599 fdac6126-5c0c-442c-9429-916003d36597
2012-06-20 14:50:15 +00:00
Matthias Möller
6d4008c948
- add: unittests for texcoords and normals
...
- add: set normals per halfedge if requested
refs #838
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@596 fdac6126-5c0c-442c-9429-916003d36597
2012-06-18 13:14:58 +00:00
Jan Möbius
a06f72a040
Fixed multiple connections of the omlog streams. closes #917
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@587 fdac6126-5c0c-442c-9429-916003d36597
2012-06-13 07:41:02 +00:00
Jan Möbius
b1dfc57365
Cleaned up indentation to be readable again
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@586 fdac6126-5c0c-442c-9429-916003d36597
2012-05-22 09:15:15 +00:00
Jan Möbius
a3c8369a27
Fixed stl reader by porting it to std string. It had serious problems in utf8 environments
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@583 fdac6126-5c0c-442c-9429-916003d36597
2012-05-08 15:05:10 +00:00
Isaak Lim
a79eab0528
added a check to is_collapse_ok in TriConnectivity if the edge is already deleted or not.
...
moved the equivalent check in PolyConnectivity to the top of the is_collapse_ok function.
closes #681
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@582 fdac6126-5c0c-442c-9429-916003d36597
2012-05-08 10:48:07 +00:00
Jan Möbius
0340ccf054
Fixed usage of operator | instead of dot
...
Added unittest for that
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@581 fdac6126-5c0c-442c-9429-916003d36597
2012-05-03 16:32:11 +00:00
Jan Möbius
c656256933
Fixed debug build crash on mac, reading from stringstream into emtpy string crashed when compiling with clang
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@579 fdac6126-5c0c-442c-9429-916003d36597
2012-05-02 12:34:42 +00:00
Jan Möbius
7cfc461f66
Fixed documentation warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@578 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 18:17:47 +00:00
Jan Möbius
a96ca67b16
Improved block for update_normals if properties don't exist. Documentation for update normals improved
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@575 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:06:29 +00:00
Jan Möbius
d8a2c1daff
Fixed cppcheck warning about possible null pointer reference
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@573 fdac6126-5c0c-442c-9429-916003d36597
2012-04-05 15:10:37 +00:00
Jan Möbius
75acdcf860
Making Binary IO readers multi-thread safe. (Thanks to Dominic Genest for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@571 fdac6126-5c0c-442c-9429-916003d36597
2012-04-05 14:26:34 +00:00
Jan Möbius
77ede4fac5
Document triangulate function in polymesh with more details
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@570 fdac6126-5c0c-442c-9429-916003d36597
2012-04-05 14:25:45 +00:00
Jan Möbius
dd1ff3061f
Updated collapse documentation
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@569 fdac6126-5c0c-442c-9429-916003d36597
2012-04-04 07:42:59 +00:00
Jan Möbius
3c0e93e261
Bugfix: File handle from opening binary STL file isn't released. (Thanks to Peter Newmann for the path) closes #493
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@567 fdac6126-5c0c-442c-9429-916003d36597
2012-03-30 09:47:37 +00:00
Jan Möbius
4ee67642e1
Fixed doxygen warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@566 fdac6126-5c0c-442c-9429-916003d36597
2012-03-23 17:00:57 +00:00
Jan Möbius
4c33a61404
Fixed documentation warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@564 fdac6126-5c0c-442c-9429-916003d36597
2012-03-21 16:06:55 +00:00
Jan Möbius
a1b1a51251
Get rid of doxygen warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@562 fdac6126-5c0c-442c-9429-916003d36597
2012-03-21 15:48:01 +00:00
Jan Möbius
64c0f20cd9
Added spaces to try to remove some documentation warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@561 fdac6126-5c0c-442c-9429-916003d36597
2012-03-21 14:40:48 +00:00
Jan Möbius
704fffc423
Fixed more size_t warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@559 fdac6126-5c0c-442c-9429-916003d36597
2012-03-20 09:32:02 +00:00
Jan Möbius
118202c476
Fixed a size_t uint conversion
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@558 fdac6126-5c0c-442c-9429-916003d36597
2012-03-20 09:08:20 +00:00
Hans-Christian Ebke
b240c21f7c
Added normalized() to VectorT.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@557 fdac6126-5c0c-442c-9429-916003d36597
2012-03-19 08:25:50 +00:00
Jan Möbius
2b25dba5fb
More XCode 4.3 fixes
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@556 fdac6126-5c0c-442c-9429-916003d36597
2012-03-08 17:24:30 +00:00
Jan Möbius
637381f19c
Xcode4.3 fixes for debug mode. refs #464
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@555 fdac6126-5c0c-442c-9429-916003d36597
2012-03-05 14:17:36 +00:00
Jan Möbius
b3c91eb26e
More Xcode 4.3 compatibility fixes. closes #464
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@553 fdac6126-5c0c-442c-9429-916003d36597
2012-03-02 16:54:35 +00:00
Jan Möbius
03fd666b9b
Fix to build with correct two phase name lookup (xcode 4.3 compatibility for OpenMesh). The template base class members are not found otherwise.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@552 fdac6126-5c0c-442c-9429-916003d36597
2012-03-02 16:16:30 +00:00
Jan Möbius
a28d019323
First step to xcode 4.3 compatibility
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@551 fdac6126-5c0c-442c-9429-916003d36597
2012-03-02 14:46:15 +00:00
Hans-Christian Ebke
d44c4bedf7
Fixed another bug in the new consolidated iterator. Unit tests seem to be passing, now.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@550 fdac6126-5c0c-442c-9429-916003d36597
2012-03-01 17:27:38 +00:00
Hans-Christian Ebke
62ef24047a
Fixed subtle issue with new consolidated iterator that slightly altered it behavior.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@549 fdac6126-5c0c-442c-9429-916003d36597
2012-03-01 17:06:44 +00:00
Hans-Christian Ebke
d3c3820221
Consolidated iterator code. Functionally equivalent but way cleaner than before.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@548 fdac6126-5c0c-442c-9429-916003d36597
2012-03-01 15:41:44 +00:00
Hans-Christian Ebke
ddcf2f46f3
Simplified iterators and made them integrate better with the STL.
...
Specifically, value_type has changed from {Vertex,Edge,...} to
{Vertex,Edge,...}Handle so that dereferenced iterators can actually be put to
use, now.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@547 fdac6126-5c0c-442c-9429-916003d36597
2012-03-01 14:55:47 +00:00
Jan Möbius
8d0c709eab
Drop the template only files
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@544 fdac6126-5c0c-442c-9429-916003d36597
2012-02-29 13:25:12 +00:00
Jan Möbius
ed0c4a1da3
Revert last commit
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@543 fdac6126-5c0c-442c-9429-916003d36597
2012-02-29 13:21:06 +00:00
Jan Möbius
4fc5787850
Changed the counter functions like n_vertices,n_edges,... from uint to size_t
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@542 fdac6126-5c0c-442c-9429-916003d36597
2012-02-29 12:58:52 +00:00
Jan Möbius
b808c1020d
Added missing function data_vector to bool specialization. Added corresponding unit tests. closes #451
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@537 fdac6126-5c0c-442c-9429-916003d36597
2012-02-24 10:11:01 +00:00
Jan Möbius
2a8b1dd832
Fixed wrong ifdef. (Thanks to Peter Newman)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@536 fdac6126-5c0c-442c-9429-916003d36597
2012-02-24 07:30:44 +00:00
Mike Kremer
94804e95f7
Write color property as correct data type to file. Closes #262 .
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@529 fdac6126-5c0c-442c-9429-916003d36597
2012-01-24 12:22:27 +00:00
Jan Möbius
20218b6df1
Test to get rid of windows warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@518 fdac6126-5c0c-442c-9429-916003d36597
2012-01-20 10:52:00 +00:00
Jan Möbius
48c8d78dc4
Test to get rid of windows warning
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@517 fdac6126-5c0c-442c-9429-916003d36597
2012-01-20 10:48:56 +00:00
David Bommes
222e55b9e9
added support for halfedge normals (normals per face/vertex to allow for smooth shading with feature edges)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@512 fdac6126-5c0c-442c-9429-916003d36597
2012-01-19 19:12:39 +00:00
Mike Kremer
8e90725609
Prepared OpenMesh for external build.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@504 fdac6126-5c0c-442c-9429-916003d36597
2012-01-18 09:48:05 +00:00
Jan Möbius
66d89e707f
Output written bytes to log in OMWriter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@495 fdac6126-5c0c-442c-9429-916003d36597
2012-01-13 15:01:55 +00:00
Jan Möbius
f07a202d4c
Fixed cppcheck error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@489 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 12:14:21 +00:00
Jan Möbius
4ffc00a6fc
Fixed one cppcheck error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@488 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 12:13:08 +00:00
Jan Möbius
7c4273dd78
Fixed cppcheck warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@485 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 09:15:18 +00:00
Jan Möbius
a6328d0808
Fixed warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@484 fdac6126-5c0c-442c-9429-916003d36597
2012-01-10 15:38:00 +00:00