28 #ifndef __vtkvmtkCenterlineSmoothing_h 29 #define __vtkvmtkCenterlineSmoothing_h 31 #include "vtkPolyDataAlgorithm.h" 33 #include "vtkvmtkWin32Header.h" 41 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
45 vtkSetMacro(SmoothingFactor,
double);
46 vtkGetMacro(SmoothingFactor,
double);
48 vtkSetMacro(NumberOfSmoothingIterations,
int);
49 vtkGetMacro(NumberOfSmoothingIterations,
int);
51 static void SmoothLine(vtkPoints* linePoints, vtkPoints* smoothLinePoints,
int numberOfIterations = 10,
double relaxation = 0.1);
57 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
int NumberOfSmoothingIterations
iteratively smooth a centerline with a laplacian kernel