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