Commit Graph

892 Commits

Author SHA1 Message Date
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
Jan Möbius
43f44c480f Fixed warnings of cppcheck
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@482 fdac6126-5c0c-442c-9429-916003d36597
2012-01-06 10:53:22 +00:00
Jan Möbius
de7961fab7 Fixed bug in split edge function for polymeshes, setting incorrect to pointers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@481 fdac6126-5c0c-442c-9429-916003d36597
2012-01-02 09:26:54 +00:00
Jan Möbius
0016d751f3 Replaced (v0|v1) by dot(v0,v1) in calc_sector_angle as
it fails to build otherwise (Thanks to Zhang Juyong for the fix)



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@480 fdac6126-5c0c-442c-9429-916003d36597
2011-12-16 13:18:51 +00:00
Jan Möbius
73f5a1fe89 PLY Writer normal support (Thanks to Bruno Dutailly)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@478 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:55:24 +00:00
Jan Möbius
64f70809ad Handle objs without faces(Thanks to Bruno Dutailly)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@476 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:23:29 +00:00
Jan Möbius
d361e5dbdc OBJ Reader support for vertex colors after vertices or Vertex colors as separate lines. (Thanks to Bruno Dutailly)
Added unittests for vertex colors



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@475 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:16:29 +00:00
Jan Möbius
214bc1f278 MinGW support
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@471 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 13:31:31 +00:00
Jan Möbius
a95789f417 Correct includes to build windows trim function
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@470 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 11:46:16 +00:00
Jan Möbius
300b400a45 Disable trimming as it does not build on windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@469 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:57:28 +00:00
Jan Möbius
0e08dce166 More includes required for windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@468 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:50:42 +00:00
Jan Möbius
9942449614 More includes required for windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@467 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:45:40 +00:00
Jan Möbius
1b3c96b976 Added trim functions and use it in ply reader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@466 fdac6126-5c0c-442c-9429-916003d36597
2011-11-28 10:38:24 +00:00
Jan Möbius
975b766aaa Support normals in ply format
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@463 fdac6126-5c0c-442c-9429-916003d36597
2011-11-25 15:08:38 +00:00
Jan Möbius
c4570a4b86 Added normal cone type to OpenMesh
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@458 fdac6126-5c0c-442c-9429-916003d36597
2011-11-16 09:27:12 +00:00
Jan Möbius
c2e20729c7 Fixed typos
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@456 fdac6126-5c0c-442c-9429-916003d36597
2011-11-14 08:16:07 +00:00
Jan Möbius
4862bb176e Color cast vec4i to vec4f
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@444 fdac6126-5c0c-442c-9429-916003d36597
2011-10-25 09:59:20 +00:00
Jan Möbius
9e13eab3ae Added color caster from vec3f to vec4f
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@442 fdac6126-5c0c-442c-9429-916003d36597
2011-10-24 14:26:58 +00:00
Jan Möbius
7e6d675bcd Glob files and pass them to install with full path
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@437 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 07:50:00 +00:00
Jan Möbius
6d47421af6 Next try ...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@436 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 07:35:37 +00:00
Jan Möbius
deb4baab0f Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@435 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 07:29:58 +00:00
Jan Möbius
90b34a7b3c Typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@434 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 07:28:05 +00:00
Jan Möbius
adaf0e4ac3 Install release and debug on windows from same build dir
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@433 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 07:22:48 +00:00
Jan Möbius
6327d3d7d7 Install release and debug on windows from same build dir
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@432 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 07:22:12 +00:00
Jan Möbius
c5eed88e17 Correct build on windows without apps
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@429 fdac6126-5c0c-442c-9429-916003d36597
2011-10-11 06:50:57 +00:00
Jan Möbius
cc7141f28e Use doxygen command to mark notes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@425 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 12:31:03 +00:00
Jan Möbius
ae4cbf0d46 Document skipping iterators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@424 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 12:24:43 +00:00
Jan Möbius
0ee8f9f0b3 Get rid of most doxygen warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@421 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 11:14:09 +00:00
Jan Möbius
efca170161 Document readers/writers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@420 fdac6126-5c0c-442c-9429-916003d36597
2011-10-10 09:59:18 +00:00
Jan Möbius
8cc50f96f6 Bugfix for #248 end circulator broken for VertexFaceIter
The vf_end function did not provide the correct end for the iteration.

Added unittest for two cases with VertexFaceIter (hour glass case and full case) 

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@415 fdac6126-5c0c-442c-9429-916003d36597
2011-10-07 15:01:51 +00:00