Commit Graph

290 Commits

Author SHA1 Message Date
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
Jan Möbius
d3cd7bfe06 Random number generator now works with size_t
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@869 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 09:38:26 +00:00
Jan Möbius
a1ebb8b7b5 size_t fix in arrykernel
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@867 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:25:05 +00:00
Jan Möbius
435d714121 size_t fix in polyconnectivity
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@866 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:23:36 +00:00
Jan Möbius
273c1581d7 size_t fix in polyconnectivity
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@865 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 08:22:35 +00:00
Jan Möbius
ea0b3cc511 size_t fixes in OM writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@859 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:52:14 +00:00
Jan Möbius
13420acfd0 STL Writer conversion fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@856 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:37:27 +00:00
Jan Möbius
b18b79a183 OBJ Wrtier conversion fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@855 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 06:36:26 +00:00
Jan Möbius
0d617dfc5e Fixed some conversions in OM Reader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@852 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 20:17:42 +00:00
Jan Möbius
11376f3c0d Fixed several conversion warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@850 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 16:01:46 +00:00
Jan Möbius
6428c6b9f4 Fixed more warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@848 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 15:34:18 +00:00
Jan Möbius
3912532758 Moved code from header to cc file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@847 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 14:23:12 +00:00
Jan Möbius
b1c206793b Moved some code from header to cc file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@846 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 14:14:59 +00:00
Jan Möbius
3102340852 Silence more warnings in OFF PLY and STL writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@845 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 14:03:45 +00:00
Jan Möbius
68c881c0d1 Fix casts in OBJ Writer
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@844 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 13:46:43 +00:00
Jan Möbius
6e62de90d4 Fixed size_t conversion warnings in OBJReader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@843 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 13:32:21 +00:00
Jan Möbius
e8e626037f Silence some conversion warnings
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@842 fdac6126-5c0c-442c-9429-916003d36597
2013-07-23 13:27:49 +00:00
Jan Möbius
fb38697831 More size_t fixes
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@841 fdac6126-5c0c-442c-9429-916003d36597
2013-07-22 15:12:57 +00:00
Jan Möbius
ff5425d84f reserve and resize of the property vectors now take size_t
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@840 fdac6126-5c0c-442c-9429-916003d36597
2013-07-22 15:06:21 +00:00
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
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
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
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
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
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
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
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
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
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
eec3ac3b98 Made STL Reader work, with the clear = false flag.
Redundant lookup removed. 
( Thanks to Peter Newman for the patch)

closes #1370

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@783 fdac6126-5c0c-442c-9429-916003d36597
2013-01-08 07:24:43 +00:00
Jan Möbius
b025acaaa6 Make delete_face function work without edge status
Added unittests for delete_face



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@782 fdac6126-5c0c-442c-9429-916003d36597
2013-01-06 15:51:58 +00:00
Jan Möbius
7bb796cd7c Moved version to 2.4
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@780 fdac6126-5c0c-442c-9429-916003d36597
2012-12-20 10:51:47 +00:00
Jan Möbius
54535f2da9 Prepare 2.3.1 for release
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@779 fdac6126-5c0c-442c-9429-916003d36597
2012-12-20 08:13:53 +00:00