VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkArrayToTable.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArrayToTable.h
5 
6 -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10 -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
33 #ifndef __vtkArrayToTable_h
34 #define __vtkArrayToTable_h
35 
36 #include "vtkInfovisCoreModule.h" // For export macro
37 #include "vtkTableAlgorithm.h"
38 
39 class VTKINFOVISCORE_EXPORT vtkArrayToTable : public vtkTableAlgorithm
40 {
41 public:
42  static vtkArrayToTable* New();
43  vtkTypeMacro(vtkArrayToTable, vtkTableAlgorithm);
44  void PrintSelf(ostream& os, vtkIndent indent);
45 
46 protected:
48  ~vtkArrayToTable();
49 
50  int FillInputPortInformation(int, vtkInformation*);
51 
52  int RequestData(
53  vtkInformation*,
54  vtkInformationVector**,
55  vtkInformationVector*);
56 
57 private:
58  vtkArrayToTable(const vtkArrayToTable&); // Not implemented
59  void operator=(const vtkArrayToTable&); // Not implemented
60 };
61 
62 #endif
63 
Converts one- and two-dimensional vtkArrayData objects to vtkTable.