98#ifndef vtkPointSmoothingFilter_h
99#define vtkPointSmoothingFilter_h
101#include "vtkFiltersPointsModule.h"
126 vtkSetClampMacro(NeighborhoodSize,
int, 4, 128);
127 vtkGetMacro(NeighborhoodSize,
int);
135 DEFAULT_SMOOTHING = 0,
140 FRAME_FIELD_SMOOTHING
154 vtkSetClampMacro(SmoothingMode,
int, DEFAULT_SMOOTHING, FRAME_FIELD_SMOOTHING);
155 vtkGetMacro(SmoothingMode,
int);
178 vtkGetMacro(NumberOfIterations,
int);
187 vtkGetMacro(NumberOfSubIterations,
int);
200 vtkGetMacro(MaximumStepSize,
double);
208 vtkSetClampMacro(Convergence,
double, 0.0, 1.0);
209 vtkGetMacro(Convergence,
double);
225 vtkSetMacro(EnableConstraints,
bool);
226 vtkGetMacro(EnableConstraints,
bool);
227 vtkBooleanMacro(EnableConstraints,
bool);
228 vtkSetClampMacro(FixedAngle,
double, 0, 90);
229 vtkGetMacro(FixedAngle,
double);
230 vtkSetClampMacro(BoundaryAngle,
double, 0, 120);
231 vtkGetMacro(BoundaryAngle,
double);
239 vtkSetMacro(GenerateConstraintScalars,
bool);
240 vtkGetMacro(GenerateConstraintScalars,
bool);
241 vtkBooleanMacro(GenerateConstraintScalars,
bool);
249 vtkSetMacro(GenerateConstraintNormals,
bool);
250 vtkGetMacro(GenerateConstraintNormals,
bool);
251 vtkBooleanMacro(GenerateConstraintNormals,
bool);
261 vtkSetMacro(ComputePackingRadius,
bool);
262 vtkGetMacro(ComputePackingRadius,
bool);
263 vtkBooleanMacro(ComputePackingRadius,
bool);
278 vtkGetMacro(PackingRadius,
double);
291 vtkSetClampMacro(PackingFactor,
double, 0.1, 10.0);
292 vtkGetMacro(PackingFactor,
double);
303 vtkSetClampMacro(AttractionFactor,
double, 0.1, 10.0);
304 vtkGetMacro(AttractionFactor,
double);
312 UNCONSTRAINED_MOTION = 0,
322 vtkSetMacro(MotionConstraint,
int);
323 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.