#include <Smoothing.h>
Public Member Functions | |
LaplaceSmoothing (MeshKernel &) | |
void | SetLambda (double l) |
void | Smooth (unsigned int) |
Smooth the triangle mesh. | |
virtual | ~LaplaceSmoothing () |
Protected Member Functions | |
void | Umbrella (const MeshRefPointToPoints &, const MeshRefPointToFacets &, double) |
Protected Attributes | |
double | lambda |
Definition at line 72 of file Smoothing.h.
LaplaceSmoothing::LaplaceSmoothing | ( | MeshKernel & | m | ) |
Definition at line 115 of file Smoothing.cpp.
LaplaceSmoothing::~LaplaceSmoothing | ( | ) | [virtual] |
Definition at line 120 of file Smoothing.cpp.
void MeshCore::LaplaceSmoothing::SetLambda | ( | double | l | ) | [inline] |
Definition at line 78 of file Smoothing.h.
void LaplaceSmoothing::Smooth | ( | unsigned | int | ) | [virtual] |
Smooth the triangle mesh.
Implements MeshCore::AbstractSmoothing.
Reimplemented in MeshCore::TaubinSmoothing.
Definition at line 160 of file Smoothing.cpp.
References MeshCore::AbstractSmoothing::kernel, lambda, and Umbrella().
void LaplaceSmoothing::Umbrella | ( | const MeshRefPointToPoints & | vv_it, | |
const MeshRefPointToFacets & | vf_it, | |||
double | stepsize | |||
) | [protected] |
Definition at line 124 of file Smoothing.cpp.
References MeshCore::MeshKernel::GetPoints(), MeshCore::AbstractSmoothing::kernel, RobotExample::pos, MeshCore::MeshKernel::SetPoint(), RobotExample::w, MovieTool::x, and MovieTool::y.
Referenced by MeshCore::TaubinSmoothing::Smooth(), and Smooth().
double MeshCore::LaplaceSmoothing::lambda [protected] |
Definition at line 85 of file Smoothing.h.
Referenced by MeshCore::TaubinSmoothing::Smooth(), and Smooth().