Commit Graph

539 Commits

Author SHA1 Message Date
Hans-Christian Ebke
a0cf6bac3c OpenMesh: Added convenience method for face centroid computation.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@989 fdac6126-5c0c-442c-9429-916003d36597
2014-01-29 15:05:09 +00:00
Jan Möbius
ae7ae806ae Added HalfedgeLoop iterator to iterate over loops of halfedges (faces, hoes). closes #1979
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@987 fdac6126-5c0c-442c-9429-916003d36597
2014-01-15 15:43:16 +00:00
Hans-Christian Ebke
18d44c13e7 Added more convenient versions of calc_edge_vector to PolyMeshT.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@986 fdac6126-5c0c-442c-9429-916003d36597
2014-01-11 22:52:16 +00:00
Jan Möbius
6c7d87b460 - Fixed crash of std::string initialization
- Fixed documentation mixing primitives



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@973 fdac6126-5c0c-442c-9429-916003d36597
2013-10-16 11:16:21 +00:00
Hans-Christian Ebke
f134e74a88 Added getMesh property to PropertyManager.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@967 fdac6126-5c0c-442c-9429-916003d36597
2013-10-03 09:12:12 +00:00
Isaak Lim
733cb52240 fixed a bug in the STLReader where normals could be set for invalid face handles
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@963 fdac6126-5c0c-442c-9429-916003d36597
2013-09-26 13:02:09 +00:00
Isaak Lim
b643b26f2d - the OpenMesh STLReader now also reads face normals if requested
- added corresponding unittests
- removed duplicate code

