VTK  9.3.20240422
vtkDataObjectToTable.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
13#ifndef vtkDataObjectToTable_h
14#define vtkDataObjectToTable_h
15
16#include "vtkDeprecation.h" // For deprecation macros
17#include "vtkInfovisCoreModule.h" // For export macro
18#include "vtkTableAlgorithm.h"
19
20VTK_ABI_NAMESPACE_BEGIN
21class VTK_DEPRECATED_IN_9_3_0("Use vtkAttributeDataToTableFilter instead of vtkDataObjectToTable.")
22 VTKINFOVISCORE_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
29 enum
30 {
31 FIELD_DATA = 0,
32 POINT_DATA = 1,
33 CELL_DATA = 2,
34 VERTEX_DATA = 3,
35 EDGE_DATA = 4
36 };
37
39
43 vtkGetMacro(FieldType, int);
44 vtkSetClampMacro(FieldType, int, 0, 4);
46
47protected:
50
51 int FillInputPortInformation(int port, vtkInformation* info) override;
52
54
56
57private:
59 void operator=(const vtkDataObjectToTable&) = delete;
60};
61
62VTK_ABI_NAMESPACE_END
63#endif
extract field data as a table
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.
static vtkDataObjectToTable * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkDataObjectToTable() override
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkTables as output.
#define VTK_DEPRECATED_IN_9_3_0(reason)