MeshCore::LaplaceSmoothing Class Reference
#include <Smoothing.h>
Public Member Functions | |
LaplaceSmoothing (MeshKernel &) | |
void | SetLambda (double l) |
void | Smooth (unsigned int) |
Smooth the triangle mesh. More... | |
void | SmoothPoints (unsigned int, const std::vector< unsigned long > &) |
virtual | ~LaplaceSmoothing () |
Public Member Functions inherited from MeshCore::AbstractSmoothing | |
AbstractSmoothing (MeshKernel &) | |
void | initialize (Component comp, Continuity cont) |
virtual | ~AbstractSmoothing () |
Protected Member Functions | |
void | Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double) |
void | Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double, const std::vector< unsigned long > &) |
Protected Attributes | |
double | lambda |
Protected Attributes inherited from MeshCore::AbstractSmoothing | |
Component | component |
Continuity | continuity |
MeshKernel & | kernel |
float | tolerance |
Additional Inherited Members | |
Public Types inherited from MeshCore::AbstractSmoothing | |
enum | Component { Tangential, Normal, TangentialNormal } |
enum | Continuity { C0, C1, C2 } |
Constructor & Destructor Documentation
◆ LaplaceSmoothing()
LaplaceSmoothing::LaplaceSmoothing | ( | MeshKernel & | m | ) |
◆ ~LaplaceSmoothing()
|
virtual |
Member Function Documentation
◆ SetLambda()
void MeshCore::LaplaceSmoothing::SetLambda | ( | double | l | ) |
◆ Smooth()
|
virtual |
Smooth the triangle mesh.
Implements MeshCore::AbstractSmoothing.
Reimplemented in MeshCore::TaubinSmoothing.
References MeshCore::AbstractSmoothing::kernel, lambda, and Umbrella().
Referenced by MeshGui::Segmentation::accept(), ReverseEngineeringGui::Segmentation::accept(), and MeshCore::MeshKernel::Smooth().
◆ SmoothPoints()
|
virtual |
Implements MeshCore::AbstractSmoothing.
Reimplemented in MeshCore::TaubinSmoothing.
References MeshCore::AbstractSmoothing::kernel, lambda, and Umbrella().
◆ Umbrella() [1/2]
|
protected |
◆ Umbrella() [2/2]
|
protected |
Member Data Documentation
◆ lambda
|
protected |
Referenced by Smooth(), MeshCore::TaubinSmoothing::Smooth(), SmoothPoints(), and MeshCore::TaubinSmoothing::SmoothPoints().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Core/Smoothing.h
- src/Mod/Mesh/App/Core/Smoothing.cpp