VTK  9.1.0
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 -------------------------------------------------------------------------*/
58 #ifndef vtkDataObjectToTable_h
59 #define vtkDataObjectToTable_h
60 
61 #include "vtkInfovisCoreModule.h" // For export macro
62 #include "vtkTableAlgorithm.h"
63 
64 class VTKINFOVISCORE_EXPORT vtkDataObjectToTable : public vtkTableAlgorithm
65 {
66 public:
69  void PrintSelf(ostream& os, vtkIndent indent) override;
70 
71  enum
72  {
73  FIELD_DATA = 0,
74  POINT_DATA = 1,
75  CELL_DATA = 2,
76  VERTEX_DATA = 3,
77  EDGE_DATA = 4
78  };
79 
81 
85  vtkGetMacro(FieldType, int);
86  vtkSetClampMacro(FieldType, int, 0, 4);
88 
89 protected:
92 
94 
96 
97  int FieldType;
98 
99 private:
101  void operator=(const vtkDataObjectToTable&) = delete;
102 };
103 
104 #endif
vtkDataObjectToTable::New
static vtkDataObjectToTable * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkDataObjectToTable::vtkDataObjectToTable
vtkDataObjectToTable()
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:49
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkDataObjectToTable::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataObjectToTable::~vtkDataObjectToTable
~vtkDataObjectToTable() override
vtkDataObjectToTable::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkDataObjectToTable::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTableAlgorithm.h
vtkDataObjectToTable
extract field data as a table
Definition: vtkDataObjectToTable.h:65
vtkDataObjectToTable::FieldType
int FieldType
Definition: vtkDataObjectToTable.h:97