00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkIVWriter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00046 #ifndef __vtkIVWriter_h 00047 #define __vtkIVWriter_h 00048 00049 #include "vtkPolyDataWriter.h" 00050 00051 class VTK_IO_EXPORT vtkIVWriter : public vtkPolyDataWriter 00052 { 00053 public: 00054 static vtkIVWriter *New(); 00055 vtkTypeRevisionMacro(vtkIVWriter,vtkPolyDataWriter); 00056 virtual void PrintSelf(ostream& os, vtkIndent indent); 00057 00058 protected: 00059 vtkIVWriter() {}; 00060 ~vtkIVWriter() {}; 00061 00062 void WriteData(); 00063 void WritePolyData(vtkPolyData *polyData, FILE *fp); 00064 private: 00065 vtkIVWriter(const vtkIVWriter&); // Not implemented. 00066 void operator=(const vtkIVWriter&); // Not implemented. 00067 }; 00068 00069 #endif 00070