Commit Graph

177 Commits

Author SHA1 Message Date
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
154d1b31ba Read diffuse colors from vertices in ply
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@345 fdac6126-5c0c-442c-9429-916003d36597
2010-11-18 07:20:06 +00:00
Mike Kremer
eba601f190 Added infinity norm to vector class
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@340 fdac6126-5c0c-442c-9429-916003d36597
2010-11-12 10:08:54 +00:00
Jan Möbius
8480b84bb4 Added some vector norm functions for L1 norm, and absolute mean,max,min(Thanks to Michal Nociar)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@339 fdac6126-5c0c-442c-9429-916003d36597
2010-11-11 17:04:37 +00:00
Mike Kremer
d51c08726d Corrected some expression that caused a compiler warning.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@337 fdac6126-5c0c-442c-9429-916003d36597
2010-09-10 12:21:23 +00:00
Mike Kremer
a9f4169bb7 Added preprocessor directives such that doxygen correctly parses the vector template class.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@336 fdac6126-5c0c-442c-9429-916003d36597
2010-09-10 12:13:59 +00:00
David Bommes
29e91a9012 added halfedge colors
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@335 fdac6126-5c0c-442c-9429-916003d36597
2010-09-07 12:32:43 +00:00
Mike Kremer
9154ecd47b Setting associated handles of iterator types invalid if reference mesh contains none of the respective entities.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@333 fdac6126-5c0c-442c-9429-916003d36597
2010-07-20 13:43:40 +00:00
Jan Möbius
51f6c2cb3e Fixed doc
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@331 fdac6126-5c0c-442c-9429-916003d36597
2010-07-15 06:36:11 +00:00
Jan Möbius
11798f6134 Fixed documentation for add_face and some other typos (Thanks to Yamauchi Hitoshi)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@330 fdac6126-5c0c-442c-9429-916003d36597
2010-07-15 06:31:53 +00:00
Jan Möbius
dc2abcd426 Added missing include (Thanks to Justin Bronder
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@328 fdac6126-5c0c-442c-9429-916003d36597
2010-07-02 14:54:35 +00:00
Mike Kremer
26c20f12f3 Avoid %-operator in normal calculation such that gcc does not throw a compiler error when using vector types of dimension other than three.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@327 fdac6126-5c0c-442c-9429-916003d36597
2010-06-21 13:45:45 +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
Mike Kremer
bc0da8e58c Added status flag for isolated geometry that results from vertex duplication (due to non-manifold configurations).
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@314 fdac6126-5c0c-442c-9429-916003d36597
2010-04-01 13:52:49 +00:00
Mike Kremer
12a74113a3 Changed description comment of non-manifold status flag
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@313 fdac6126-5c0c-442c-9429-916003d36597
2010-04-01 13:08:34 +00:00
Mike Kremer
793b39b2c7 Added status flag for non-two-manifold configurations (for all entities)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@312 fdac6126-5c0c-442c-9429-916003d36597
2010-04-01 13:05:27 +00:00
Jan Möbius
13204f4afc Calculate average normal for poly mesh faces. Otherwise an arbitrary triangle is taken
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@309 fdac6126-5c0c-442c-9429-916003d36597
2010-03-09 13:32:23 +00:00
Jan Möbius
64906107b5 Added apple workaround for core include dir installation
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@304 fdac6126-5c0c-442c-9429-916003d36597
2010-03-08 10:03:46 +00:00
Mike Kremer
0922b1bd03 Suggesting a slightly more readable representation of a tab...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@272 fdac6126-5c0c-442c-9429-916003d36597
2010-02-23 12:15:05 +00:00
Mike Kremer
12638100b0 OBJReader: Fixed error with some material files containing tabs.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@271 fdac6126-5c0c-442c-9429-916003d36597
2010-02-23 12:04:15 +00:00
Mike Kremer
fac109fa4b Avoiding implicit type casts in normal calculation routine.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@270 fdac6126-5c0c-442c-9429-916003d36597
2010-02-08 16:13:17 +00:00
Mike Kremer
88ca0c9b60 Fixed issue with wrong normal scalar type when using integer points and float normals.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@269 fdac6126-5c0c-442c-9429-916003d36597
2010-02-08 15:28:25 +00:00
Mike Kremer
ac7bb9f164 Corrected copy and paste error.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@268 fdac6126-5c0c-442c-9429-916003d36597
2010-01-22 10:07:21 +00:00
Mike Kremer
d6208a7544 Changed bitfield values of property enumeration.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@267 fdac6126-5c0c-442c-9429-916003d36597
2010-01-22 10:06:05 +00:00
Mike Kremer
3349b811d3 Changed bitfield values of property enumeration.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@266 fdac6126-5c0c-442c-9429-916003d36597
2010-01-22 10:04:20 +00:00
Mike Kremer
27f149ce05 Adapted copied comment.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@261 fdac6126-5c0c-442c-9429-916003d36597
2010-01-21 14:45:31 +00:00
Mike Kremer
77cfce2770 Edge colors are now supported as standard property.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@260 fdac6126-5c0c-442c-9429-916003d36597
2010-01-21 14:40:03 +00:00
Jan Möbius
658c8ec12f Workaround isspace problem
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@259 fdac6126-5c0c-442c-9429-916003d36597
2010-01-07 16:34:44 +00:00
Jan Möbius
9da1a2c1a7 Fixed crash in offreader with dos line endings. (Thanks to
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@257 fdac6126-5c0c-442c-9429-916003d36597
2010-01-04 12:02:09 +00:00
Jan Möbius
cf91d704d6 mostream crash fixed (Thanks to Adrian Secord for providing the patch)
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@256 fdac6126-5c0c-442c-9429-916003d36597
2009-12-22 10:22:02 +00:00
Jan Möbius
9fb9ee0334 Provide begin/end functions for circulators for direct access
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@254 fdac6126-5c0c-442c-9429-916003d36597
2009-12-10 10:04:59 +00:00
Mike Kremer
a0432c660f Made circulators STL compliant by specifying all iterator_traits attributes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@252 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 15:11:28 +00:00
Mike Kremer
c88c2f9cff Made iterator-types entirely STL compliant by fully specifying the iterator_traits attributes.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@251 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 13:14:16 +00:00
Mike Kremer
2e70d5eefb Updated PLY-reader such that unsupported properties will now be handled in both binary and ascii mode. Special thanks to Michal Nociar for sending in this patch!
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@250 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 10:31:37 +00:00
Mike Kremer
4ccb771244 Converted all tabs into 4 whitespaces.
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@249 fdac6126-5c0c-442c-9429-916003d36597
2009-12-07 10:26:25 +00:00
Jan Möbius
8a99d0e1be Fixed undefined macro CHECK in calc_dihedral_angle_fast
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@242 fdac6126-5c0c-442c-9429-916003d36597
2009-11-26 07:48:17 +00:00
Mike Kremer
366609767c Corrected doc to avoid doxygen warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@239 fdac6126-5c0c-442c-9429-916003d36597
2009-11-23 12:55:45 +00:00
Mike Kremer
33a162e09b Corrected doc in order to avoid doxygen warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@237 fdac6126-5c0c-442c-9429-916003d36597
2009-11-23 12:44:26 +00:00
Mike Kremer
76533e9868 Corrected doc to avoid doxygen warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@236 fdac6126-5c0c-442c-9429-916003d36597
2009-11-23 12:43: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
0d6a426f25 Memory leak in Assignment patch (Thanks to
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@219 fdac6126-5c0c-442c-9429-916003d36597
2009-11-14 13:37:08 +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
Jan Möbius
395c40f40d Throw Error when NOMINMAX is not defined on windows
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@213 fdac6126-5c0c-442c-9429-916003d36597
2009-10-16 12:46:28 +00:00
Jan Möbius
a56c45e2d3 * Fixed Bug when getting handle from Halfedge. ( Reported by
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@211 fdac6126-5c0c-442c-9429-916003d36597
2009-09-28 12:12:08 +00:00
Jan Möbius
bf84ecd69a Documentation for the functions is_trimesh and is_polymesh
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@207 fdac6126-5c0c-442c-9429-916003d36597
2009-09-24 09:46:58 +00:00
Martin Habbecke
fb589df009 * fixed OBJ reader
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@193 fdac6126-5c0c-442c-9429-916003d36597
2009-08-31 07:35:20 +00:00
Jan Möbius
832b47ec0a Fixed warning
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@192 fdac6126-5c0c-442c-9429-916003d36597
2009-08-12 05:29:08 +00:00
Jan Möbius
2a18de7b9b Fixed typo
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@191 fdac6126-5c0c-442c-9429-916003d36597
2009-08-11 06:32:28 +00:00