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

dox/IO/vtkMetaImageReader.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkMetaImageReader.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 __vtkMetaImageReader_h 00065 #define __vtkMetaImageReader_h 00066 00067 #include "vtkImageReader.h" 00068 00069 class VTK_IO_EXPORT vtkMetaImageReader : public vtkImageReader 00070 { 00071 public: 00072 vtkTypeRevisionMacro(vtkMetaImageReader,vtkImageReader); 00073 void PrintSelf(ostream& os, vtkIndent indent); 00074 00076 static vtkMetaImageReader *New(); 00077 00079 00080 virtual void SetFileName(const char* fname); 00081 virtual char* GetFileName() { return this->MHDFileName; } 00083 00085 virtual int CanReadFile(const char* name); 00086 00087 protected: 00088 vtkMetaImageReader(); 00089 ~vtkMetaImageReader(); 00090 00091 void ExecuteInformation(); 00092 00093 vtkSetStringMacro(MHDFileName); 00094 char* MHDFileName; 00095 00096 private: 00097 vtkMetaImageReader(const vtkMetaImageReader&); // Not implemented. 00098 void operator=(const vtkMetaImageReader&); // Not implemented. 00099 }; 00100 00101 #endif 00102 00103 00104