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

vtkBMPWriter.h

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