VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPostScriptWriter.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 =========================================================================*/ 00027 #ifndef __vtkPostScriptWriter_h 00028 #define __vtkPostScriptWriter_h 00029 00030 #include "vtkIOImageModule.h" // For export macro 00031 #include "vtkImageWriter.h" 00032 00033 class VTKIOIMAGE_EXPORT vtkPostScriptWriter : public vtkImageWriter 00034 { 00035 public: 00036 static vtkPostScriptWriter *New(); 00037 vtkTypeMacro(vtkPostScriptWriter,vtkImageWriter); 00038 virtual void PrintSelf(ostream& os, vtkIndent indent); 00039 00040 protected: 00041 vtkPostScriptWriter() {} 00042 ~vtkPostScriptWriter() {} 00043 00044 virtual void WriteFile( 00045 ofstream *file, vtkImageData *data, int extent[6], int wExt[6]); 00046 virtual void WriteFileHeader(ofstream *, vtkImageData *, int wExt[6]); 00047 virtual void WriteFileTrailer(ofstream *, vtkImageData *); 00048 private: 00049 vtkPostScriptWriter(const vtkPostScriptWriter&); // Not implemented. 00050 void operator=(const vtkPostScriptWriter&); // Not implemented. 00051 }; 00052 00053 #endif 00054 00055