#include <CTaubinSmoother.h>
Public Member Functions | |
CTaubinSmoother (double factor1, double factor2, int iterations, int layers=1) | |
Constructor parametrized by smoothing factors and number of iterations. | |
virtual | ~CTaubinSmoother () |
Destructor. | |
virtual bool | smooth (CSmoothingMesh *mesh) |
This method smoothes a mesh by Taubin's algorithm. | |
bool | smoothVertex (CSmoothingMesh *mesh, vctl::MCVertex *actual_vertex, vctl::MCPoint3D &smoothed_point, double smooth_factor) |
This method smoothes one vertex by Taubin's algorithm. | |
Protected Attributes | |
double | dFactor1 |
First smoothing parameter. | |
double | dFactor2 |
Second smoothing parameter. | |
int | iIterations |
Number of iterations. | |
int | iLayers |
Number of vertex neighbourhood layers. |
TaubinSmoother class