VTK  9.3.0
vtkQuantizePolyDataPoints.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
39#ifndef vtkQuantizePolyDataPoints_h
40#define vtkQuantizePolyDataPoints_h
41
42#include "vtkCleanPolyData.h"
43#include "vtkFiltersGeneralModule.h" // For export macro
44
45VTK_ABI_NAMESPACE_BEGIN
46class VTKFILTERSGENERAL_EXPORT vtkQuantizePolyDataPoints : public vtkCleanPolyData
47{
48public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
57 vtkSetClampMacro(QFactor, double, 1E-5, VTK_FLOAT_MAX);
58 vtkGetMacro(QFactor, double);
60
64 void OperateOnPoint(double in[3], double out[3]) override;
65
69 void OperateOnBounds(double in[6], double out[6]) override;
70
71protected:
73 ~vtkQuantizePolyDataPoints() override = default;
74
75 double QFactor;
76
77private:
79 void operator=(const vtkQuantizePolyDataPoints&) = delete;
80};
81
82VTK_ABI_NAMESPACE_END
83#endif
merge duplicate points, and/or remove unused points and/or remove degenerate cells
a simple class to control print indentation
Definition vtkIndent.h:38
quantizes x,y,z coordinates of points
~vtkQuantizePolyDataPoints() override=default
void OperateOnPoint(double in[3], double out[3]) override
Perform quantization on a point.
static vtkQuantizePolyDataPoints * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void OperateOnBounds(double in[6], double out[6]) override
Perform quantization on bounds.
#define VTK_FLOAT_MAX
Definition vtkType.h:152