VTK  9.3.20240420
vtkToImplicitRamerDouglasPeuckerStrategy.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
3// Funded by CEA, DAM, DIF, F-91297 Arpajon, France
4#ifndef vtkToImplicitRamerDouglasPeuckerStrategy_h
5#define vtkToImplicitRamerDouglasPeuckerStrategy_h
6
7#include "vtkFiltersReductionModule.h" // for export
9
10#include <memory>
11
12VTK_ABI_NAMESPACE_BEGIN
35class VTKFILTERSREDUCTION_EXPORT vtkToImplicitRamerDouglasPeuckerStrategy final
37{
38public:
41 void PrintSelf(std::ostream& os, vtkIndent indent) override;
42
44
50
55 void ClearCache() override;
56
57protected:
60
61private:
64 void operator=(const vtkToImplicitRamerDouglasPeuckerStrategy&) = delete;
65
66 struct vtkInternals;
67 std::unique_ptr<vtkInternals> Internals;
68};
69VTK_ABI_NAMESPACE_END
70
71#endif // vtkToImplicitRamerDouglasPeuckerStrategy_h
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:108
Hold a reference to a vtkObjectBase instance.
A strategy for creating constant or affine by parts implicit arrays from explicit memory arrays based...
void ClearCache() override
Destroys intermediate result of Ramer-Douglas-Peucker algorithm on last array passed to EstimateReduc...
vtkToImplicitStrategy::Optional EstimateReduction(vtkDataArray *) override
Implements parent API.
vtkSmartPointer< vtkDataArray > Reduce(vtkDataArray *) override
Implements parent API.
static vtkToImplicitRamerDouglasPeuckerStrategy * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override
Pure interface for strategies to transform explicit arrays into implicit arrays.
A helper structure for communicating a result with an optional double value.