VTK  9.0.1
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) 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() override;
96 
101 
103 
104 private:
105  vtkMergeTables(const vtkMergeTables&) = delete;
106  void operator=(const vtkMergeTables&) = delete;
107 };
108 
109 #endif
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkMergeTables::FirstTablePrefix
char * FirstTablePrefix
Definition: vtkMergeTables.h:99
vtkMergeTables
combine two tables
Definition: vtkMergeTables.h:45
vtkMergeTables::PrefixAllButMerged
bool PrefixAllButMerged
Definition: vtkMergeTables.h:98
vtkMergeTables::MergeColumnsByName
bool MergeColumnsByName
Definition: vtkMergeTables.h:97
vtkMergeTables::SecondTablePrefix
char * SecondTablePrefix
Definition: vtkMergeTables.h:100
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkTableAlgorithm.h
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()