93 #ifndef vtkSmoothPolyDataFilter_h
94 #define vtkSmoothPolyDataFilter_h
96 #include "vtkFiltersCoreModule.h"
99 class vtkSmoothPoints;
121 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
122 vtkGetMacro(Convergence,
double);
130 vtkGetMacro(NumberOfIterations,
int);
141 vtkSetMacro(RelaxationFactor,
double);
142 vtkGetMacro(RelaxationFactor,
double);
158 vtkSetClampMacro(FeatureAngle,
double, 0.0, 180.0);
159 vtkGetMacro(FeatureAngle,
double);
167 vtkSetClampMacro(EdgeAngle,
double, 0.0, 180.0);
168 vtkGetMacro(EdgeAngle,
double);
214 vtkSetMacro(OutputPointsPrecision,
int);
215 vtkGetMacro(OutputPointsPrecision,
int);
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
adjust point positions using Laplacian smoothing
vtkSmoothPolyDataFilter()
vtkTypeBool BoundarySmoothing
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTypeBool GenerateErrorScalars
static vtkSmoothPolyDataFilter * New()
Construct object with number of iterations 20; relaxation factor .01; feature edge smoothing turned o...
vtkTypeBool GenerateErrorVectors
~vtkSmoothPolyDataFilter() override=default
int OutputPointsPrecision
vtkSmoothPoints * SmoothPoints
void SetSourceData(vtkPolyData *source)
Specify the source object which is used to constrain smoothing.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool FeatureEdgeSmoothing
vtkPolyData * GetSource()
Specify the source object which is used to constrain smoothing.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)