54 #ifndef vtkDecimatePolylineFilter_h
55 #define vtkDecimatePolylineFilter_h
57 #include "vtkFiltersCoreModule.h"
62 VTK_ABI_NAMESPACE_BEGIN
87 vtkSetClampMacro(TargetReduction,
double, 0.0, 1.0);
88 vtkGetMacro(TargetReduction,
double);
99 vtkGetMacro(MaximumError,
double);
108 vtkSetMacro(OutputPointsPrecision,
int);
109 vtkGetMacro(OutputPointsPrecision,
int);
131 VTK_ABI_NAMESPACE_END
reduce the number of lines in a polyline
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkDecimatePolylineFilter() override
vtkDecimatePolylineFilter()
static vtkDecimatePolylineFilter * New()
Instantiate this object with a target reduction of 0.90.
double ComputeError(vtkPolyData *input, Polyline *polyline, vtkIdType id)
vtkSmartPointer< vtkPriorityQueue > PriorityQueue
int OutputPointsPrecision
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
concrete dataset represents vertices, lines, polygons, and triangle strips
a list of ids arranged in priority order