Commit Graph

1167 Commits

Author SHA1 Message Date
Max Lyon
e17b09f656 fix usage of wrong split function in unit test 2018-03-19 10:26:21 +01:00
Max Lyon
da81dbaffa add unittest to check standard properties after mesh assignment 2018-03-19 09:41:25 +01:00
Jan Möbius
34cfd71836 Merge branch 'skipping_ranges' into 'master'
Skipping ranges

See merge request OpenMesh/OpenMesh!153
2018-02-25 13:45:11 +01:00
Max Lyon
d36b24ac18 mark halfedges as deleted after collapse 2018-02-22 13:16:22 +01:00
Max Lyon
07b5df2872 add test to check if halfedges are marked as deleted after collapse 2018-02-22 13:15:10 +01:00
Max Lyon
52275f945d add unit test for range iterators 2018-02-16 13:59:45 +01:00
Max Lyon
ca212ba8f2 let default range-based for skip deleted elements and add a version that includes deleted elements 2018-02-16 13:57:26 +01:00
Jan Möbius
958b7a1c09 Merge branch 'implicit_fallthrough' into 'master'
Fix implicit fallthrough warning on gcc

See merge request OpenMesh/OpenMesh!152
2018-01-26 16:06:18 +01:00
Jan Möbius
59b1daa49d Merge branch 'MinGW_Fix' into 'master'
Small compilation fix for MINGW64 cross-compilation

See merge request OpenMesh/OpenMesh!151
2018-01-26 15:24:30 +01:00
Jan Möbius
1cb02d946f Merge branch 'obj_exporter_fail_if_vertex_color_requested' into 'master'
obj exporter: fail if vertex color export was requested

See merge request OpenMesh/OpenMesh!150
2018-01-26 14:42:47 +01:00
Jan Möbius
d1088ae2e5 Fix implicit fallthrough warning on gcc 2018-01-26 13:38:21 +01:00
Jan Möbius
9856ed02a0 Small compilation fix for MINGW64 cross-compilation 2018-01-26 13:33:24 +01:00
Jan Möbius
0e3491ed88 obj exporter: fail if vertex color export was requested 2018-01-26 13:29:22 +01:00
Jan Möbius
2fb55bc26d Fix vertex texture coordinates export in OBJ exporter (Thanks to Manuel Massing for the patch) 2018-01-26 13:18:18 +01:00
Jan Möbius
548a73bfad calc_sector_angle: Check for real division by zero not with epsilon that was way to large 2018-01-05 11:05:08 +01:00
Martin Heistermann
f714802c8d Add missing break statements in OM::IO::restore 2017-11-08 11:18:26 +01:00
Jan Möbius
827f34f4aa Merge branch 'fixOBJWriterMissingTexCoords' into 'master'
applied fix for bad or missing vertex tex coords

See merge request OpenMesh/OpenMesh!145
2017-10-24 22:07:45 +02:00
Martin Schultz
b3417e5a88 applied fix for bad or missing vertex tex coords 2017-10-24 17:06:41 +02:00
Martin Schultz
29cbe82048 changed the way status propertzies are copied.
refcount is set to 1 if it was > 0 in the original mesh
fixes #48
2017-10-24 15:58:29 +02:00
Jan
acb62194f4 Fixed Build on gcc-7.2 2017-10-20 17:02:49 +02:00
Jan Möbius
b85ba1d671 Fixed broken version macros (Thanks to Frederik Salomonsson for the fix) 2017-10-17 15:13:15 +02:00
Max Lyon
dc77fbd384 only compute normals for faces that are not deleted 2017-08-08 14:14:30 +02:00
Jan Möbius
d3e50aed63 Merge branch 'featureSplitCopyInternal' into 'master'
Feature split copy internal

Closes #44

See merge request !137
2017-07-03 15:50:59 +02:00
Martin Schultz
41aab48143 modified the add_face function of importerT to always return a valid
FaceHandle
2017-06-29 13:38:22 +02:00
Martin Schultz
cd4e65f37f Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into featureSplitCopyInternal 2017-06-29 10:31:42 +02:00
Martin Schultz
8302ef59dd changed the split_copy overloaded function with edgehandle as first
parameter tzo always copy internal properties
2017-06-29 10:21:46 +02:00
Martin Schultz
019ea5d6ae added check for overloaded split_copy with edgehandle as first parameter
to unittest
2017-06-29 10:21:01 +02:00
Martin Schultz
03b8e184b8 fixed unittests for split_edge_copy they were always passing 2017-06-29 10:19:44 +02:00
Jan Möbius
77251c5db8 Merge branch 'Boost_range_support' into 'master'
Boost range support (Thanks to Bastian Pranzas for the patch)

See merge request !135
2017-06-27 15:38:10 +02:00
Martin Schultz
da765870a0 added unittests for split_edge_copy 2017-06-27 13:22:59 +02:00
Martin Schultz
83e7cb2cde added check for internal properties to split_copy unittest 2017-06-27 13:20:16 +02:00
Martin Schultz
ad950d46b7 made the face and edge split operations that copy properties also copy
builtin properties
2017-06-27 11:56:15 +02:00
Jan Möbius
5de6021880 Added a combined unittest for iterator and circulator 2017-06-19 16:05:14 +02:00
Jan Möbius
c5aba5f01c Merge branch 'tri_1_4_split' into 'master'
Triangle Mesh  1->4 split

See merge request !132
2017-05-31 13:01:44 +02:00
Martin Schultz
4826d46ca3 fix boundary case for TriMeshSplit1_4 2017-05-30 14:35:54 +02:00
Jan Möbius
fba2f98c8c Boost range support (Thanks to Bastian Pranzas for the patch) 2017-05-23 16:27:03 +02:00
Jan Möbius
47fcf4edc4 Split test into two blocks 2017-04-27 07:43:41 +02:00
Jan Möbius
b303f73f11 Added boundary split test case 2017-04-26 17:02:20 +02:00
Jan Möbius
986f98f0b9 Added Triangle 1 to 4 split 2017-04-26 16:58:38 +02:00
Jan Möbius
e95aeec855 Respect vector Traits in Quadric 2017-04-26 12:46:30 +02:00
Max Lyon
45f3b8187d enable more c++11 features for Visual Studio 2013 2017-04-25 16:03:19 +02:00
Max Lyon
57be7cad6d enable c++11 features of property manager for Visual Studio 2013 2017-04-25 15:50:30 +02:00
Martin Schultz
1f331456e5 fix wrong behaviour of HalfedgeLoopIterators by changing the template parameter 2017-02-20 15:40:08 +01:00
Max Lyon
6fef88d56f fix halfedge indices in OpenMeshTrimeshCirculatorHalfedgeLoop CWAndCCWCheck 2017-02-17 18:20:46 +01:00
Janis Born
0f42d48cfb make Vector11T converting ctor only accept at least 2 arguments
(hence making all single-argument ctors explicit)
2017-02-10 15:55:29 +01:00
Jan Möbius
2f70e9a6ad Merge branch 'master' into ply_handle_extra_elements 2017-02-07 12:29:15 +01:00
Michael Krämer
308a280cd7 Add unit test with extra elements 2017-02-06 18:57:17 +01:00
Jan Möbius
e956bace15 Silence warnings for timer implementation 2017-02-06 13:12:04 +01:00
Michael Krämer
c23ed24aa0 return error when reaching EOF, skip reading extra elements after 'FACE' 2017-02-03 18:54:01 +01:00
Jan Möbius
25178d9dcb Fixed explicit making cppcheck fail and some lineendings 2017-02-02 13:53:46 +01:00