Commit Graph

87 Commits

Author SHA1 Message Date
wmayer
f55fb8cb99 + avoid memory exception when stl file is empty 2016-06-11 16:25:41 +02:00
wmayer
91ba585ee0 + add overloaded methods of save() and load() to write and read from streams 2016-06-11 13:48:24 +02:00
wmayer
f07b836ce7 + support of obj format where texture colors are in range [0, 1] (as written by MeshLab) 2016-05-25 13:07:43 +02:00
wmayer
d51ea4c96b + fix reading of meshes with textures when vertexes are isolated 2016-05-25 12:22:01 +02:00
Wolfgang E. Sanyer
4ebb62be79 Fixed bug ID0002513, where Mesh.export failed.
The failure occered when Mesh.export was passed just a filename, such as 'out.stl'. If
'/some/path/out.stl' was passed it succeeded.
2016-05-10 22:29:40 +02:00
wmayer
33344be035 + support of colors per vertex in obj mesh format 2016-02-10 15:09:04 +01:00
wmayer
a9189fb052 + use TRUE and FALSE for Vrml output (reverts part of commit 7d0e892d3) 2016-01-05 17:27:56 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
145fe4a364 + fix build failure with gcc 2016-01-03 19:30:03 +01:00
wmayer
dd9e8c5bb1 + make faster reading ply mesh files 2016-01-03 01:14:48 +01:00
wmayer
342198ea87 + support reading mesh files with colors 2015-12-31 21:07:04 +01:00
wmayer
c2b66766b2 + optimize algorithm to get curvature on mesh points and drop dependency to WildMagic 2015-12-30 10:26:53 +01:00
wmayer
898e0fb359 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
4f4d747968 + fix undefined behaviour in determining grid length for planar meshes 2015-11-16 11:59:41 +01:00
wmayer
7848d08121 + properly handle case of degenerated bounding box when creating mesh grid 2015-11-14 14:08:01 +01:00
wmayer
85994d17b8 + replace || operator in BoundBox2D with real function names 2015-10-14 18:45:13 +02:00
wmayer
1d04ce9ea0 + port SurfaceFit to Eigen3 and add unit tests 2015-10-13 20:03:47 +02:00
wmayer
a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
5a78a6ab79 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 11:32:38 +02:00
wmayer
f53a691bba + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00
wmayer
967eead27a + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog
+ add method to make image view unclosable for user
+ fix possible crash in MeshAlgorithm::GetMeshBorder
+ fix possible crash in MeshAlgorithm::ConnectLines
2015-10-06 17:28:52 +02:00
wmayer
3998bd7f98 + fix warnings: -Wunused-private-field and -Wtautological-compare 2015-10-04 13:27:44 +02:00
wmayer
f8d3210730 + fix build failure with gcc 2015-09-25 01:19:22 +02:00
wmayer
202b51171c + improve ply support 2015-09-24 23:19:33 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
cb16fec6bb + fix various warnings 2015-08-29 22:05:09 +02:00
wmayer
790714712a + avoid slow heap checking in debug mode when loading a mesh file 2015-08-12 17:51:22 +02:00
wwmayer
e7441149f0 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
ddac5eed60 + fix crash in MeshCurvature::ComputePerVertex for empty meshes 2015-07-27 12:17:16 +02:00
wmayer
02b84611b2 + extend Inventor builder, project curve on mesh 2015-04-22 17:15:49 +02:00
wmayer
e551c4ef28 + write out material information for x3d format 2015-02-13 17:26:49 +01:00
wmayer
65c56d0bd6 +support to write/read colors to/from OFF file 2015-02-02 09:59:02 +01:00
Julien Nabet
b325bcea3d Fix some cppcheck reports:
- (error) va_list '<var>' was opened but not closed by va_end()
- (style) Same expression on both sides of '||'
- (style) Same expression on both sides of '!='
2015-01-06 11:37:44 +01:00
wmayer
be7f583aa0 + fix issues on 64-bit Linux/MacOSX systems 2014-11-19 15:32:35 +01:00
wmayer
3507e301c2 + improve plane fit 2014-11-04 15:03:25 +01:00
wmayer
980b17ca86 + improve error handling in plane fit 2014-11-03 18:20:55 +01:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
jriegel
c1f0f70b88 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
jriegel
6303650cc1 Use default eigen in Approximation... 2014-08-13 21:00:15 +02:00
jriegel
b5431d57e0 Change std::make_pairs to C++11 standard without template arguments 2014-08-13 20:59:29 +02:00
wmayer
7a3ddd5bae + fix author note, fix various crashes, improve mesh selection stuff 2014-08-01 16:39:59 +02:00
wmayer
2e6c54eedf + improve the plane fit from REEN module 2014-07-28 16:39:34 +02:00
wmayer
6b1e6a66ad + Make destructor virtual for classes with virtual methods (based on DevJohan's patch) 2014-07-26 19:17:12 +02:00
wmayer
b316991220 + fix mesh trimming 2014-07-16 18:21:30 +02:00
wmayer
f4d8b0ff54 + fix mesh triming 2014-07-16 13:57:14 +02:00
wmayer
d456cd21f9 + fixes #0001499: Mesh trim loses some triangles 2014-07-15 18:42:42 +02:00
wmayer
b8772df79c + Mesh trim loses some triangles 2014-07-15 13:31:15 +02:00
wmayer
ec6f6ac128 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:27:48 +02:00
wmayer
3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00