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 
30 #ifndef vtkTransposeTable_h
31 #define vtkTransposeTable_h
32 
33 #include "vtkFiltersCoreModule.h" // For export macro
34 #include "vtkTableAlgorithm.h"
35 
36 class VTKFILTERSCORE_EXPORT vtkTransposeTable : public vtkTableAlgorithm
37 {
38 public:
39  static vtkTransposeTable* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
44 
49  vtkGetMacro(AddIdColumn, bool);
50  vtkSetMacro(AddIdColumn, bool);
51  vtkBooleanMacro(AddIdColumn, bool);
53 
55 
60  vtkGetMacro(UseIdColumn, bool);
61  vtkSetMacro(UseIdColumn, bool);
62  vtkBooleanMacro(UseIdColumn, bool);
64 
66 
70  vtkGetStringMacro(IdColumnName);
71  vtkSetStringMacro(IdColumnName);
73 
74 protected:
76  ~vtkTransposeTable() override;
77 
80  vtkInformationVector*) override;
81 
84  char* IdColumnName;
85 
86 private:
87  vtkTransposeTable(const vtkTransposeTable&) = delete;
88  void operator=(const vtkTransposeTable&) = delete;
89 };
90 
91 #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:33
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.