Apply Laplacian smoothing to a mesh.
void setBoundarySmoothing(bool b)
Smoothing vertices on the mesh boundary.
void setFeatureAngle(double a)
Feature angle for sharp edge identification.
auto relaxationFactor() const -> double
Relaxation factor for Laplacian smoothing.
auto edgeAngle() const -> double
Edge angle for sharp edge identification.
auto compute() -> ITKMesh::Pointer
Compute the smoothed mesh.
auto featureEdgeSmoothing() const -> bool
Smoothing along sharp interior edges.
void setIterations(std::size_t i)
The number of smoothing interations.
void setFeatureEdgeSmoothing(bool b)
Smoothing along sharp interior edges.
void setEdgeAngle(double a)
Edge angle for sharp edge identification.
auto iterations() const -> std::size_t
The number of smoothing interations.
auto featureAngle() const -> double
Feature angle for sharp edge identification.
auto boundarySmoothing() const -> bool
Smoothing vertices on the mesh boundary.
void setInputMesh(const ITKMesh::Pointer &m)
Set the input mesh.
void setRelaxationFactor(double f)
Relaxation factor for Laplacian smoothing.
auto getOutputMesh() -> ITKMesh::Pointer
Return the smoothed mesh.
Mesh generation and modification library.
itk::Mesh< ITKPixel, 3, ITKMeshTraits > ITKMesh