Commit Graph

822 Commits

Author SHA1 Message Date
Jan Möbius
172758cffa Get rid of some size_t warnings in OpenMesh
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@839 fdac6126-5c0c-442c-9429-916003d36597
2013-07-22 14:29:52 +00:00
Jan Möbius
dece923a4f Converted n_primitives() functions to size_t
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@838 fdac6126-5c0c-442c-9429-916003d36597
2013-06-12 13:41:43 +00:00
Matthias Möller
20b17c450a using c++ headers in c++ files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@837 fdac6126-5c0c-442c-9429-916003d36597
2013-06-12 13:14:36 +00:00
Matthias Möller
c657f9a125 - fix some cpp check warnings and errors
- fix "property_copy" which has no selfassign now

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@836 fdac6126-5c0c-442c-9429-916003d36597
2013-06-11 14:02:09 +00:00
Jan Möbius
1f1cffcdf2 Only delete edge self, if it is standalone
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@835 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 14:58:43 +00:00
Jan Möbius
45c5dab747 Allow PolyConnectivity::delete_edge to mark an edge as deleted, if there are no faces incident.
Added unittest.



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@834 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 13:58:32 +00:00
Jan Möbius
c99b3fb5b2 Added unittest to check halfedge iterator skipping and not skipping
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@833 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 12:54:52 +00:00
Jan Möbius
e0e39aeb52 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@832 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 08:23:32 +00:00
Jan Möbius
7d9ada2e55 Fixed some clang compiler warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@831 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 08:23:24 +00:00
Jan Möbius
ee648b6da1 Try to get rid of memory leak in IOManager
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@830 fdac6126-5c0c-442c-9429-916003d36597
2013-06-05 07:33:16 +00:00
Isaak Lim
adf464de77 the normal deviation module now also is a priority module in the commandlineDecimater tool
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@829 fdac6126-5c0c-442c-9429-916003d36597
2013-06-03 09:00:42 +00:00
Isaak Lim
63e1516032 adjusted the documation for the decimation tutorial so that the priority module is correctly initialized
refs #1580

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@828 fdac6126-5c0c-442c-9429-916003d36597
2013-05-30 15:22:35 +00:00
Isaak Lim
84bc25ffd1 - added an explanation on how to use multiple modules to the commandlineDecimater help output
- added decimater related help output to DecimaterGui when 'h' is pressed as the application is running

refs #1580

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@827 fdac6126-5c0c-442c-9429-916003d36597
2013-05-30 15:11:38 +00:00
Hans-Christian Ebke
f552be05fa Enabled initialization of invalid PropertyManager.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@826 fdac6126-5c0c-442c-9429-916003d36597
2013-05-23 09:36:41 +00:00
Jan Möbius
1ab842a6df Added unittest for collapse and is_collapse_ok
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@825 fdac6126-5c0c-442c-9429-916003d36597
2013-05-17 20:49:26 +00:00
Isaak Lim
c15f0f60f5 - fixed writing face indices in different configurations regarding vertex texture coordinates and vertex normals
- adjusted the intial patch provided by Robert Luo

refs #1560

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@824 fdac6126-5c0c-442c-9429-916003d36597
2013-05-16 11:11:41 +00:00
Isaak Lim
83722b8e5f - fixed a bug with OBJReader that prevented the material color to be loaded correctly
- added a corresponding unittest

Thanks for the patch by Karthik Nathan

closes #1473

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@823 fdac6126-5c0c-442c-9429-916003d36597
2013-04-25 11:03:53 +00:00
Jan Möbius
3d72b7dbc1 vector_type min(const vector_type& _rhs) and vector_type max(const vector_type& _rhs) are declared const now. (Thanks to Vladimir Chalupecky for the hint)
minimize and maximize return vector_type& (reference) instead of vector_type (value) to allow chaining p.minimize(p1).minimize(p2). (Thanks to Vladimir Chalupecky for the hint)



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@822 fdac6126-5c0c-442c-9429-916003d36597
2013-04-02 12:39:47 +00:00
Jan Möbius
a533c6e865 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@821 fdac6126-5c0c-442c-9429-916003d36597
2013-03-05 12:17:43 +00:00
Jan Möbius
82135f21ab Missing this pointer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@820 fdac6126-5c0c-442c-9429-916003d36597
2013-03-05 07:35:35 +00:00
Isaak Lim
7aab2ad475 updated the documentation for IO Options
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@819 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 17:09:45 +00:00
Isaak Lim
837c866abb - added color float support for the OM OFF reader/writer
- added corresponding unittests
- small fix for the PLY writer

Note that for reading binary OFF files with color floats, the user has to set the flag, that floats are expected

