56#ifndef vtkConstrainedSmoothingFilter_h
57#define vtkConstrainedSmoothingFilter_h
60#include "vtkFiltersCoreModule.h"
64VTK_ABI_NAMESPACE_BEGIN
86 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
87 vtkGetMacro(Convergence,
double);
97 vtkGetMacro(NumberOfIterations,
int);
108 vtkSetMacro(RelaxationFactor,
double);
109 vtkGetMacro(RelaxationFactor,
double);
115 CONSTRAINT_DISTANCE = 1,
135 vtkSetClampMacro(ConstraintStrategy,
int, DEFAULT, CONSTRAINT_ARRAY);
136 vtkGetMacro(ConstraintStrategy,
int);
140 this->SetConstraintStrategy(CONSTRAINT_DISTANCE);
157 vtkGetMacro(ConstraintDistance,
double);
168 vtkSetVector3Macro(ConstraintBox,
double);
169 vtkGetVectorMacro(ConstraintBox,
double, 3);
189 vtkSetMacro(GenerateErrorScalars,
bool);
190 vtkGetMacro(GenerateErrorScalars,
bool);
191 vtkBooleanMacro(GenerateErrorScalars,
bool);
199 vtkSetMacro(GenerateErrorVectors,
bool);
200 vtkGetMacro(GenerateErrorVectors,
bool);
201 vtkBooleanMacro(GenerateErrorVectors,
bool);
210 vtkSetMacro(OutputPointsPrecision,
int);
211 vtkGetMacro(OutputPointsPrecision,
int);
224 double ConstraintBox[3];
object to represent cell connectivity
adjust point positions using constrained smoothing
void SetConstraintStrategyToConstraintDistance()
Indicate how to apply constraints.
int OutputPointsPrecision
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkSmartPointer< vtkCellArray > SmoothingStencils
void SetConstraintStrategyToConstraintBox()
Indicate how to apply constraints.
bool GenerateErrorVectors
~vtkConstrainedSmoothingFilter() override=default
void SetConstraintStrategyToDefault()
Indicate how to apply constraints.
double ConstraintDistance
bool GenerateErrorScalars
vtkConstrainedSmoothingFilter()
static vtkConstrainedSmoothingFilter * New()
Standard methods for instantiation, to obtain type information, and print the state of a class instan...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, to obtain type information, and print the state of a class instan...
void SetConstraintStrategyToConstraintArray()
Indicate how to apply constraints.
a simple class to control print indentation
Superclass for algorithms that produce output of the same type as input.
Hold a reference to a vtkObjectBase instance.