VTK
vtkTableToArray.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableToArray.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 
46 #ifndef __vtkTableToArray_h
47 #define __vtkTableToArray_h
48 
49 #include "vtkArrayDataAlgorithm.h"
50 
52 {
53 public:
54  static vtkTableToArray* New();
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
60  void ClearColumns();
63  void AddColumn(const char* name);
66  void AddColumn(vtkIdType index);
68  void AddAllColumns();
69 
70 //BTX
71 protected:
73  ~vtkTableToArray();
74 
76 
77  int RequestData(
81 
82 private:
83  vtkTableToArray(const vtkTableToArray&); // Not implemented
84  void operator=(const vtkTableToArray&); // Not implemented
85 
86  class implementation;
87  implementation* const Implementation;
88 //ETX
89 };
90 
91 #endif
92