VTK
vtkTransposeTable.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTransposeTable.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 
33 #ifndef vtkTransposeTable_h
34 #define vtkTransposeTable_h
35 
36 #include "vtkFiltersCoreModule.h" // For export macro
37 #include "vtkTableAlgorithm.h"
38 
39 class VTKFILTERSCORE_EXPORT vtkTransposeTable : public vtkTableAlgorithm
40 {
41 public:
42  static vtkTransposeTable* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
47 
52  vtkGetMacro(AddIdColumn, bool);
53  vtkSetMacro(AddIdColumn, bool);
54  vtkBooleanMacro(AddIdColumn, bool);
56 
58 
63  vtkGetMacro(UseIdColumn, bool);
64  vtkSetMacro(UseIdColumn, bool);
65  vtkBooleanMacro(UseIdColumn, bool);
67 
69 
73  vtkGetStringMacro(IdColumnName);
74  vtkSetStringMacro(IdColumnName);
76 
77 protected:
79  ~vtkTransposeTable() override;
80 
83  vtkInformationVector*) override;
84 
87  char* IdColumnName;
88 
89 private:
90  vtkTransposeTable(const vtkTransposeTable&) = delete;
91  void operator=(const vtkTransposeTable&) = delete;
92 };
93 
94 #endif
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
Transpose an input table.
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.