86#ifndef vtkPointSmoothingFilter_h
87#define vtkPointSmoothingFilter_h
89#include "vtkFiltersPointsModule.h"
92VTK_ABI_NAMESPACE_BEGIN
115 vtkSetClampMacro(NeighborhoodSize,
int, 4, 128);
116 vtkGetMacro(NeighborhoodSize,
int);
124 DEFAULT_SMOOTHING = 0,
129 FRAME_FIELD_SMOOTHING
143 vtkSetClampMacro(SmoothingMode,
int, DEFAULT_SMOOTHING, FRAME_FIELD_SMOOTHING);
144 vtkGetMacro(SmoothingMode,
int);
167 vtkGetMacro(NumberOfIterations,
int);
176 vtkGetMacro(NumberOfSubIterations,
int);
189 vtkGetMacro(MaximumStepSize,
double);
197 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
198 vtkGetMacro(Convergence,
double);
214 vtkSetMacro(EnableConstraints,
bool);
215 vtkGetMacro(EnableConstraints,
bool);
216 vtkBooleanMacro(EnableConstraints,
bool);
217 vtkSetClampMacro(FixedAngle,
double, 0, 90);
218 vtkGetMacro(FixedAngle,
double);
219 vtkSetClampMacro(BoundaryAngle,
double, 0, 120);
220 vtkGetMacro(BoundaryAngle,
double);
228 vtkSetMacro(GenerateConstraintScalars,
bool);
229 vtkGetMacro(GenerateConstraintScalars,
bool);
230 vtkBooleanMacro(GenerateConstraintScalars,
bool);
238 vtkSetMacro(GenerateConstraintNormals,
bool);
239 vtkGetMacro(GenerateConstraintNormals,
bool);
240 vtkBooleanMacro(GenerateConstraintNormals,
bool);
250 vtkSetMacro(ComputePackingRadius,
bool);
251 vtkGetMacro(ComputePackingRadius,
bool);
252 vtkBooleanMacro(ComputePackingRadius,
bool);
267 vtkGetMacro(PackingRadius,
double);
280 vtkSetClampMacro(PackingFactor,
double, 0.1, 10.0);
281 vtkGetMacro(PackingFactor,
double);
292 vtkSetClampMacro(AttractionFactor,
double, 0.1, 10.0);
293 vtkGetMacro(AttractionFactor,
double);
301 UNCONSTRAINED_MOTION = 0,
311 vtkSetMacro(MotionConstraint,
int);
312 vtkGetMacro(MotionConstraint,
int);
abstract class to quickly locate points in 3-space
abstract superclass for arrays of numeric data
a simple class to control print indentation
perform various plane computations
Superclass for algorithms that produce output of the same type as input.
adjust point positions to form a pleasing, packed arrangement
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual void SetFrameFieldArray(vtkDataArray *)
Specify the name of the frame field to use for smoothing.
bool GenerateConstraintScalars
void SetSmoothingModeToUniform()
Control how smoothing is to be performed.
bool GenerateConstraintNormals
void SetPlane(vtkPlane *)
Specify the plane to which point motion is constrained.
void SetLocator(vtkAbstractPointLocator *locator)
Specify a point locator.
vtkPointSmoothingFilter()
static vtkPointSmoothingFilter * New()
Standard methods for instantiation, obtaining type information, and printing information.
void SetSmoothingModeToFrameField()
Control how smoothing is to be performed.
void SetSmoothingModeToDefault()
Control how smoothing is to be performed.
void SetSmoothingModeToTensors()
Control how smoothing is to be performed.
vtkDataArray * FrameFieldArray
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetMotionConstraintToPlane()
Specify how to constrain the motion of points.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing information.
bool ComputePackingRadius
vtkAbstractPointLocator * Locator
void SetSmoothingModeToGeometric()
Control how smoothing is to be performed.
int NumberOfSubIterations
void SetSmoothingModeToScalars()
Control how smoothing is to be performed.
~vtkPointSmoothingFilter() override
void SetMotionConstraintToUnconstrained()
Specify how to constrain the motion of points.