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

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 =========================================================================*/
00043 #ifndef __vtkPostScriptWriter_h
00044 #define __vtkPostScriptWriter_h
00045 
00046 #include "vtkImageWriter.h"
00047 
00048 class VTK_IO_EXPORT vtkPostScriptWriter : public vtkImageWriter
00049 {
00050 public:
00051   static vtkPostScriptWriter *New();
00052   vtkTypeRevisionMacro(vtkPostScriptWriter,vtkImageWriter);
00053   virtual void PrintSelf(ostream& os, vtkIndent indent);
00054 
00055 protected:
00056   vtkPostScriptWriter() {};
00057   ~vtkPostScriptWriter() {};
00058 
00059   virtual void WriteFile(ofstream *file, vtkImageData *data, int extent[6]);
00060   virtual void WriteFileHeader(ofstream *, vtkImageData *);
00061   virtual void WriteFileTrailer(ofstream *, vtkImageData *);
00062 private:
00063   vtkPostScriptWriter(const vtkPostScriptWriter&);  // Not implemented.
00064   void operator=(const vtkPostScriptWriter&);  // Not implemented.
00065 };
00066 
00067 #endif
00068 
00069