59 #ifndef vtkConstrainedSmoothingFilter_h
60 #define vtkConstrainedSmoothingFilter_h
63 #include "vtkFiltersCoreModule.h"
86 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
87 vtkGetMacro(Convergence,
double);
96 vtkSetClampMacro(NumberOfIterations,
int, 0,
VTK_INT_MAX);
97 vtkGetMacro(NumberOfIterations,
int);
108 vtkSetMacro(RelaxationFactor,
double);
109 vtkGetMacro(RelaxationFactor,
double);
115 CONSTRAINT_DISTANCE = 1,
129 vtkSetClampMacro(ConstraintStrategy,
int, DEFAULT, CONSTRAINT_ARRAY);
130 vtkGetMacro(ConstraintStrategy,
int);
134 this->SetConstraintStrategy(CONSTRAINT_DISTANCE);
146 vtkSetClampMacro(ConstraintDistance,
double, 0.0,
VTK_FLOAT_MAX);
147 vtkGetMacro(ConstraintDistance,
double);
158 vtkSetSmartPointerMacro(SmoothingStencils,
vtkCellArray);
159 vtkGetSmartPointerMacro(SmoothingStencils,
vtkCellArray);
167 vtkSetMacro(GenerateErrorScalars,
bool);
168 vtkGetMacro(GenerateErrorScalars,
bool);
169 vtkBooleanMacro(GenerateErrorScalars,
bool);
177 vtkSetMacro(GenerateErrorVectors,
bool);
178 vtkGetMacro(GenerateErrorVectors,
bool);
179 vtkBooleanMacro(GenerateErrorVectors,
bool);
188 vtkSetMacro(OutputPointsPrecision,
int);
189 vtkGetMacro(OutputPointsPrecision,
int);
adjust point positions using constrained smoothing
bool GenerateErrorScalars
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
void SetConstraintStrategyToConstraintArray()
Indicate how to apply constraints.
int OutputPointsPrecision
Superclass for algorithms that produce output of the same type as input.
bool GenerateErrorVectors
void SetConstraintStrategyToConstraintDistance()
Indicate how to apply constraints.
double ConstraintDistance
void SetConstraintStrategyToDefault()
Indicate how to apply constraints.
object to represent cell connectivity
static vtkPointSetAlgorithm * New()
vtkSmartPointer< vtkCellArray > SmoothingStencils