00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkGenericDataObjectWriter.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 =========================================================================*/ 00025 #ifndef __vtkGenericDataObjectWriter_h 00026 #define __vtkGenericDataObjectWriter_h 00027 00028 #include "vtkDataWriter.h" 00029 00030 class VTK_IO_EXPORT vtkGenericDataObjectWriter : public vtkDataWriter 00031 { 00032 public: 00033 static vtkGenericDataObjectWriter *New(); 00034 vtkTypeMacro(vtkGenericDataObjectWriter,vtkDataWriter); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 00037 protected: 00038 vtkGenericDataObjectWriter(); 00039 ~vtkGenericDataObjectWriter(); 00040 00041 void WriteData(); 00042 virtual int FillInputPortInformation(int port, vtkInformation *info); 00043 00044 private: 00045 vtkGenericDataObjectWriter(const vtkGenericDataObjectWriter&); // Not implemented. 00046 void operator=(const vtkGenericDataObjectWriter&); // Not implemented. 00047 }; 00048 00049 #endif