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
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
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
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
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
Jan Möbius
f3312397a5
Updated License Headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@736 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:30:49 +00:00
Isaak Lim
10b271fb56
- added functionaliy for the STLWriter to also write to ostreams
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@705 fdac6126-5c0c-442c-9429-916003d36597
2012-09-27 10:18:43 +00:00
Mike Kremer
5834e277f7
- add dll export macros
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@699 fdac6126-5c0c-442c-9429-916003d36597
2012-09-24 10:10:22 +00:00
Jan Möbius
a1340983b1
Export reader and writer symbols to dll
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@695 fdac6126-5c0c-442c-9429-916003d36597
2012-09-23 14:49:46 +00:00
Jan Möbius
46ab02296e
Fix: OM Reader used different types on 32/64-bit systems. (Thanks to Martin Bayer for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@620 fdac6126-5c0c-442c-9429-916003d36597
2012-07-17 10:13:27 +00:00
Mike Kremer
94804e95f7
Write color property as correct data type to file. Closes #262 .
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@529 fdac6126-5c0c-442c-9429-916003d36597
2012-01-24 12:22:27 +00:00
Jan Möbius
66d89e707f
Output written bytes to log in OMWriter
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@495 fdac6126-5c0c-442c-9429-916003d36597
2012-01-13 15:01:55 +00:00
Jan Möbius
f07a202d4c
Fixed cppcheck error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@489 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 12:14:21 +00:00
Jan Möbius
4ffc00a6fc
Fixed one cppcheck error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@488 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 12:13:08 +00:00
Jan Möbius
7c4273dd78
Fixed cppcheck warnings
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@485 fdac6126-5c0c-442c-9429-916003d36597
2012-01-12 09:15:18 +00:00
Jan Möbius
73f5a1fe89
PLY Writer normal support (Thanks to Bruno Dutailly)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@478 fdac6126-5c0c-442c-9429-916003d36597
2011-12-01 16:55:24 +00:00
Jan Möbius
4fdd4c2adc
Updated license headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@362 fdac6126-5c0c-442c-9429-916003d36597
2011-01-26 09:21:12 +00:00
Mike Kremer
a14aa7a2de
Avoid failure of file writing if face colors or face normals are requested for PLY files. We just skip these options at this point.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@347 fdac6126-5c0c-442c-9429-916003d36597
2010-11-23 17:36:12 +00:00
Jan Möbius
34141f8d9a
Changed license Header to 2010
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@325 fdac6126-5c0c-442c-9429-916003d36597
2010-06-17 10:45:58 +00:00
Jan Möbius
5b41dd5030
Fixed windows build error
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@229 fdac6126-5c0c-442c-9429-916003d36597
2009-11-18 15:39:22 +00:00
Mike Kremer
efa67fbcfc
Commit of the debugged version of Alex' improvement to OpenMesh. File i/o is now done via istream/ostream instances such that direct buffer writing to files (serialization) will also be possible in future releases.
...
Code is tested.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@221 fdac6126-5c0c-442c-9429-916003d36597
2009-11-17 13:54:16 +00:00
Jan Möbius
2fb72a9955
Added some documentation in obj writer
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@216 fdac6126-5c0c-442c-9429-916003d36597
2009-10-23 13:15:03 +00:00
Jan Möbius
cd986bc699
Fixes to obj writer
...
* Missing / when skipping texture coordinates
* wrong identifier for vertex normals
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@215 fdac6126-5c0c-442c-9429-916003d36597
2009-10-23 12:57:37 +00:00
Mike Kremer
bcd590e1b3
PLY format now supports texture coordinates (actually written/read per vertex and not per face (halfedge))
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@158 fdac6126-5c0c-442c-9429-916003d36597
2009-06-12 12:46:12 +00:00
Jan Möbius
5f451021f1
Fixed typo
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@140 fdac6126-5c0c-442c-9429-916003d36597
2009-06-04 09:23:04 +00:00
Jan Möbius
5246b77da6
Updated License to LGPL3 with additional template and macro exceptions
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@137 fdac6126-5c0c-442c-9429-916003d36597
2009-06-04 08:46:29 +00:00
Jan Möbius
ea844d6788
Changed OpenMesh directory structure
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@106 fdac6126-5c0c-442c-9429-916003d36597
2009-04-30 12:41:50 +00:00