VTK  9.3.20240329
vtkMergeTables.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
26 #ifndef vtkMergeTables_h
27 #define vtkMergeTables_h
28 
29 #include "vtkInfovisCoreModule.h" // For export macro
30 #include "vtkTableAlgorithm.h"
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class VTKINFOVISCORE_EXPORT vtkMergeTables : public vtkTableAlgorithm
34 {
35 public:
36  static vtkMergeTables* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
41 
45  vtkSetStringMacro(FirstTablePrefix);
46  vtkGetStringMacro(FirstTablePrefix);
48 
50 
54  vtkSetStringMacro(SecondTablePrefix);
55  vtkGetStringMacro(SecondTablePrefix);
57 
59 
65  vtkSetMacro(MergeColumnsByName, bool);
66  vtkGetMacro(MergeColumnsByName, bool);
67  vtkBooleanMacro(MergeColumnsByName, bool);
69 
71 
76  vtkSetMacro(PrefixAllButMerged, bool);
77  vtkGetMacro(PrefixAllButMerged, bool);
78  vtkBooleanMacro(PrefixAllButMerged, bool);
80 
81 protected:
83  ~vtkMergeTables() override;
84 
89 
91 
92 private:
93  vtkMergeTables(const vtkMergeTables&) = delete;
94  void operator=(const vtkMergeTables&) = delete;
95 };
96 
97 VTK_ABI_NAMESPACE_END
98 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
combine two tables
~vtkMergeTables() override
static vtkMergeTables * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * FirstTablePrefix
char * SecondTablePrefix
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.