VTK  9.3.1
vtkToAffineArrayStrategy.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 vtkToAffineArrayStrategy_h
5 #define vtkToAffineArrayStrategy_h
6 
7 #include "vtkFiltersReductionModule.h" // for export
9 
10 VTK_ABI_NAMESPACE_BEGIN
22 class VTKFILTERSREDUCTION_EXPORT vtkToAffineArrayStrategy final : public vtkToImplicitStrategy
23 {
24 public:
25  static vtkToAffineArrayStrategy* New();
27  void PrintSelf(std::ostream& os, vtkIndent indent) override;
28 
30 
36 
37 protected:
38  vtkToAffineArrayStrategy() = default;
39  ~vtkToAffineArrayStrategy() override = default;
40 
41 private:
43  void operator=(const vtkToAffineArrayStrategy&) = delete;
44 };
45 VTK_ABI_NAMESPACE_END
46 
47 #endif // vtkToAffineArrayStrategy_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
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
Strategy to transform an explicit array into a vtkAffineArray.
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...