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