VTK  9.5.20250904
vtkDecimatePolylineDistanceStrategy.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
18#ifndef vtkDecimatePolylineDistanceStrategy_h
19#define vtkDecimatePolylineDistanceStrategy_h
20
22#include "vtkFiltersCoreModule.h" // For export macro
23#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
24
25VTK_ABI_NAMESPACE_BEGIN
26
29{
30public:
32
34
47 vtkPointSet* dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override;
48
49protected:
52
53private:
55 void operator=(const vtkDecimatePolylineDistanceStrategy&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif
decimation strategy using distance between points as a metric.
static vtkDecimatePolylineDistanceStrategy * New()
~vtkDecimatePolylineDistanceStrategy() override=default
double ComputeError(vtkPointSet *dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override
Method for computing the decimation error.
abstract class to define a decimation strategy for the vtkDecimatePolylineFilter
concrete class for storing a set of points
Definition vtkPointSet.h:98
int vtkIdType
Definition vtkType.h:332
#define VTK_MARSHALAUTO