Base class for smoothing algorithms. More...
#include <Smoothing.h>
Public Types | |
| enum | Component { Tangential , Normal , TangentialNormal } |
| enum | Continuity { C0 , C1 , C2 } |
Public Member Functions | |
| 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 Attributes | |
| Component | component |
| Continuity | continuity |
| MeshKernel & | kernel |
| float | tolerance |
Base class for smoothing algorithms.
| AbstractSmoothing::AbstractSmoothing | ( | MeshKernel & | m | ) |
|
virtual |
| void AbstractSmoothing::initialize | ( | Component | comp, |
| Continuity | cont | ||
| ) |
References component, and continuity.
|
pure virtual |
Smooth the triangle mesh.
Implemented in MeshCore::PlaneFitSmoothing, MeshCore::LaplaceSmoothing, and MeshCore::TaubinSmoothing.
|
pure virtual |
Implemented in MeshCore::PlaneFitSmoothing, MeshCore::LaplaceSmoothing, and MeshCore::TaubinSmoothing.
|
protected |
Referenced by initialize().
|
protected |
Referenced by initialize().
|
protected |
Referenced by MeshCore::PlaneFitSmoothing::Smooth(), MeshCore::LaplaceSmoothing::Smooth(), MeshCore::TaubinSmoothing::Smooth(), MeshCore::PlaneFitSmoothing::SmoothPoints(), MeshCore::LaplaceSmoothing::SmoothPoints(), MeshCore::TaubinSmoothing::SmoothPoints(), and MeshCore::LaplaceSmoothing::Umbrella().
|
protected |