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< unsigned long > &)=0 | |
virtual ~AbstractSmoothing () | |
Protected Attributes | |
Component component | |
Continuity continuity | |
MeshKernel & kernel | |
float tolerance | |
Detailed Description
Base class for smoothing algorithms.
Member Enumeration Documentation
◆ Component
◆ Continuity
Constructor & Destructor Documentation
◆ AbstractSmoothing()
AbstractSmoothing::AbstractSmoothing | ( | MeshKernel & | m | ) |
◆ ~AbstractSmoothing()
|
virtual |
Member Function Documentation
◆ initialize()
void AbstractSmoothing::initialize | ( | Component | comp, |
Continuity | cont | ||
) |
References component, and continuity.
◆ Smooth()
|
pure virtual |
Smooth the triangle mesh.
Implemented in MeshCore::TaubinSmoothing, MeshCore::LaplaceSmoothing, and MeshCore::PlaneFitSmoothing.
◆ SmoothPoints()
|
pure virtual |
Implemented in MeshCore::TaubinSmoothing, MeshCore::LaplaceSmoothing, and MeshCore::PlaneFitSmoothing.
Member Data Documentation
◆ component
|
protected |
Referenced by initialize().
◆ continuity
|
protected |
Referenced by initialize().
◆ kernel
|
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().
◆ tolerance
|
protected |
Referenced by MeshCore::PlaneFitSmoothing::Smooth(), and MeshCore::PlaneFitSmoothing::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