Matthias Möller
9680df9f63
add custom property support for PLY reader ASCII version
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1181 fdac6126-5c0c-442c-9429-916003d36597
2014-10-24 08:52:07 +00:00
Jan Möbius
24bd7be273
Fixed several unused variables
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1150 fdac6126-5c0c-442c-9429-916003d36597
2014-08-29 08:28:47 +00:00
Matthias Möller
d633dfc737
- change name of the types "True" and "False" to "TrueType" and "FalseType" to clearify, that these are types
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1137 fdac6126-5c0c-442c-9429-916003d36597
2014-08-11 09:47:41 +00:00
Matthias Möller
208e753e89
remove excluding condition
...
Thanks to Javier Granado for the hint
closes #2247
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1114 fdac6126-5c0c-442c-9429-916003d36597
2014-07-25 09:13:33 +00:00
Jan Möbius
ff2053119e
More cppcheck fixes in OM
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1075 fdac6126-5c0c-442c-9429-916003d36597
2014-05-30 10:15:12 +00:00
Jan Möbius
dfa030339b
Silence cppcheck for now
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1055 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 13:11:11 +00:00
Jan Möbius
5104bf5c42
Silence most readers/writers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1053 fdac6126-5c0c-442c-9429-916003d36597
2014-05-09 12:44:18 +00:00
Jan Möbius
48f18d6410
PLY Reader Fix: locking up when loading some binary files ( Thanks to Peter Newman for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1042 fdac6126-5c0c-442c-9429-916003d36597
2014-05-07 11:43:53 +00:00
Jan Möbius
1d121ee8c7
Removed unused variable
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1001 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 08:06:08 +00:00
Jan Möbius
377bf721ac
Added simple VTK writer writing only vertices and faces (Thanks to Vladimir Chalupecky for the code). closes #2039
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1000 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:18:21 +00:00
Jan Möbius
383b75b20b
Fixed material writer using wrong stream (Thanks to Vladimir Chalupecky for the fix). closes #2037
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@999 fdac6126-5c0c-442c-9429-916003d36597
2014-02-28 07:15:27 +00:00
Jan Möbius
68a3ff3136
The annual License Header Bump (Sorry for the rebuilds ;-) )
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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