VTK  9.1.0
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
45class VTKINFOVISCORE_EXPORT vtkMergeTables : public vtkTableAlgorithm
46{
47public:
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
93protected:
95 ~vtkMergeTables() override;
96
101
103
104private:
105 vtkMergeTables(const vtkMergeTables&) = delete;
106 void operator=(const vtkMergeTables&) = delete;
107};
108
109#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
combine two tables
~vtkMergeTables() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
char * FirstTablePrefix
static vtkMergeTables * New()
char * SecondTablePrefix
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.