|
Noether
0.0.0
|
MeshModifier that assigns vertex normals using mesh faces. More...
The normal of each vertex is calculated as the average of the normals of all faces which include that vertex. This function handles supra-triangular polygonal faces, but ignores 'faces' that include less than three vertices. Well-behaved on meshes with holes. Note that a mesh with inconsistent face normals will generate inconsistent vertex normals. Note that a non-manifold mesh may produce numerically unstable results.
#include <normals_from_mesh_faces_modifier.h>

Public Member Functions | |
| std::vector< pcl::PolygonMesh > | modify (const pcl::PolygonMesh &mesh) const override |
Additional Inherited Members | |
Public Types inherited from noether::MeshModifier | |
| using | Ptr = std::unique_ptr< MeshModifier > |
| using | ConstPtr = std::unique_ptr< const MeshModifier > |
|
overridevirtual |
Reimplemented from noether::MeshModifier.