Max Lyon
dc77fbd384
only compute normals for faces that are not deleted
2017-08-08 14:14:30 +02:00
Jan Möbius
3183ac5364
Warning fixed
2016-10-24 16:34:05 +02: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
Janis Born
4c9a6ba5a4
add VectorDimensionsT metaprogram to detect vector dimensions in C++98
2015-11-23 15:33:14 +01:00
Janis Born
b31589b15f
fall back to dummy implementation for calc_face_normal on meshes with non-3D points
2015-11-23 15:03:57 +01:00
Christopher Tenter
2e709ae103
implement more robust algorithm for surface normal computation
2015-11-03 21:27:28 +01:00
Jan Möbius
fc4089ff3b
Fixed bug in polymesh normal computation. Added more unittests for normal computation.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1316 fdac6126-5c0c-442c-9429-916003d36597
2015-07-25 19:28:39 +00:00
Jan Möbius
fd4bcb39ea
Typo
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1258 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 13:07:46 +00:00
Jan Möbius
07ad20793d
Fixed bad typo in comment
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1257 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:54:17 +00:00
Jan Möbius
83486e0b5f
Relicense to BSD
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1252 fdac6126-5c0c-442c-9429-916003d36597
2015-04-28 11:33:32 +00:00
Jan Möbius
a7450f15f5
Fixed wrong normal calculation in calc_face_normal for Poly Meshes.
...
closes #2427
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1247 fdac6126-5c0c-442c-9429-916003d36597
2015-03-20 11:57:57 +00:00
Jan Möbius
b3778b230f
Updated copyright headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1188 fdac6126-5c0c-442c-9429-916003d36597
2015-01-05 15:34:10 +00:00
Matthias Möller
040bfbb0f5
fix this ptr
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1146 fdac6126-5c0c-442c-9429-916003d36597
2014-08-28 11:44:20 +00:00
Jan Möbius
0bc61d5839
OM3 fix
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1129 fdac6126-5c0c-442c-9429-916003d36597
2014-07-31 09:29:42 +00:00
Jan Möbius
e953f9977d
- Fixed calc_normals_... functions (Missing this pointer)
...
- Added unittests for the normal calculation functions
M src/OpenMesh/Core/Mesh/PolyMeshT.cc
M src/Unittests/unittests_trimesh_normal_calculations.cc
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1036 fdac6126-5c0c-442c-9429-916003d36597
2014-05-04 15:47:22 +00:00
Jan Möbius
68a3ff3136
The annual License Header Bump (Sorry for the rebuilds ;-) )
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@990 fdac6126-5c0c-442c-9429-916003d36597
2014-02-05 09:01:07 +00:00
Hans-Christian Ebke
a0cf6bac3c
OpenMesh: Added convenience method for face centroid computation.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@989 fdac6126-5c0c-442c-9429-916003d36597
2014-01-29 15:05:09 +00:00
Jan Möbius
29011e25d2
Updated license headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@922 fdac6126-5c0c-442c-9429-916003d36597
2013-08-11 10:26:11 +00:00
Jan Möbius
daea181b2f
Next set
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@908 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:32:50 +00:00
Jan Möbius
0217136b5e
Next changeset
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@907 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 11:18:44 +00:00
Jan Möbius
e21e113b50
Replaced all .handle() calls
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@904 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:43:06 +00:00
Jan Möbius
50dc9e8478
Next change set for the new interface
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@902 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 10:26:50 +00:00
Jan Möbius
afda61f067
First set of changes to the new circulators
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@898 fdac6126-5c0c-442c-9429-916003d36597
2013-08-07 09:40:10 +00:00
Jan Möbius
5c2285eabe
Wrong variable type
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@875 fdac6126-5c0c-442c-9429-916003d36597
2013-07-24 11:26:46 +00:00
Jan Möbius
505ab99324
Updated License Headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@737 fdac6126-5c0c-442c-9429-916003d36597
2012-10-08 07:33:20 +00:00
Jan Möbius
59159b941e
Fixed the usage of vector traits such that the traits are used and not the vector types value_type. (Thanks to Mario Deuss for the patch)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@733 fdac6126-5c0c-442c-9429-916003d36597
2012-10-06 10:16:53 +00:00
Jan Möbius
6a3fb965f8
Fixed build warning due to types
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@621 fdac6126-5c0c-442c-9429-916003d36597
2012-07-18 13:28:26 +00:00
Jan Möbius
e658918cca
Fixed bug in halfedge normal computation, where a boundary halfedge was not correctly handled and caused a segfault.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@599 fdac6126-5c0c-442c-9429-916003d36597
2012-06-20 14:50:15 +00:00
Jan Möbius
0340ccf054
Fixed usage of operator | instead of dot
...
Added unittest for that
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@581 fdac6126-5c0c-442c-9429-916003d36597
2012-05-03 16:32:11 +00:00
Jan Möbius
a96ca67b16
Improved block for update_normals if properties don't exist. Documentation for update normals improved
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@575 fdac6126-5c0c-442c-9429-916003d36597
2012-04-10 13:06:29 +00:00
Jan Möbius
637381f19c
Xcode4.3 fixes for debug mode. refs #464
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@555 fdac6126-5c0c-442c-9429-916003d36597
2012-03-05 14:17:36 +00:00
Jan Möbius
03fd666b9b
Fix to build with correct two phase name lookup (xcode 4.3 compatibility for OpenMesh). The template base class members are not found otherwise.
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@552 fdac6126-5c0c-442c-9429-916003d36597
2012-03-02 16:16:30 +00:00
David Bommes
222e55b9e9
added support for halfedge normals (normals per face/vertex to allow for smooth shading with feature edges)
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@512 fdac6126-5c0c-442c-9429-916003d36597
2012-01-19 19:12:39 +00:00
Jan Möbius
4fdd4c2adc
Updated license headers
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@362 fdac6126-5c0c-442c-9429-916003d36597
2011-01-26 09:21:12 +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
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
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
Jan Möbius
5246b77da6
Updated License to LGPL3 with additional template and macro exceptions
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@137 fdac6126-5c0c-442c-9429-916003d36597
2009-06-04 08:46:29 +00:00
Jan Möbius
ea844d6788
Changed OpenMesh directory structure
...
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@106 fdac6126-5c0c-442c-9429-916003d36597
2009-04-30 12:41:50 +00:00