VTK
|
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 "vtkIOLegacyModule.h" // For export macro 00029 #include "vtkDataWriter.h" 00030 00031 class VTKIOLEGACY_EXPORT vtkGenericDataObjectWriter : public vtkDataWriter 00032 { 00033 public: 00034 static vtkGenericDataObjectWriter *New(); 00035 vtkTypeMacro(vtkGenericDataObjectWriter,vtkDataWriter); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00038 protected: 00039 vtkGenericDataObjectWriter(); 00040 ~vtkGenericDataObjectWriter(); 00041 00042 void WriteData(); 00043 virtual int FillInputPortInformation(int port, vtkInformation *info); 00044 00045 private: 00046 vtkGenericDataObjectWriter(const vtkGenericDataObjectWriter&); // Not implemented. 00047 void operator=(const vtkGenericDataObjectWriter&); // Not implemented. 00048 }; 00049 00050 #endif