28 #ifndef __vtkvmtkPolyDataClampedSmoothingFilter_h 29 #define __vtkvmtkPolyDataClampedSmoothingFilter_h 31 #include "vtkObject.h" 32 #include "vtkPolyDataAlgorithm.h" 33 #include "vtkvmtkWin32Header.h" 41 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
43 vtkSetMacro(SmoothingType,
int);
44 vtkGetMacro(SmoothingType,
int);
46 { this->SmoothingType = LAPLACIAN; }
48 { this->SmoothingType = CURVATURE_DIFFUSION; }
50 vtkSetMacro(NumberOfIterations,
int);
51 vtkGetMacro(NumberOfIterations,
int);
53 vtkSetMacro(Clamp,
int);
54 vtkGetMacro(Clamp,
int);
55 vtkBooleanMacro(Clamp,
int);
57 vtkSetMacro(ClampThreshold,
double);
58 vtkGetMacro(ClampThreshold,
double);
60 vtkSetStringMacro(ClampArrayName);
61 vtkGetStringMacro(ClampArrayName);
63 vtkSetMacro(TimeStepFactor,
double);
64 vtkGetMacro(TimeStepFactor,
double);
77 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
78 void LaplacianIteration(vtkPolyData* surface);
79 void CurvatureDiffusionIteration(vtkPolyData* surface);
80 double ComputeTimeStep(vtkPolyData* surface);
Apply a laplacian or curvature based smoothing filter to a surface with particular points fixed in pl...
void SetSmoothingTypeToCurvatureDiffusion()
void SetSmoothingTypeToLaplacian()