VTK  9.3.20240328
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 
20 VTK_ABI_NAMESPACE_BEGIN
22  VTKINFOVISCORE_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
23 {
24 public:
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 
47 protected:
50 
52 
54 
55  int FieldType;
56 
57 private:
59  void operator=(const vtkDataObjectToTable&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
this filter produces a vtkTable from the chosen attribute in the input data object.
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.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
#define VTK_DEPRECATED_IN_9_3_0(reason)