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 -------------------------------------------------------------------------*/
41 #ifndef vtkMergeTables_h
42 #define vtkMergeTables_h
43 
44 #include "vtkInfovisCoreModule.h" // For export macro
45 #include "vtkTableAlgorithm.h"
46 
48 {
49 public:
50  static vtkMergeTables* New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
57  vtkSetStringMacro(FirstTablePrefix);
58  vtkGetStringMacro(FirstTablePrefix);
60 
62 
64  vtkSetStringMacro(SecondTablePrefix);
65  vtkGetStringMacro(SecondTablePrefix);
67 
69 
72  vtkSetMacro(MergeColumnsByName, bool);
73  vtkGetMacro(MergeColumnsByName, bool);
74  vtkBooleanMacro(MergeColumnsByName, bool);
76 
78 
81  vtkSetMacro(PrefixAllButMerged, bool);
82  vtkGetMacro(PrefixAllButMerged, bool);
83  vtkBooleanMacro(PrefixAllButMerged, bool);
85 
86 protected:
88  ~vtkMergeTables();
89 
94 
95  int RequestData(
99 
100 private:
101  vtkMergeTables(const vtkMergeTables&); // Not implemented
102  void operator=(const vtkMergeTables&); // Not implemented
103 };
104 
105 #endif
106 
char * FirstTablePrefix
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKINFOVISCORE_EXPORT
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
char * SecondTablePrefix
combine two tables
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.