VTK  9.5.20250902
vtkDecimatePolylineAngleStrategy.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
21#ifndef vtkDecimatePolylineAngleStrategy_h
22#define vtkDecimatePolylineAngleStrategy_h
23
25#include "vtkFiltersCoreModule.h" // For export macro
26#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
27
28VTK_ABI_NAMESPACE_BEGIN
29
32{
33public:
35
37
50 vtkPointSet* dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override;
51
52protected:
55
56private:
58 void operator=(const vtkDecimatePolylineAngleStrategy&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
Decimation strategy using the angle between 3 consecutive points as a metric.
double ComputeError(vtkPointSet *dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override
Method for computing the decimation error.
~vtkDecimatePolylineAngleStrategy() override=default
static vtkDecimatePolylineAngleStrategy * New()
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