VTK  9.3.1
vtkTableToArray.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
4 
27 #ifndef vtkTableToArray_h
28 #define vtkTableToArray_h
29 
30 #include "vtkArrayDataAlgorithm.h"
31 #include "vtkInfovisCoreModule.h" // For export macro
32 
33 VTK_ABI_NAMESPACE_BEGIN
34 class VTKINFOVISCORE_EXPORT vtkTableToArray : public vtkArrayDataAlgorithm
35 {
36 public:
37  static vtkTableToArray* New();
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
45  void ClearColumns();
50  void AddColumn(const char* name);
55  void AddColumn(vtkIdType index);
59  void AddAllColumns();
60 
61 protected:
63  ~vtkTableToArray() override;
64 
65  int FillInputPortInformation(int, vtkInformation*) override;
66 
68 
69 private:
70  vtkTableToArray(const vtkTableToArray&) = delete;
71  void operator=(const vtkTableToArray&) = delete;
72 
73  class implementation;
74  implementation* const Implementation;
75 };
76 
77 VTK_ABI_NAMESPACE_END
78 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store vtkAlgorithm input/output information.
converts a vtkTable to a matrix.
int vtkIdType
Definition: vtkType.h:315
a simple class to control print indentation
Definition: vtkIndent.h:28
Superclass for algorithms that produce vtkArrayDatas as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkArrayDataAlgorithm * New()
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.