125#ifndef vtkSmoothPolyDataFilter_h
126#define vtkSmoothPolyDataFilter_h
128#include "vtkFiltersCoreModule.h"
133VTK_ABI_NAMESPACE_BEGIN
134class vtkSmoothPoints;
162 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
163 vtkGetMacro(Convergence,
double);
171 vtkGetMacro(NumberOfIterations,
int);
182 vtkSetMacro(RelaxationFactor,
double);
183 vtkGetMacro(RelaxationFactor,
double);
199 vtkSetClampMacro(FeatureAngle,
double, 0.0, 180.0);
200 vtkGetMacro(FeatureAngle,
double);
208 vtkSetClampMacro(EdgeAngle,
double, 0.0, 180.0);
209 vtkGetMacro(EdgeAngle,
double);
255 vtkSetMacro(OutputPointsPrecision,
int);
256 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
std::unique_ptr< vtkSmoothPoints > SmoothPoints
vtkTypeBool GenerateErrorVectors
~vtkSmoothPolyDataFilter() override
int OutputPointsPrecision
void SetSourceData(vtkPolyData *source)
Specify the source object which is used to constrain smoothing.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods to obtain type information, and print the state of a class instance.
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.
static vtkSmoothPolyDataFilter * New()
Construct object with number of iterations 20; relaxation factor .01; feature edge smoothing turned o...
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)