closes #1410

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@818 fdac6126-5c0c-442c-9429-916003d36597
2013-03-04 16:36:20 +00:00
Isaak Lim
57b3908771 - the OM PLY writer and reader can now also handle color floats
- added corresponding unittests

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@817 fdac6126-5c0c-442c-9429-916003d36597
2013-03-01 15:32:46 +00:00
Isaak Lim
2857da21b6 - added a ColorFloat flag to Options, which can be set to write and read RGBA values as float instead of unsigned char
- added color_is_float function which checks if the ColorFloat flag was set

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@816 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 13:30:37 +00:00
Isaak Lim
951aa17bd9 - added color_cast from Vec4f to Vec4i and Vec4ui
- added colori and colorAi functions to BaseExporter which return Vec3i and Vec4i respectively
- adjusted the PLYWriter to use colori and colorAi for writing ascii files

refs #1405

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@815 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 13:25:42 +00:00
Isaak Lim
7460c8ac82 added a unittest that writes and reads a binary PLY file with vertex colors
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@814 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 12:02:40 +00:00
Isaak Lim
cc19635cdd split unittests_loading into seperate files for different file types
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@813 fdac6126-5c0c-442c-9429-916003d36597
2013-02-27 11:25:24 +00:00
Isaak Lim
fcc40c78c2 added color_cast from Vec3f and Vec4f to Vec3i and Vec3ui
refs #1405

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@812 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 14:33:29 +00:00
Isaak Lim
708af7068f patch from a generous contributor for the OpenMesh PLY writer works as expected
refs #1405

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@811 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 12:52:19 +00:00
Isaak Lim
76e06be7a5 added a ply file written with MeshLab and a corresponding unittest
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@810 fdac6126-5c0c-442c-9429-916003d36597
2013-02-26 09:34:56 +00:00
Isaak Lim
740d23ed36 - read_mesh now throws a compile error if an Options::Flag enum is passed as an argument instead of an Options object
- added a unit test for writing and reading vertex colors to and from an OFF file. The default color type Vec3uc from DefaultTraits in Traits.hh is used.

refs #1404

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@809 fdac6126-5c0c-442c-9429-916003d36597
2013-02-25 13:30:56 +00:00
Hans-Christian Ebke
9a69c39b60 Undo: Some singular changes. (Sorry about that.)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@808 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:25:03 +00:00
Hans-Christian Ebke
7d9d01a7e2 PropertyManager: Added PropertyManager::propertyExists() method.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@807 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:26 +00:00
Hans-Christian Ebke
152719a838 Some singular changes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@806 fdac6126-5c0c-442c-9429-916003d36597
2013-02-20 12:19:25 +00:00
Jan Möbius
e826572afc Fixed warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@805 fdac6126-5c0c-442c-9429-916003d36597
2013-02-19 14:43:27 +00:00
Jan Möbius
da9bfe2578 Fixed various warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@804 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 17:19:41 +00:00
Jan Möbius
6ba9774194 Fixed various warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@803 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 17:17:01 +00:00
Jan Möbius
8ccd4b1601 Commited too much
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@802 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 16:18:44 +00:00
Jan Möbius
154ad58568 Removed unused variable
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@801 fdac6126-5c0c-442c-9429-916003d36597
2013-02-18 16:06:16 +00:00
Jan Möbius
9d23363de9 Updated changelog
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@800 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 15:29:59 +00:00
Jan Möbius
2d754b31be Missing include, preventing build on VS2012
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@799 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 15:22:31 +00:00
Jan Möbius
9d1d1a1a0d Fixed another static occurence in the Hausdorff module
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@798 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 07:03:04 +00:00
Jan Möbius
1dfb93c687 Fixed another static occurence in the Hausdorff module
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@797 fdac6126-5c0c-442c-9429-916003d36597
2013-01-30 07:01:51 +00:00
Jan Möbius
9ed294c929 Make Hausdorff module thread safe. Removed static point vector. (Thanks to Falko Löffler for the fix)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@796 fdac6126-5c0c-442c-9429-916003d36597
2013-01-29 09:00:06 +00:00
Jan Möbius
feaf69d499 Wrong documentation about return type. closes #1387
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@795 fdac6126-5c0c-442c-9429-916003d36597
2013-01-23 09:32:00 +00:00
Jan Möbius
7d2f6608b7 Uinittest for face halfedge circulator
Uinittest for face edge circulator



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@794 fdac6126-5c0c-442c-9429-916003d36597
2013-01-15 08:42:39 +00:00
Jan Möbius
82f9839ae6 Unittest for Face vertex iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@793 fdac6126-5c0c-442c-9429-916003d36597
2013-01-14 10:00:31 +00:00
Jan Möbius
3c4ce5ab35 Tests for vertex edge iterator
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@792 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 16:03:24 +00:00
Jan Möbius
2bcf4fbfc7 VertexFace Iter test at boundary
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@791 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 15:52:22 +00:00
Jan Möbius
2c61f7779d Added vertex vertex iterator tests
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@790 fdac6126-5c0c-442c-9429-916003d36597
2013-01-11 15:46:30 +00:00