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

dox/IO/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 00091 virtual void Write(); 00092 00093 protected: 00094 vtkMetaImageWriter(); 00095 ~vtkMetaImageWriter(); 00096 00097 vtkSetStringMacro(MHDFileName); 00098 char* MHDFileName; 00099 00100 private: 00101 vtkMetaImageWriter(const vtkMetaImageWriter&); // Not implemented. 00102 void operator=(const vtkMetaImageWriter&); // Not implemented. 00103 }; 00104 00105 #endif 00106 00107 00108