4 #ifndef vtkToConstantArrayStrategy_h
5 #define vtkToConstantArrayStrategy_h
7 #include "vtkFiltersReductionModule.h"
10 VTK_ABI_NAMESPACE_BEGIN
abstract superclass for arrays of numeric data
a simple class to control print indentation
Strategy to be used in conjunction with vtkToImplicitArrayFilter to identify and compress constant ar...
void PrintSelf(std::ostream &os, vtkIndent indent) override
vtkSmartPointer< vtkDataArray > Reduce(vtkDataArray *) override
Parent API implementing the strategy.
vtkToImplicitStrategy::Optional EstimateReduction(vtkDataArray *) override
Parent API implementing the strategy.
static vtkToConstantArrayStrategy * New()
~vtkToConstantArrayStrategy() override=default
vtkToConstantArrayStrategy()=default
Pure interface for strategies to transform explicit arrays into implicit arrays.
A helper structure for communicating a result with an optional double value.