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

mitkRawFilesWriter.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 __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     // Overriding.
00084     // Execute the reading operation.
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 //#define DEFINED_mitkRawFilesWriter
00099 
00100 #endif
00101 

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