00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __mitkRawFilesWriter_h
00012 #define __mitkRawFilesWriter_h
00013
00014 #include "mitkVolumeWriter.h"
00015
00036 class MITK_COMMON_API mitkRawFilesWriter : public mitkVolumeWriter
00037 {
00038 public:
00039 MITK_TYPE(mitkRawFilesWriter, mitkVolumeWriter)
00040
00041 virtual void PrintSelf(ostream &os);
00042
00043 mitkRawFilesWriter();
00044
00049 void SetEndian(bool isBig = false) { m_IsBigEndian = isBig; }
00050
00054 void SetBigEndian(bool isBig = true) { this->SetEndian(isBig); }
00055
00059 void SetLittleEndian(bool isBig = false) { this->SetEndian(isBig); }
00060
00069 void SetPlanarCfg(bool isColorByPlane) { m_IsColorByPlane = isColorByPlane; }
00070
00078 void SetTitleBytes(int n) { m_TitleBytes = n; }
00079
00080 protected:
00081 virtual ~mitkRawFilesWriter();
00082
00083
00084
00085 virtual bool Execute();
00086
00087 bool m_IsBigEndian;
00088 bool m_IsColorByPlane;
00089 int m_TitleBytes;
00090
00091 private:
00092 mitkRawFilesWriter(const mitkRawFilesWriter&);
00093 void operator = (const mitkRawFilesWriter&);
00094
00095 };
00096
00097
00098
00099
00100 #endif
00101