7#include <opencv2/core.hpp>
44 void setMesh(
const ITKMesh::Pointer& mesh);
Calculate vertex normals for ITK Meshes.
void assign_to_mesh_()
Assign the summed normals to the output mesh.
std::vector< cv::Vec3d > vertexNormals_
ITKMesh::Pointer compute()
Compute vertex normals for the mesh.
CalculateNormals(const ITKMesh::Pointer &mesh)
ITKMesh::Pointer getMesh() const
Get the output mesh with computed normals.
void compute_normals_()
Compute normals for each vertex.
void setMesh(const ITKMesh::Pointer &mesh)
Set the input mesh.
Mesh generation and modification library.