VTK  9.3.20240420
vtkToImplicitTypeErasureStrategy.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 vtkToImplicitTypeErasureStrategy_h
5#define vtkToImplicitTypeErasureStrategy_h
6
7#include "vtkFiltersReductionModule.h" // for export
9
10VTK_ABI_NAMESPACE_BEGIN
28class VTKFILTERSREDUCTION_EXPORT vtkToImplicitTypeErasureStrategy final
30{
31public:
34 void PrintSelf(std::ostream& os, vtkIndent indent) override;
35
37
43
44protected:
47
48private:
50 void operator=(const vtkToImplicitTypeErasureStrategy&) = delete;
51};
52VTK_ABI_NAMESPACE_END
53
54#endif // vtkToImplicitTypeErasureStrategy_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.
Pure interface for strategies to transform explicit arrays into implicit arrays.
A strategy for compressing arrays by type when applicable (int -> unsigned char for example) and wrap...
~vtkToImplicitTypeErasureStrategy() override=default
static vtkToImplicitTypeErasureStrategy * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override
vtkToImplicitStrategy::Optional EstimateReduction(vtkDataArray *) override
Parent API implementing the strategy.
vtkSmartPointer< vtkDataArray > Reduce(vtkDataArray *) override
Parent API implementing the strategy.
A helper structure for communicating a result with an optional double value.