95#ifndef vtkPointSmoothingFilter_h
96#define vtkPointSmoothingFilter_h
98#include "vtkFiltersPointsModule.h"
123 vtkSetClampMacro(NeighborhoodSize,
int, 4, 128);
124 vtkGetMacro(NeighborhoodSize,
int);
132 DEFAULT_SMOOTHING = 0,
137 FRAME_FIELD_SMOOTHING
151 vtkSetClampMacro(SmoothingMode,
int, DEFAULT_SMOOTHING, FRAME_FIELD_SMOOTHING);
152 vtkGetMacro(SmoothingMode,
int);
175 vtkGetMacro(NumberOfIterations,
int);
184 vtkGetMacro(NumberOfSubIterations,
int);
197 vtkGetMacro(MaximumStepSize,
double);
205 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
206 vtkGetMacro(Convergence,
double);
222 vtkSetMacro(EnableConstraints,
bool);
223 vtkGetMacro(EnableConstraints,
bool);
224 vtkBooleanMacro(EnableConstraints,
bool);
225 vtkSetClampMacro(FixedAngle,
double, 0, 90);
226 vtkGetMacro(FixedAngle,
double);
227 vtkSetClampMacro(BoundaryAngle,
double, 0, 120);
228 vtkGetMacro(BoundaryAngle,
double);
236 vtkSetMacro(GenerateConstraintScalars,
bool);
237 vtkGetMacro(GenerateConstraintScalars,
bool);
238 vtkBooleanMacro(GenerateConstraintScalars,
bool);
246 vtkSetMacro(GenerateConstraintNormals,
bool);
247 vtkGetMacro(GenerateConstraintNormals,
bool);
248 vtkBooleanMacro(GenerateConstraintNormals,
bool);
258 vtkSetMacro(ComputePackingRadius,
bool);
259 vtkGetMacro(ComputePackingRadius,
bool);
260 vtkBooleanMacro(ComputePackingRadius,
bool);
275 vtkGetMacro(PackingRadius,
double);
288 vtkSetClampMacro(PackingFactor,
double, 0.1, 10.0);
289 vtkGetMacro(PackingFactor,
double);
300 vtkSetClampMacro(AttractionFactor,
double, 0.1, 10.0);
301 vtkGetMacro(AttractionFactor,
double);
309 UNCONSTRAINED_MOTION = 0,
319 vtkSetMacro(MotionConstraint,
int);
320 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.