57#ifndef vtkDecimatePolylineFilter_h
58#define vtkDecimatePolylineFilter_h
61#include "vtkFiltersCoreModule.h"
65VTK_ABI_NAMESPACE_BEGIN
87 vtkSetClampMacro(TargetReduction,
double, 0.0, 1.0);
88 vtkGetMacro(TargetReduction,
double);
100 vtkGetMacro(MaximumError,
double);
110 vtkSetMacro(OutputPointsPrecision,
int);
111 vtkGetMacro(OutputPointsPrecision,
int);
143 double TargetReduction = 0.90;
reduce the number of lines in a polyline
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkDecimatePolylineFilter * New()
Standard methods for type information and printing.
vtkMTimeType GetMTime() override
Return this object's modified time.
vtkNew< vtkPriorityQueue > PriorityQueue
int RequestUpdateExtent(vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
~vtkDecimatePolylineFilter() override=default
double ComputeError(vtkPolyData *input, Polyline *polyline, vtkIdType id)
vtkDecimatePolylineFilter()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
abstract class to define a decimation strategy for the vtkDecimatePolylineFilter
a simple class to control print indentation
Allocate and hold a VTK object.
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
Hold a reference to a vtkObjectBase instance.
static vtkSmartPointer< T > New()
Create an instance of a VTK object.
vtkTypeUInt32 vtkMTimeType