VTK
vtkTableToSparseArray.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableToSparseArray.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 
51 #ifndef __vtkTableToSparseArray_h
52 #define __vtkTableToSparseArray_h
53 
54 #include "vtkArrayDataAlgorithm.h"
55 
57 {
58 public:
59  static vtkTableToSparseArray* New();
61  void PrintSelf(ostream& os, vtkIndent indent);
62 
64 
66  void ClearCoordinateColumns();
67  void AddCoordinateColumn(const char* name);
69 
71 
73  void SetValueColumn(const char* name);
74  const char* GetValueColumn();
76 
78 
79  void ClearOutputExtents();
80  void SetOutputExtents(const vtkArrayExtents& extents);
82 
83 //BTX
84 protected:
87 
89 
90  int RequestData(
94 
95 private:
96  vtkTableToSparseArray(const vtkTableToSparseArray&); // Not implemented
97  void operator=(const vtkTableToSparseArray&); // Not implemented
98 
99  class implementation;
100  implementation* const Implementation;
101 //ETX
102 };
103 
104 #endif
105