Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/IO/vtkPostScriptWriter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPostScriptWriter.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 =========================================================================*/ 00031 #ifndef __vtkPostScriptWriter_h 00032 #define __vtkPostScriptWriter_h 00033 00034 #include "vtkImageWriter.h" 00035 00036 class VTK_IO_EXPORT vtkPostScriptWriter : public vtkImageWriter 00037 { 00038 public: 00039 static vtkPostScriptWriter *New(); 00040 vtkTypeRevisionMacro(vtkPostScriptWriter,vtkImageWriter); 00041 virtual void PrintSelf(ostream& os, vtkIndent indent); 00042 00043 protected: 00044 vtkPostScriptWriter() {}; 00045 ~vtkPostScriptWriter() {}; 00046 00047 virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]); 00048 virtual void WriteFileHeader(ofstream *, vtkImageData *); 00049 virtual void WriteFileTrailer(ofstream *, vtkImageData *); 00050 private: 00051 vtkPostScriptWriter(const vtkPostScriptWriter&); // Not implemented. 00052 void operator=(const vtkPostScriptWriter&); // Not implemented. 00053 }; 00054 00055 #endif 00056 00057