Isaak Lim
6c6ce56c3c
don't emit an error message for every face that could not be added (due to complex elements)
2016-04-15 14:01:11 +02:00
Jan Möbius
17217c405d
Merge branch 'fixDoubleSwap' into 'master'
...
Fix double swap
See merge request !54
2016-04-14 15:42:24 +02:00
Jan Möbius
2496fa8363
Merge branch 'property-manager-factories' into 'master'
...
add factory functions for creating PropertyManagers without restating the mesh type in C++11
See merge request !53
2016-04-14 15:11:03 +02:00
Janis Born
4e2ae5be3e
create unit tests for C++11 PropertyManager features
2016-04-14 13:34:23 +02:00
Martin Schultz
0a0d7e1fad
fix c++98 compiler error on gcc
2016-04-14 13:06:17 +02:00
Martin Schultz
7e1d9e0c16
adds unittests for binary serialization of strings
2016-04-14 12:54:50 +02:00
Martin Schultz
e7ed1ca1e0
fixes #17 by removing the swap of len in string serialization specification
2016-04-14 12:52:21 +02:00
Jan Möbius
04a01c9e99
Merge branch 'fix-nonmanifold-no-collect' into 'master'
...
Not collecting failed faces but directly processing them
**Problem description:**
I encountered severe problems in my application because OpenMesh does not load attributes, such as face texture index, for failed faces (non-manifold geometry).
Instead of directly handling them, the Importer class defers the handling of failed faces to a post process - but at that point, the attribute information is not available any more, since it is read and applied in the reader, which only deals with the non-failed faces.
**Solution:**
My simple solution was to remove the list of failed faces and instead directly handle failed faces inside the "add_face" function of the Importer class.
**Discussion:**
I didn't see any drawback, compared to the previous code. It would be interesting to know why the list of failed faces was maintained - was this legacy code, or was there some idea to extend this concept, which was just never realized? The only functional point that has changed is that I removed the code that adds degenerate faces to the mesh (line 129), since, in my opinion, this makes things just more complicated for some applications, and the benefit of being able to import degenerate faces seems marginal. But that's a design decision, it will be very easy to encapsulate the code that adds a separate face (line 140) into a separate function and use it also for degenerate faces.
It would be great to receive your feedback on this issue, and to know if it is possible to include this change (or something similar).
See merge request !51
2016-04-14 10:56:45 +02:00
Janis Born
70d7ae8a79
add factory functions for creating PropertyManagers without restating the mesh type in C++11
2016-04-14 09:58:54 +02:00
Jan Möbius
697a205389
Added check for property iterators
2016-04-07 15:51:22 +02:00
Max Limper
532f64464a
Not collecting failed faces but directly processing them
2016-04-06 17:28:41 +02:00
Jan Möbius
6a045b5c5e
Obj writer: Fix OBJ writer bug file extension removal (Thanks to Katharina Breininger for the patch)
...
(cherry picked from commit 4cfe75788a5374978555322c596ecdea9909516a)
2016-04-05 15:44:34 +02:00
Jan Möbius
afc5101cc3
Decimater: Added missing preprocess collapse call in size_t DecimaterT<Mesh>::decimate(size_t _n_collapses) (Thanks to Andrej Ivanis for the hint)
...
(cherry picked from commit 0dee5a6199d278ff2fb4299cf2cef67ba16ded6e)
2016-04-05 15:04:09 +02:00
Hans-Christian Ebke
00101c13e0
Merge remote-tracking branch 'origin/master' into performance_tuning
2016-03-24 12:59:35 +01:00
Hans-Christian Ebke
3868b351ec
Added a whole bunch of doxygen documentation.
2016-03-24 12:58:43 +01:00
Jan Möbius
434a0ed1c6
Merge branch 'obj_mat_file' into 'master'
...
Fix OBJ material files and face color (Thanks to Sven-Kristofer Pilz for the patch)
closes #20
See merge request !50
2016-03-23 13:45:56 +01:00
Janis Born
b1a7d43a83
drop VectorDimensionsT metaprogram in favor of vector_traits
...
(thanks to Marco Centin and Amodio Pesce)
2016-03-17 18:29:55 +01:00
Jan Möbius
44cb2ebc4d
Fix OBJ material files and face color (Thanks to Sven-Kristofer Pilz for the patch)
2016-02-11 14:49:44 +01:00
Alexander Dielen
04fc8dac85
Fixed CR LF newline handling for binary file headers.
2016-02-11 14:04:52 +01:00
Jan Möbius
cee7b56f5e
Fixed ugly typo in __decrement function of Basehandle. Seems to be unused in the rest of the code.
2016-02-04 09:40:23 +01:00
Jan Möbius
c5cfef8742
Fixed Typo in cmake install for smoother (Thanks to Takashi Michikawa for the fix).
2016-01-29 08:50:21 +01:00
Alexander Dielen
1d043197b1
fixed dangling pointer
2016-01-13 13:58:48 +01:00
Hans-Christian Ebke
63985edd59
Fixed allocation bug.
2016-01-08 00:49:04 +01:00
Jan Möbius
0908ea2a9e
Merge branch 'featureOBJReader3dTexcoords' into 'master'
...
texcoord3d support for obj loader
closes #19
unfortunately the other supported file formats dont seem to support 3d texture coords.
as for ply the naming of elements is not defined and therefore arbitrary
as for off and om these formats seem to only support 2d texcoords
stl seems to not support texcoords at all
See merge request !45
2016-01-06 14:51:32 +01:00
Jan Möbius
13904a1516
Simplify reader
2016-01-06 14:26:06 +01:00
Martin Schultz
781063a3c6
* added texCoord3d functions to objloader
...
* added unittest for texcoords3d
* added texcoord3d support to baseimporter
2016-01-05 14:21:46 +01:00
Hans-Christian Ebke
8ece0770a3
Added a couple of methods to enable more efficient adding of batches of vertices.
2015-12-20 23:07:54 +01:00
Janis Born
f4046e4d58
fix some uses of const begin and end iterators
2015-12-17 14:36:23 +01:00
Jan Möbius
9e3f43a6bf
Workaround for strange compiler error on VS2015 Update 1
2015-12-16 10:57:15 +01:00
Jan Möbius
0aced4c8c2
Fixed signed unsigned warning
2015-12-16 10:50:19 +01:00
Hans-Christian Ebke
b64f04693d
Modifying CirculatorRange slightly so that Eclipse CDT can parse it.
2015-12-15 17:57:43 +01:00
Hans-Christian Ebke
4290b62f90
Removing unused next_cache_count_ member of PolyConnectivity.
2015-12-15 17:57:22 +01:00
Jan Möbius
0cf33e922a
Merge branch 'Python-Decimater' into 'master'
...
Python decimater
See merge request !38
2015-12-15 13:55:28 +01:00
Jan Möbius
74f0f23661
Merge branch 'iterator_increment' into 'master'
...
Iterator increment
See merge request !35
2015-12-15 08:09:56 +01:00
Hans-Christian Ebke
df2ac9e79a
Merge branch 'master' of roosevelt.informatik.rwth-aachen.de:/OpenMesh/OpenMesh
2015-12-14 17:32:34 +01:00
Hans-Christian Ebke
d584941675
Added += operator to mesh iterators.
2015-12-14 17:32:25 +01:00
Max Lyon
d0033f9966
fix crash in OMWriter when writing an empty mesh with colors
2015-12-14 11:55:28 +01:00
Jan Möbius
8fba53c0f1
Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh
2015-11-30 13:22:03 +01:00
Jan Möbius
db78a51f41
Updated master version to 6.0
2015-11-30 13:21:56 +01:00
Jan Möbius
688973ebb8
Missing memory include in python bindings
...
(cherry picked from commit d4a361aa61d014c97ff540c1145a709c158f6c25)
2015-11-30 13:14:33 +01:00
Jan Möbius
585298cff2
2 missing includes of cstring
2015-11-30 12:20:59 +01:00
Martin
e6967dfe8b
reduced includes by means of static code analysis
2015-11-30 09:48:42 +01:00
Jan Möbius
fbf2469143
Merge branch 'staticc-eh' into 'master'
...
Added static versions of ArrayKernel::edge_handle and ...::halfedge_handle.
See merge request !30
2015-11-26 13:11:54 +01:00
Hans-Christian Ebke
3fe3657bc8
Added static versions of ArrayKernel::edge_handle and ...::halfedge_handle.
2015-11-26 13:01:53 +01:00
Janis Born
3b5364d3e4
take VectorT argument by reference for non-member vector scalar multiplication ( fixes #12 )
2015-11-26 12:46:08 +01:00
Jan Möbius
0a35e4d2b9
Merge branch 'vectort-python-compat'
2015-11-26 12:31:46 +01:00
Jan Möbius
d8d641b9f5
Missing destination
2015-11-26 12:21:50 +01:00
Jan Möbius
56e486a386
Missing dll when building debug and release package
2015-11-26 12:21:13 +01:00
Jan Möbius
b1d1676bde
Merge branch 'master' into vectort-python-compat
2015-11-25 16:16:19 +01:00
Janis Born
d5612f16a0
Python bindings: add C++11 compilation switch for cross product
2015-11-25 15:30:57 +01:00