VTK  9.3.0
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 
12 VTK_ABI_NAMESPACE_BEGIN
35 class VTKFILTERSREDUCTION_EXPORT vtkToImplicitRamerDouglasPeuckerStrategy final
36  : public vtkToImplicitStrategy
37 {
38 public:
41  void PrintSelf(std::ostream& os, vtkIndent indent) override;
42 
44 
50 
55  void ClearCache() override;
56 
57 protected:
60 
61 private:
64  void operator=(const vtkToImplicitRamerDouglasPeuckerStrategy&) = delete;
65 
66  struct vtkInternals;
67  std::unique_ptr<vtkInternals> Internals;
68 };
69 VTK_ABI_NAMESPACE_END
70 
71 #endif // vtkToImplicitRamerDouglasPeuckerStrategy_h
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:45
a simple class to control print indentation
Definition: vtkIndent.h:29
A strategy for creating constant or affine by parts implicit arrays from explicit memory arrays based...
vtkSmartPointer< vtkDataArray > Reduce(vtkDataArray *) override
Implements parent API.
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.
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.