#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< PointIndex > &) |
virtual | ~LaplaceSmoothing () |
Public Member Functions inherited from MeshCore::AbstractSmoothing | |
AbstractSmoothing (MeshKernel &) | |
void | initialize (Component comp, Continuity cont) |
virtual void | Smooth (unsigned int)=0 |
Smooth the triangle mesh. More... | |
virtual void | SmoothPoints (unsigned int, const std::vector< PointIndex > &)=0 |
virtual | ~AbstractSmoothing () |
Protected Member Functions | |
void | Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double) |
void | Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double, const std::vector< PointIndex > &) |
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 } |
LaplaceSmoothing::LaplaceSmoothing | ( | MeshKernel & | m | ) |
|
virtual |
void MeshCore::LaplaceSmoothing::SetLambda | ( | double | l | ) |
|
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().
|
virtual |
Implements MeshCore::AbstractSmoothing.
Reimplemented in MeshCore::TaubinSmoothing.
References MeshCore::AbstractSmoothing::kernel, lambda, and Umbrella().
|
protected |
|
protected |
|
protected |
Referenced by Smooth(), MeshCore::TaubinSmoothing::Smooth(), SmoothPoints(), and MeshCore::TaubinSmoothing::SmoothPoints().