VTK
dox/Infovis/vtkSparseArrayToTable.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkSparseArrayToTable.h
00005   
00006 -------------------------------------------------------------------------
00007   Copyright 2008 Sandia Corporation.
00008   Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
00009   the U.S. Government retains certain rights in this software.
00010 -------------------------------------------------------------------------
00011 
00012   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00013   All rights reserved.
00014   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00015 
00016      This software is distributed WITHOUT ANY WARRANTY; without even
00017      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018      PURPOSE.  See the above copyright notice for more information.
00019 
00020 =========================================================================*/
00021 
00043 #ifndef __vtkSparseArrayToTable_h
00044 #define __vtkSparseArrayToTable_h
00045 
00046 #include "vtkTableAlgorithm.h"
00047 
00048 class VTK_INFOVIS_EXPORT vtkSparseArrayToTable : public vtkTableAlgorithm
00049 {
00050 public:
00051   static vtkSparseArrayToTable* New();
00052   vtkTypeMacro(vtkSparseArrayToTable, vtkTableAlgorithm);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056 
00058   vtkGetStringMacro(ValueColumn);
00059   vtkSetStringMacro(ValueColumn);
00061 
00062 protected:
00063   vtkSparseArrayToTable();
00064   ~vtkSparseArrayToTable();
00065 
00066   int FillInputPortInformation(int, vtkInformation*);
00067 
00068   int RequestData(
00069     vtkInformation*, 
00070     vtkInformationVector**, 
00071     vtkInformationVector*);
00072 
00073   char* ValueColumn;
00074 
00075 private:
00076   vtkSparseArrayToTable(const vtkSparseArrayToTable&); // Not implemented
00077   void operator=(const vtkSparseArrayToTable&);   // Not implemented
00078 };
00079 
00080 #endif
00081