00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __mitkMetaImageWriter_h
00012 #define __mitkMetaImageWriter_h
00013
00014 #include "mitkVolumeWriter.h"
00015
00016 namespace metaio { class MetaImage; }
00017
00022 class MITK_COMMON_API mitkMetaImageWriter : public mitkVolumeWriter
00023 {
00024 public:
00025 MITK_TYPE(mitkMetaImageWriter, mitkVolumeWriter)
00026
00027 virtual void PrintSelf(ostream &os);
00028
00029 mitkMetaImageWriter();
00030
00031
00032 void SetRAWFileName(const char* fname);
00033 const char* GetRAWFileName();
00034
00035 void SetCompression( bool compress ) { this->Compress = compress; }
00036 bool GetCompression() { return this->Compress; }
00037
00038 void SetFileDimensionality(int d) { FileDimensionality = d; }
00039 int GetFileDimensionality() { return FileDimensionality; }
00040
00041 protected:
00042 virtual ~mitkMetaImageWriter();
00043
00044 virtual bool Execute();
00045
00046 private:
00047 mitkMetaImageWriter(const mitkMetaImageWriter&);
00048 void operator = (const mitkMetaImageWriter&);
00049
00050 metaio::MetaImage * MetaImagePtr;
00051
00052 const char* RAWFileName;
00053 bool Compress;
00054 int FileLowerLeft;
00055 int FileDimensionality;
00056 };
00057
00058
00059
00060
00061
00062
00063 #endif
00064