Commit Graph

1101 Commits

Author SHA1 Message Date
Janis Born
3b906e5119 use double as default RealType for subdividers 2017-01-11 17:26:28 +01:00
Jan Möbius
00fa73fa4c Switched warning level for google test framework 2017-01-11 08:13:59 +01:00
Martin Schultz
e51fea542f Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into fixMissingProperties 2017-01-08 23:10:36 +00:00
Martin Schultz
874cef141a use new assignment for polymesh trimesh conversion fixes #35 2017-01-08 23:05:16 +00:00
Martin Schultz
b3b992d2d2 implemented assign function that copies properties and initializes propertiehandles if desired 2017-01-08 23:04:08 +00:00
Jan Möbius
da1ec03c6e OM Writer: Added Mark to the format header to identify end of stream correctly (Thanks to Jamie Kydd for the patch) 2016-12-27 08:10:10 +01:00
Martin Heistermann
8033e2da23 QuadricT: implement Q+Q and Q*scalar operators for convenience. 2016-12-21 18:31:46 +01:00
Jan Möbius
6959e4ce10 Merge branch 'master' into featureMeshConversion 2016-12-21 08:44:39 +01:00
Jan Möbius
dc79c22a24 Fixed OMWriter when no faces are available (Thanks to Jamie Kydd for the patch) 2016-12-19 13:24:23 +01:00
Martin Schultz
2d4abf2d8b Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into featureMeshConversion 2016-12-14 15:13:27 +01:00
Martin Schultz
db47b38b02 Added boundary check for edge properties of triangulated meshes 2016-12-14 15:11:40 +01:00
Martin Schultz
df1442283f Added unittests for PolyMesh to Trimesh conversion
custom properties and vertices / faces are tested
2016-12-14 13:33:56 +01:00
Martin Schultz
b1301a844f Added first draft of unittests for trimesh_to_polymesh conversion. 2016-12-08 20:25:23 +01:00
Martin Schultz
49cc72e9d2 added explicit copy constructors for PolyMeshT and TrimeshT to enable static_casts of different mesh types 2016-12-08 18:18:59 +01:00
Martin Schultz
122293b2c0 added copy constructor to PolyMesh_ArrayKernelT and TriMesh_ArrayKernelT 2016-12-08 18:17:11 +01:00
Martin Schultz
74e4e72c63 Added function to copy all properties from one baseKernel to another 2016-12-08 18:15:17 +01:00
Jan Möbius
3b0ee9316d Use static casts 2016-12-08 09:49:41 +01:00
Max Lyon
5cd9448a4e size_t int warning 2016-12-07 17:33:14 +01:00
Jan Möbius
f846b75202 Typo 2016-11-08 12:27:32 +01:00
Janis Born
12ad76fccf attempt to quench 'Checked Iterator' warnings in VS2015 2016-11-08 11:27:18 +01:00
Jan
8e81de4045 Fixed error with VS2013 2016-11-07 20:31:30 +01:00
Jan Möbius
dd91155f2c Another cast 2016-11-07 15:33:20 +01:00
Jan Möbius
c1ad9f418c Some casts 2016-11-07 15:23:49 +01:00
Jan Möbius
7175cd8c6d Several warnings 2016-11-07 15:10:23 +01:00
Jan Möbius
79ce71f2d3 Another fix 2016-11-07 15:07:19 +01:00
Jan Möbius
aec2fa2442 Merge branch 'warnings' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into warnings 2016-11-07 15:02:15 +01:00
Jan Möbius
74ada2eac0 Warning 2016-11-07 15:02:07 +01:00
Jan Möbius
d966d44a3f More fixes including Unit tests 2016-11-07 14:52:07 +01:00
Jan Möbius
7bcc3ec1a9 Fixed typo 2016-11-07 14:31:54 +01:00
Jan Möbius
e75a70774d Next bunch of warning fixes 2016-11-07 14:30:14 +01:00
Jan Möbius
85e183ae05 Fixed VS2015 warnings 2016-11-07 14:12:29 +01:00
Jan Möbius
066272a58e Warnings 2016-10-28 14:19:20 +02:00
Jan Möbius
01ab3eeff5 Warning 2016-10-28 14:07:08 +02:00
Jan Möbius
4377803708 More warnings fixed 2016-10-28 10:44:04 +02:00
Jan Möbius
4dd321bbdd Merge branch 'warn2' into 'master'
More warning fixes

See merge request !100
2016-10-28 10:31:21 +02:00
Jan Möbius
08160c1584 More warning fixes 2016-10-28 08:59:36 +02:00
Jan Möbius
00090fc282 Merge branch 'warn' into 'master'
Warn

See merge request !99
2016-10-28 08:49:47 +02:00
Jan Möbius
7a1cad003d Typo 2016-10-28 08:08:09 +02:00
Jan Möbius
b05912ae04 Fixed ugly init 2016-10-27 14:46:57 +02:00
Jan Möbius
d767759862 Warning in subdivider fixed 2016-10-27 14:43:29 +02:00
Jan Möbius
f377c86a43 Merge branch 'fixOBJWriterMissingTexcoords' into 'master'
added code to write faceTexCoords to obj writer.

fixes #25 
* Added accessor functions for HalfEdgeHandles and faceTexCoords to base exporter and exporter template.
* Added functionality to store FaceTexCoords to objwriter
* Added unittest to write and read faceTexcoords with a test obj file

See merge request !73
2016-10-27 14:31:59 +02:00
Jan Möbius
3183ac5364 Warning fixed 2016-10-24 16:34:05 +02:00
Jan Möbius
b7aabbd912 Fixed some warnings 2016-10-24 14:01:06 +02:00
Max Lyon
523e3e10f4 make all negative handles invalid, not just -1 2016-10-21 09:21:18 +02:00
David Bommes
e11f553c92 added missing ifdef for debug 2016-10-17 17:43:48 +02:00
Jan Möbius
c70cdc215d Bumped development version to 7.0 2016-10-06 12:44:35 +02:00
Max Limper
a6da330b41 resolved conflict 2016-10-02 11:55:23 +02:00
Jan Möbius
29ba85a7f0 Merge branch 'OBJ-loader-check-ranges' into 'master'
range check for vertex colors and normals in OBJ loader

This merge request adds explicit range checks and error reporting for the reading of colors and normals. The code is copied from texture coordinates, where a similar check already existed.

See merge request !92
2016-10-02 09:22:13 +02:00
Max Limper
782adb7b0a fixed handling of negative indices in OBJ loader 2016-10-01 20:31:16 +02:00
Max Limper
c577810d47 range check for vertex colors and normals in OBJ loader 2016-10-01 19:43:46 +02:00