VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTableWriter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00027 #ifndef __vtkTableWriter_h 00028 #define __vtkTableWriter_h 00029 00030 #include "vtkIOLegacyModule.h" // For export macro 00031 #include "vtkDataWriter.h" 00032 class vtkTable; 00033 00034 class VTKIOLEGACY_EXPORT vtkTableWriter : public vtkDataWriter 00035 { 00036 public: 00037 static vtkTableWriter *New(); 00038 vtkTypeMacro(vtkTableWriter,vtkDataWriter); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 00043 vtkTable* GetInput(); 00044 vtkTable* GetInput(int port); 00046 00047 protected: 00048 vtkTableWriter() {}; 00049 ~vtkTableWriter() {}; 00050 00051 void WriteData(); 00052 00053 virtual int FillInputPortInformation(int port, vtkInformation *info); 00054 00055 private: 00056 vtkTableWriter(const vtkTableWriter&); // Not implemented. 00057 void operator=(const vtkTableWriter&); // Not implemented. 00058 }; 00059 00060 #endif