vtkMetaImageReader.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00074 #ifndef __vtkMetaImageReader_h
00075 #define __vtkMetaImageReader_h
00076
00077 #include "vtkImageReader.h"
00078
00079 class VTK_IO_EXPORT vtkMetaImageReader : public vtkImageReader
00080 {
00081 public:
00082 vtkTypeRevisionMacro(vtkMetaImageReader,vtkImageReader);
00083 void PrintSelf(ostream& os, vtkIndent indent);
00084
00086 static vtkMetaImageReader *New();
00087
00089
00090 virtual void SetFileName(const char* fname);
00091 virtual char* GetFileName() { return this->MHDFileName; }
00093
00095 virtual int CanReadFile(const char* name);
00096
00097 protected:
00098 vtkMetaImageReader();
00099 ~vtkMetaImageReader();
00100
00101 void ExecuteInformation();
00102 int GetFileInformation(const char* fname, int populate);
00103
00104 vtkSetStringMacro(MHDFileName);
00105 char* MHDFileName;
00106
00107 private:
00108 vtkMetaImageReader(const vtkMetaImageReader&);
00109 void operator=(const vtkMetaImageReader&);
00110 };
00111
00112 #endif
00113
00114
00115