00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkIVWriter.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 =========================================================================*/ 00028 #ifndef __vtkIVWriter_h 00029 #define __vtkIVWriter_h 00030 00031 #include "vtkPolyDataWriter.h" 00032 00033 class VTK_IO_EXPORT vtkIVWriter : public vtkPolyDataWriter 00034 { 00035 public: 00036 static vtkIVWriter *New(); 00037 vtkTypeMacro(vtkIVWriter,vtkPolyDataWriter); 00038 virtual void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 protected: 00041 vtkIVWriter() {}; 00042 ~vtkIVWriter() {}; 00043 00044 void WriteData(); 00045 void WritePolyData(vtkPolyData *polyData, FILE *fp); 00046 private: 00047 vtkIVWriter(const vtkIVWriter&); // Not implemented. 00048 void operator=(const vtkIVWriter&); // Not implemented. 00049 }; 00050 00051 #endif 00052