VTK
vtkMergeColumns.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMergeColumns.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 vtkMergeColumns_h
43 #define vtkMergeColumns_h
44 
45 #include "vtkInfovisCoreModule.h" // For export macro
46 #include "vtkTableAlgorithm.h"
47 
48 class VTKINFOVISCORE_EXPORT vtkMergeColumns : public vtkTableAlgorithm
49 {
50 public:
51  static vtkMergeColumns* New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
56 
59  vtkSetStringMacro(MergedColumnName);
60  vtkGetStringMacro(MergedColumnName);
62 
63 protected:
65  ~vtkMergeColumns() override;
66 
68 
69  int RequestData(
72  vtkInformationVector*) override;
73 
74 private:
75  vtkMergeColumns(const vtkMergeColumns&) = delete;
76  void operator=(const vtkMergeColumns&) = delete;
77 };
78 
79 #endif
80 
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.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
merge two columns into a single column