56#ifndef vtkConstrainedSmoothingFilter_h
57#define vtkConstrainedSmoothingFilter_h
60#include "vtkFiltersCoreModule.h"
63VTK_ABI_NAMESPACE_BEGIN
84 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
85 vtkGetMacro(Convergence,
double);
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);
155 vtkGetMacro(ConstraintDistance,
double);
166 vtkSetVector3Macro(ConstraintBox,
double);
167 vtkGetVectorMacro(ConstraintBox,
double, 3);
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];
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...
vtkSetSmartPointerMacro(SmoothingStencils, vtkCellArray)
Set / get the point smoothing stencils.
void SetConstraintStrategyToConstraintArray()
Indicate how to apply constraints.
vtkGetSmartPointerMacro(SmoothingStencils, vtkCellArray)
Set / get the point smoothing stencils.
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.