closes #1719

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@962 fdac6126-5c0c-442c-9429-916003d36597
2013-09-26 10:35:13 +00:00
Hans-Christian Ebke
dc5785e812 Put mesh_cast methods into surrounding namespace so clang finds them.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@960 fdac6126-5c0c-442c-9429-916003d36597
2013-09-23 09:35:47 +00:00
Hans-Christian Ebke
a7d3a16a28 Corrected documentation for mesh_cast related stuff.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@959 fdac6126-5c0c-442c-9429-916003d36597
2013-09-20 14:21:55 +00:00
Jan Möbius
5094916ff6 Bugfix : If bool property is written and conatins 0x20 in file, reader will fail (Thanks to Simon Flöry for the patch)
Unittest: Added test case for this bug



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@957 fdac6126-5c0c-442c-9429-916003d36597
2013-09-17 13:09:19 +00:00
Jan Möbius
ee37edb46b - Fixed segfault of copy_all_properties if one property has been removed before. (Thanks to Simon Flöry for the patch)
- Added unittest for this case



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@951 fdac6126-5c0c-442c-9429-916003d36597
2013-08-29 07:17:03 +00:00
Matthias Möller
38599251b3 - fix om writer with colors
- more om unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@948 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 15:00:59 +00:00
Jan Möbius
f37ee2d46b Fixed 2 more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@944 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 12:03:51 +00:00
Jan Möbius
5822351444 Removed unused code
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@943 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 11:34:24 +00:00
Jan Möbius
5cd4bc0444 cppcheck warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@941 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 10:00:59 +00:00
Jan Möbius
721a2cbb84 Fixed regression and Problem in OM writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@939 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 08:01:44 +00:00
Jan Möbius
cb25e07252 cppcheck
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@936 fdac6126-5c0c-442c-9429-916003d36597
2013-08-21 07:52:33 +00:00
Jan Möbius
201c0ceecb OM 3 change
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@935 fdac6126-5c0c-442c-9429-916003d36597
2013-08-20 15:45:10 +00:00
Jan Möbius
51f4f26300 Fixed more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@933 fdac6126-5c0c-442c-9429-916003d36597
2013-08-15 08:43:04 +00:00
Matthias Möller
76f0d13b84 enable deprecated warning for msvc
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@925 fdac6126-5c0c-442c-9429-916003d36597
2013-08-12 13:24:29 +00:00
Jan Möbius
29011e25d2 Updated license headers
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Hans-Christian Ebke
ef1727f21a Added mesh cast for meshes with different but identical traits.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@920 fdac6126-5c0c-442c-9429-916003d36597
2013-08-09 09:57:18 +00:00
Isaak Lim
2eeb756b6a - marked current_halfedge_handle as deprecated
- updated code to fix related warnings
- added some unittests to ensure unchanged behaviour when replacing current_halfedge_handle

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@917 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 12:47:48 +00:00
Hans-Christian Ebke
cb16ac26d6 Removed unnecessary parameters from circulator members.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@916 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 10:15:53 +00:00
Isaak Lim
7bababee5c updated the documentation for the improved iterators and circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@915 fdac6126-5c0c-442c-9429-916003d36597
2013-08-08 09:22:50 +00:00
Matthias Möller
9076f9ec5a gcc version check based on compiler defines (fix for mingw)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@913 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 15:23:04 +00:00
Jan Möbius
daea181b2f Next set
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@908 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:32:50 +00:00
Jan Möbius
0217136b5e Next changeset
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@907 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:18:44 +00:00
Jan Möbius
e21e113b50 Replaced all .handle() calls
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@904 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:43:06 +00:00
Matthias Möller
ea099b1437 fix msvc define
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@903 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:38:22 +00:00
Jan Möbius
50dc9e8478 Next change set for the new interface
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:26:50 +00:00
Hans-Christian Ebke
29335262e4 Fixing GCC deprecated attribute feature test.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@901 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:25:03 +00:00
Matthias Möller
49125a05d7 close stl files with endsolid
refs #1713

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@900 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:15:53 +00:00
Matthias Möller
fe2e047728 fix deprecated macro for gcc < 4.5
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@899 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:55:29 +00:00
Jan Möbius
afda61f067 First set of changes to the new circulators
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@898 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:40:10 +00:00
Jan Möbius
17fdd5a08c Removed extra typename keyword in non template code
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@896 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:26:22 +00:00
Hans-Christian Ebke
d48d9466af Fixing operator-> in circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@895 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:24:06 +00:00
Hans-Christian Ebke
26f9e84e59 Added stream operator for FVIter.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@894 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:24:04 +00:00
Hans-Christian Ebke
7e8fd1e6fc Added a whole bunch of assertions to PolyConnectivity.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@893 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:19:16 +00:00
Matthias Möller
f9211ab883 - add missing includes
- fix msvc warning/preprocessor operator

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@892 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:50:58 +00:00
Hans-Christian Ebke
7a2d40d8a6 Rewrite for all circulators complete.
Conflicts:
	src/OpenMesh/Core/Mesh/CirculatorsT.hh

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@891 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:44 +00:00
Hans-Christian Ebke
b548bf221f Rewrote vertex-centered circulators.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@890 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:42 +00:00
Hans-Christian Ebke
6d70b25445 Improved C++11-branch of PropertyManager and at the same time fixed compile error with gcc 4.7.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@889 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:40 +00:00
Hans-Christian Ebke
6e970852c5 PropertyManager: Added ability to get property name.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@888 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 08:03:39 +00:00
Hans-Christian Ebke
ab74a62b3e Fixed OBJWriter precision bug.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@881 fdac6126-5c0c-442c-9429-916003d36597
2013-07-30 08:43:40 +00:00
Matthias Möller
bdf48be7fe type conversion
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@880 fdac6126-5c0c-442c-9429-916003d36597
2013-07-26 15:49:14 +00:00
Jan Möbius
5c2285eabe Wrong variable type
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@875 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:26:46 +00:00
Jan Möbius
25bef693c8 Error in random number generator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@873 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:23:55 +00:00
Jan Möbius
0510d14f62 Two more fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@871 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:20:58 +00:00
Jan Möbius
b9df6c4040 Random number generator now works with size_t
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@870 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:03:39 +00:00