59 #ifndef vtkConstrainedSmoothingFilter_h
60 #define vtkConstrainedSmoothingFilter_h
63 #include "vtkFiltersCoreModule.h"
67 VTK_ABI_NAMESPACE_BEGIN
89 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
90 vtkGetMacro(Convergence,
double);
99 vtkSetClampMacro(NumberOfIterations,
int, 0,
VTK_INT_MAX);
100 vtkGetMacro(NumberOfIterations,
int);
111 vtkSetMacro(RelaxationFactor,
double);
112 vtkGetMacro(RelaxationFactor,
double);
118 CONSTRAINT_DISTANCE = 1,
138 vtkSetClampMacro(ConstraintStrategy,
int, DEFAULT, CONSTRAINT_ARRAY);
139 vtkGetMacro(ConstraintStrategy,
int);
143 this->SetConstraintStrategy(CONSTRAINT_DISTANCE);
159 vtkSetClampMacro(ConstraintDistance,
double, 0.0,
VTK_FLOAT_MAX);
160 vtkGetMacro(ConstraintDistance,
double);
171 vtkSetVector3Macro(ConstraintBox,
double);
172 vtkGetVectorMacro(ConstraintBox,
double, 3);
183 vtkSetSmartPointerMacro(SmoothingStencils,
vtkCellArray);
184 vtkGetSmartPointerMacro(SmoothingStencils,
vtkCellArray);
192 vtkSetMacro(GenerateErrorScalars,
bool);
193 vtkGetMacro(GenerateErrorScalars,
bool);
194 vtkBooleanMacro(GenerateErrorScalars,
bool);
202 vtkSetMacro(GenerateErrorVectors,
bool);
203 vtkGetMacro(GenerateErrorVectors,
bool);
204 vtkBooleanMacro(GenerateErrorVectors,
bool);
213 vtkSetMacro(OutputPointsPrecision,
int);
214 vtkGetMacro(OutputPointsPrecision,
int);
227 double ConstraintBox[3];
240 VTK_ABI_NAMESPACE_END
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
Standard methods for instantiation, obtaining type information, and printing instances of the class...
a simple class to control print indentation
void SetConstraintStrategyToConstraintArray()
Indicate how to apply constraints.
int OutputPointsPrecision
Superclass for algorithms that process vtkPointSet 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()
Standard methods for instantiation, obtaining type information, and printing instances of the class...
void SetConstraintStrategyToConstraintBox()
Indicate how to apply constraints.
vtkSmartPointer< vtkCellArray > SmoothingStencils