VTK
vtkMergeTables.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMergeTables.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
42 #ifndef vtkMergeTables_h
43 #define vtkMergeTables_h
44 
45 #include "vtkInfovisCoreModule.h" // For export macro
46 #include "vtkTableAlgorithm.h"
47 
48 class VTKINFOVISCORE_EXPORT vtkMergeTables : public vtkTableAlgorithm
49 {
50 public:
51  static vtkMergeTables* New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
60  vtkSetStringMacro(FirstTablePrefix);
61  vtkGetStringMacro(FirstTablePrefix);
63 
65 
69  vtkSetStringMacro(SecondTablePrefix);
70  vtkGetStringMacro(SecondTablePrefix);
72 
74 
80  vtkSetMacro(MergeColumnsByName, bool);
81  vtkGetMacro(MergeColumnsByName, bool);
82  vtkBooleanMacro(MergeColumnsByName, bool);
84 
86 
91  vtkSetMacro(PrefixAllButMerged, bool);
92  vtkGetMacro(PrefixAllButMerged, bool);
93  vtkBooleanMacro(PrefixAllButMerged, bool);
95 
96 protected:
98  ~vtkMergeTables() override;
99 
104 
105  int RequestData(
108  vtkInformationVector*) override;
109 
110 private:
111  vtkMergeTables(const vtkMergeTables&) = delete;
112  void operator=(const vtkMergeTables&) = delete;
113 };
114 
115 #endif
116 
char * FirstTablePrefix
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
char * SecondTablePrefix
combine two tables
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.