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

mitkBMPWriter.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 __mitkBMPWriter_h
00012 #define __mitkBMPWriter_h
00013 
00014 #include "mitkVolumeWriter.h"
00015 
00031 class MITK_COMMON_API mitkBMPWriter : public mitkVolumeWriter
00032 {
00033 public:
00034     MITK_TYPE(mitkBMPWriter,mitkVolumeWriter)
00035     
00036     virtual void PrintSelf(ostream& os);
00037     
00038     mitkBMPWriter();    
00039 
00040 protected:
00041     virtual ~mitkBMPWriter();       
00042     
00043     virtual bool Execute();
00044     
00045     #pragma pack(2)
00046     typedef struct  tagBITMAPFILEHEADER
00047     {
00048         unsigned short  bfType; 
00049         unsigned long   bfSize; 
00050         unsigned short  bfReserved1; 
00051         unsigned short  bfReserved2; 
00052         unsigned long   bfOffBits;
00053         unsigned long   biSize;
00054         unsigned long   biWidth;
00055         unsigned long   biHeight;
00056         unsigned short  biPlanes;
00057         unsigned short  biBitCount;
00058         unsigned long   biCompression;
00059         unsigned long   biSizeImage;
00060         unsigned long   biXPelsPerMeter;
00061         unsigned long   biYPelsPerMeter;
00062         unsigned long   biClrUsed;
00063         unsigned long   biClrImportant;
00064     }   BITMAPFILEHEADER; 
00065     #pragma pack()
00066 private:
00067     mitkBMPWriter(const mitkBMPWriter&){};
00068     void operator=(const mitkBMPWriter&){};
00069 
00070 };
00071 
00072 
00073 #endif
00074 

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