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

vtkMetaImageWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMetaImageWriter.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 =========================================================================*/
00064 #ifndef __vtkMetaImageWriter_h
00065 #define __vtkMetaImageWriter_h
00066 
00067 #include "vtkImageWriter.h"
00068 
00069 class VTK_IO_EXPORT vtkMetaImageWriter : public vtkImageWriter
00070 {
00071 public:
00072   vtkTypeRevisionMacro(vtkMetaImageWriter,vtkImageWriter);
00073   void PrintSelf(ostream& os, vtkIndent indent);
00074 
00076   static vtkMetaImageWriter *New();
00077 
00079 
00080   virtual void SetFileName(const char* fname);
00081   virtual char* GetFileName() { return this->MHDFileName; }
00083 
00085 
00086   virtual void SetRAWFileName(const char* fname);
00087   virtual char* GetRAWFileName();
00089 
00090   // This is called by the superclass.
00091   // This is the method you should override.
00092   virtual int RequestData(vtkInformation *request,
00093                           vtkInformationVector** inputVector,
00094                           vtkInformationVector* outputVector);
00095 
00096 protected:
00097   vtkMetaImageWriter();
00098   ~vtkMetaImageWriter();
00099 
00100   vtkSetStringMacro(MHDFileName);
00101   char* MHDFileName;
00102 
00103 private:
00104   vtkMetaImageWriter(const vtkMetaImageWriter&);  // Not implemented.
00105   void operator=(const vtkMetaImageWriter&);  // Not implemented.
00106 };
00107 
00108 #endif
00109 
00110 
00111 

Generated on Mon Jan 21 23:07:31 2008 for VTK by  doxygen 1.4.3-20050530