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