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 
29 class VTKPVVTKEXTENSIONSMISC_EXPORT vtkPVMergeTables : public vtkTableAlgorithm
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
vtkAlgorithm::CreateDefaultExecutive
virtual vtkExecutive * CreateDefaultExecutive()
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkTable
vtkExecutive
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkTableAlgorithm
vtkTableAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkIndent
vtkSmartPointer.h
vtkInformation
vtkTableAlgorithm.h
vtkPVMergeTables
used to merge rows in tables.
Definition: vtkPVMergeTables.h:29
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()