VTK  9.4.20241123
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
31#include "vtkInfovisCoreModule.h" // For export macro
32
33VTK_ABI_NAMESPACE_BEGIN
34class VTKINFOVISCORE_EXPORT vtkTableToArray : public vtkArrayDataAlgorithm
35{
36public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
50 void AddColumn(const char* name);
55 void AddColumn(vtkIdType index);
60
61protected:
63 ~vtkTableToArray() override;
64
66
68
69private:
70 vtkTableToArray(const vtkTableToArray&) = delete;
71 void operator=(const vtkTableToArray&) = delete;
72
73 class implementation;
74 implementation* const Implementation;
75};
76
77VTK_ABI_NAMESPACE_END
78#endif
Superclass for algorithms that produce vtkArrayDatas as output.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
converts a vtkTable to a matrix.
static vtkTableToArray * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddColumn(const char *name)
Add a column by name to the list of input table columns that will be mapped to columns in the output ...
void ClearColumns()
Reset the list of input table columns that will be mapped to columns in the output matrix.
~vtkTableToArray() override
void AddColumn(vtkIdType index)
Add a column by index to the list of input table columns that will be mapped to columns in the output...
void AddAllColumns()
Add every input table column to the output matrix.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
int vtkIdType
Definition vtkType.h:315