Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkMetaImageWriter.h

00001 /*=========================================================================
00002 
00003   Program:   3DMed
00004   Date:      $Date: 2014-02-25 18:30:00 +0800 $
00005   Version:   $Version: 4.6.0 $
00006   Copyright: MIPG, Institute of Automation, Chinese Academy of Sciences
00007 
00008 =========================================================================*/
00009 
00010 
00011 #ifndef __mitkMetaImageWriter_h
00012 #define __mitkMetaImageWriter_h
00013 
00014 #include "mitkVolumeWriter.h"
00015 
00016 namespace metaio { class MetaImage; } // forward declaration
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     // Specify the file name of the raw image data.
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 //#define DEFINED_mitkMetaImageWriter
00060 
00061 
00062 
00063 #endif
00064 

Generated on Tue Feb 25 15:00:37 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3