VTK  9.4.20241117
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
27VTK_ABI_NAMESPACE_BEGIN
28
30{
31public:
33
35
48 vtkPointSet* dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override;
49
50protected:
53
54private:
56 void operator=(const vtkDecimatePolylineAngleStrategy&) = delete;
57};
58
59VTK_ABI_NAMESPACE_END
60#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:315