VTK  9.7.1
vtkTransposeTable.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
21 #ifndef vtkTransposeTable_h
22 #define vtkTransposeTable_h
23 
24 #include "vtkFiltersCoreModule.h" // For export macro
25 #include "vtkTableAlgorithm.h"
26 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkTransposeTable : public vtkTableAlgorithm
30 {
31 public:
32  static vtkTransposeTable* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
37 
42  vtkGetMacro(AddIdColumn, bool);
43  vtkSetMacro(AddIdColumn, bool);
44  vtkBooleanMacro(AddIdColumn, bool);
46 
48 
53  vtkGetMacro(UseIdColumn, bool);
54  vtkSetMacro(UseIdColumn, bool);
55  vtkBooleanMacro(UseIdColumn, bool);
57 
59 
63  vtkGetStringMacro(IdColumnName);
64  vtkSetStringMacro(IdColumnName);
66 
67 protected:
69  ~vtkTransposeTable() override;
70 
72 
75  char* IdColumnName;
76 
77 private:
78  vtkTransposeTable(const vtkTransposeTable&) = delete;
79  void operator=(const vtkTransposeTable&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #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:28
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.
#define VTK_MARSHALAUTO