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) VTK_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() VTK_OVERRIDE;
80 
81  int RequestData(vtkInformation*,
83  vtkInformationVector*) VTK_OVERRIDE;
84 
85  bool AddIdColumn;
86  bool UseIdColumn;
87  char* IdColumnName;
88 
89 private:
90  vtkTransposeTable(const vtkTransposeTable&) VTK_DELETE_FUNCTION;
91  void operator=(const vtkTransposeTable&) VTK_DELETE_FUNCTION;
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Transpose an input table.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.