VTK
|
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 "vtkInfovisCoreModule.h" // For export macro 00047 #include "vtkTableAlgorithm.h" 00048 00049 class VTKINFOVISCORE_EXPORT vtkSparseArrayToTable : public vtkTableAlgorithm 00050 { 00051 public: 00052 static vtkSparseArrayToTable* New(); 00053 vtkTypeMacro(vtkSparseArrayToTable, vtkTableAlgorithm); 00054 void PrintSelf(ostream& os, vtkIndent indent); 00055 00057 00059 vtkGetStringMacro(ValueColumn); 00060 vtkSetStringMacro(ValueColumn); 00062 00063 protected: 00064 vtkSparseArrayToTable(); 00065 ~vtkSparseArrayToTable(); 00066 00067 int FillInputPortInformation(int, vtkInformation*); 00068 00069 int RequestData( 00070 vtkInformation*, 00071 vtkInformationVector**, 00072 vtkInformationVector*); 00073 00074 char* ValueColumn; 00075 00076 private: 00077 vtkSparseArrayToTable(const vtkSparseArrayToTable&); // Not implemented 00078 void operator=(const vtkSparseArrayToTable&); // Not implemented 00079 }; 00080 00081 #endif 00082