vtkPVMergeTables.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
20 #ifndef vtkPVMergeTables_h
21 #define vtkPVMergeTables_h
22 
23 #include "vtkPVVTKExtensionsMiscModule.h" // needed for export macro
24 #include "vtkSmartPointer.h" // needed for vtkSmartPointer.
25 #include "vtkTableAlgorithm.h"
26 
27 #include <vector> // needed for std::vector.
28 
30 {
31 public:
32  static vtkPVMergeTables* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36 protected:
38  ~vtkPVMergeTables() override;
39 
41 
42  int FillInputPortInformation(int port, vtkInformation* info) override;
44 
45  static std::vector<vtkTable*> GetTables(vtkInformationVector* inputVector);
46  static void MergeTables(vtkTable* output, const std::vector<vtkTable*>& tables);
47 
48 private:
49  vtkPVMergeTables(const vtkPVMergeTables&) = delete;
50  void operator=(const vtkPVMergeTables&) = delete;
51 };
52 
53 #endif
virtual vtkExecutive * CreateDefaultExecutive()
static vtkTableAlgorithm * New()
used to merge rows in tables.
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
virtual int FillInputPortInformation(int port, vtkInformation *info)
#define VTKPVVTKEXTENSIONSMISC_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void operator=(const vtkObjectBase &)