41 #ifndef __vtkDecimatePolylineFilter_h
42 #define __vtkDecimatePolylineFilter_h
44 #include "vtkFiltersCoreModule.h"
45 #include "vtkSmartPointer.h"
49 class vtkPriorityQueue;
58 void PrintSelf(ostream& os, vtkIndent indent);
68 vtkSetClampMacro(TargetReduction,
double,0.0,1.0);
69 vtkGetMacro(TargetReduction,
double);
76 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
78 double ComputeError(
vtkPolyData* input,
int prev,
int id,
int next );
81 int GetPrev(
int iId );
82 int GetNext(
int iId );
84 struct vtkDecimatePolylineVertexErrorSTLMap;
85 vtkDecimatePolylineVertexErrorSTLMap*
ErrorMap;
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
reduce the number of lines in a polyline
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
vtkSmartPointer< vtkPriorityQueue > PriorityQueue
vtkDecimatePolylineVertexErrorSTLMap * ErrorMap