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
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
484d6529f8
Fixed bug in OBJ reader, where some faces could be missing
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@777 fdac6126-5c0c-442c-9429-916003d36597
2012-12-11 08:44:02 +00:00
Jan Möbius
91b0ac9df0
Fixed missing cast in importer which lead to problems when using different vector type. (Thanks to Mario Deuss for the fix)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@776 fdac6126-5c0c-442c-9429-916003d36597
2012-12-10 15:22:00 +00:00
Isaak Lim
fcd018e85a
added documentation note (regarding std::ios_base::openmode flags) for read with istream
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@752 fdac6126-5c0c-442c-9429-916003d36597
2012-10-18 11:09:34 +00:00
Isaak Lim
953529bf7d
fixed doxygen warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@750 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 15:01:06 +00:00
Isaak Lim
176dab0a80
only set precision for writers that write ascii
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@749 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 14:46:52 +00:00
Isaak Lim
1707f09f0d
- added precision option to MeshIO and IOManager
...
refs #1157
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@748 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 13:52:32 +00:00
Isaak Lim
d370b6e06c
- added some documentation to the BaseWriter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@747 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 10:42:13 +00:00
Isaak Lim
fc7acde663
- added precision option to openmesh writers
...
refs #1075
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@746 fdac6126-5c0c-442c-9429-916003d36597
2012-10-15 10:28:14 +00:00
Isaak Lim
6aa98b5b7c
- now the OM reader also checks user options
...
- added some corresponding unittests
refs #1077
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@743 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 13:25:36 +00:00
Isaak Lim
b409f83040
- the PLY reader now checks the options set by the user and will skip components that are not requested
...
- modified the loading unittest to test this behavior
refs #1077
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@741 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 11:44:29 +00:00