VTK  9.3.1
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
virtual Optional EstimateReduction(vtkDataArray *)=0
Estimate the reduction (if possible) that can be obtained on the array using this strategy...
void PrintSelf(std::ostream &os, vtkIndent indent) override
virtual vtkSmartPointer< vtkDataArray > Reduce(vtkDataArray *)=0
Return a reduced version of the input array.
Pure interface for strategies to transform explicit arrays into implicit arrays.
a simple class to control print indentation
Definition: vtkIndent.h:28
A strategy for creating constant or affine by parts implicit arrays from explicit memory arrays based...
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
A helper structure for communicating a result with an optional double value.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void ClearCache()
Destroy any cached variables present in the object (useful for storing calculation results in-between...