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. | |
| virtual | ~AbstractSmoothing () |
Protected Attributes | |
| Component | component |
| Continuity | continuity |
| MeshKernel & | kernel |
| float | tolerance |
Base class for smoothing algorithms.
Definition at line 34 of file Smoothing.h.
| Tangential |
Smooth tangential direction. |
| Normal |
Smooth normal direction. |
| TangentialNormal |
Smooth tangential and normal direction. |
Definition at line 37 of file Smoothing.h.
Definition at line 43 of file Smoothing.h.
| AbstractSmoothing::AbstractSmoothing | ( | MeshKernel & | m | ) |
Definition at line 39 of file Smoothing.cpp.
| AbstractSmoothing::~AbstractSmoothing | ( | ) | [virtual] |
Definition at line 43 of file Smoothing.cpp.
| void AbstractSmoothing::initialize | ( | Component | comp, | |
| Continuity | cont | |||
| ) |
Definition at line 47 of file Smoothing.cpp.
References component, and continuity.
| virtual void MeshCore::AbstractSmoothing::Smooth | ( | unsigned | int | ) | [pure virtual] |
Smooth the triangle mesh.
Implemented in MeshCore::MeshSmoothing, MeshCore::LaplaceSmoothing, and MeshCore::TaubinSmoothing.
Component MeshCore::AbstractSmoothing::component [protected] |
Definition at line 60 of file Smoothing.h.
Referenced by initialize().
Continuity MeshCore::AbstractSmoothing::continuity [protected] |
Definition at line 61 of file Smoothing.h.
Referenced by initialize().
MeshKernel& MeshCore::AbstractSmoothing::kernel [protected] |
Definition at line 57 of file Smoothing.h.
Referenced by MeshCore::TaubinSmoothing::Smooth(), MeshCore::LaplaceSmoothing::Smooth(), MeshCore::MeshSmoothing::Smooth(), and MeshCore::LaplaceSmoothing::Umbrella().
float MeshCore::AbstractSmoothing::tolerance [protected] |
Definition at line 59 of file Smoothing.h.
Referenced by MeshCore::MeshSmoothing::Smooth().
1.6.1