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 -------------------------------------------------------------------------*/
39 #ifndef vtkMergeTables_h
40 #define vtkMergeTables_h
41 
42 #include "vtkInfovisCoreModule.h" // For export macro
43 #include "vtkTableAlgorithm.h"
44 
45 class VTKINFOVISCORE_EXPORT vtkMergeTables : public vtkTableAlgorithm
46 {
47 public:
48  static vtkMergeTables* New();
50  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
51 
53 
57  vtkSetStringMacro(FirstTablePrefix);
58  vtkGetStringMacro(FirstTablePrefix);
60 
62 
66  vtkSetStringMacro(SecondTablePrefix);
67  vtkGetStringMacro(SecondTablePrefix);
69 
71 
77  vtkSetMacro(MergeColumnsByName, bool);
78  vtkGetMacro(MergeColumnsByName, bool);
79  vtkBooleanMacro(MergeColumnsByName, bool);
81 
83 
88  vtkSetMacro(PrefixAllButMerged, bool);
89  vtkGetMacro(PrefixAllButMerged, bool);
90  vtkBooleanMacro(PrefixAllButMerged, bool);
92 
93 protected:
95  ~vtkMergeTables() VTK_OVERRIDE;
96 
97  bool MergeColumnsByName;
98  bool PrefixAllButMerged;
99  char* FirstTablePrefix;
100  char* SecondTablePrefix;
101 
102  int RequestData(
105  vtkInformationVector*) VTK_OVERRIDE;
106 
107 private:
108  vtkMergeTables(const vtkMergeTables&) VTK_DELETE_FUNCTION;
109  void operator=(const vtkMergeTables&) VTK_DELETE_FUNCTION;
110 };
111 
112 #endif
113 
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:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
combine two tables
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.