CHCSmoother Class Reference

#include <CHCSmoother.h>

Inheritance diagram for CHCSmoother:
CSmoother cmd::CCommand

List of all members.

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.

Detailed Description

HCSmoother class


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on Mon Dec 21 09:38:55 2009 for MeshSmoothingTools by  doxygen 1.6.1