56 #ifndef vtkConstrainedSmoothingFilter_h
57 #define vtkConstrainedSmoothingFilter_h
60 #include "vtkFiltersCoreModule.h"
63 VTK_ABI_NAMESPACE_BEGIN
84 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
85 vtkGetMacro(Convergence,
double);
94 vtkSetClampMacro(NumberOfIterations,
int, 0,
VTK_INT_MAX);
95 vtkGetMacro(NumberOfIterations,
int);
106 vtkSetMacro(RelaxationFactor,
double);
107 vtkGetMacro(RelaxationFactor,
double);
113 CONSTRAINT_DISTANCE = 1,
133 vtkSetClampMacro(ConstraintStrategy,
int, DEFAULT, CONSTRAINT_ARRAY);
134 vtkGetMacro(ConstraintStrategy,
int);
138 this->SetConstraintStrategy(CONSTRAINT_DISTANCE);
154 vtkSetClampMacro(ConstraintDistance,
double, 0.0,
VTK_FLOAT_MAX);
155 vtkGetMacro(ConstraintDistance,
double);
166 vtkSetVector3Macro(ConstraintBox,
double);
167 vtkGetVectorMacro(ConstraintBox,
double, 3);
178 vtkSetSmartPointerMacro(SmoothingStencils,
vtkCellArray);
179 vtkGetSmartPointerMacro(SmoothingStencils,
vtkCellArray);
187 vtkSetMacro(GenerateErrorScalars,
bool);
188 vtkGetMacro(GenerateErrorScalars,
bool);
189 vtkBooleanMacro(GenerateErrorScalars,
bool);
197 vtkSetMacro(GenerateErrorVectors,
bool);
198 vtkGetMacro(GenerateErrorVectors,
bool);
199 vtkBooleanMacro(GenerateErrorVectors,
bool);
208 vtkSetMacro(OutputPointsPrecision,
int);
209 vtkGetMacro(OutputPointsPrecision,
int);
222 double ConstraintBox[3];
235 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
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()
void SetConstraintStrategyToConstraintBox()
Indicate how to apply constraints.
vtkSmartPointer< vtkCellArray > SmoothingStencils