VTK  9.4.20241217
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
24VTK_ABI_NAMESPACE_BEGIN
25
27{
28public:
30
32
45 vtkPointSet* dataset, vtkIdType originId, vtkIdType p1Id, vtkIdType p2Id) override;
46
47protected:
50
51private:
53 void operator=(const vtkDecimatePolylineDistanceStrategy&) = delete;
54};
55
56VTK_ABI_NAMESPACE_END
57#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:315