VTK  9.0.1
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 -------------------------------------------------------------------------*/
29 #ifndef vtkDataObjectToTable_h
30 #define vtkDataObjectToTable_h
31 
32 #include "vtkInfovisCoreModule.h" // For export macro
33 #include "vtkTableAlgorithm.h"
34 
35 class VTKINFOVISCORE_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
36 {
37 public:
38  static vtkDataObjectToTable* New();
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
42  enum
43  {
44  FIELD_DATA = 0,
45  POINT_DATA = 1,
46  CELL_DATA = 2,
47  VERTEX_DATA = 3,
48  EDGE_DATA = 4
49  };
50 
52 
56  vtkGetMacro(FieldType, int);
57  vtkSetClampMacro(FieldType, int, 0, 4);
59 
60 protected:
62  ~vtkDataObjectToTable() override;
63 
65 
67 
68  int FieldType;
69 
70 private:
72  void operator=(const vtkDataObjectToTable&) = delete;
73 };
74 
75 #endif
vtkTableAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkTableAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkTableAlgorithm.h
vtkDataObjectToTable
extract field data as a table
Definition: vtkDataObjectToTable.h:35
vtkDataObjectToTable::FieldType
int FieldType
Definition: vtkDataObjectToTable.h:68
vtkTableAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTableAlgorithm::New
static vtkTableAlgorithm * New()