VTK  9.2.5
vtkDataObjectToTable.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataObjectToTable.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
64 #ifndef vtkDataObjectToTable_h
65 #define vtkDataObjectToTable_h
66 
67 #include "vtkInfovisCoreModule.h" // For export macro
68 #include "vtkTableAlgorithm.h"
69 
70 class VTKINFOVISCORE_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
71 {
72 public:
75  void PrintSelf(ostream& os, vtkIndent indent) override;
76 
77  enum
78  {
79  FIELD_DATA = 0,
80  POINT_DATA = 1,
81  CELL_DATA = 2,
82  VERTEX_DATA = 3,
83  EDGE_DATA = 4
84  };
85 
87 
91  vtkGetMacro(FieldType, int);
92  vtkSetClampMacro(FieldType, int, 0, 4);
94 
95 protected:
98 
100 
102 
104 
105 private:
107  void operator=(const vtkDataObjectToTable&) = delete;
108 };
109 
110 #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:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only vtkTables as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453