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

mitkPhantomToVolumeFilter.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 __mitkPhantomToVolumeFilter_h
00012 #define __mitkPhantomToVolumeFilter_h
00013 
00014 #include "mitkFilter.h"
00015 #include "mitkRCPtr.h"
00016 #include "mitkVolume.h"
00017 #include "mitkPhantom.h"
00018 #include "mitkOoCGlobalSettings.h"
00019 
00020 class mitkPhantomToVolumeFilter : public mitkFilter  
00021 {
00022 public:
00023 
00024     MITK_TYPE(mitkPhantomToVolumeFilter, mitkFilter)
00025     virtual void PrintSelf(ostream &os);
00026 
00027     mitkPhantomToVolumeFilter();
00028 
00033     void SetInput(mitkPhantom *inData) {m_InData = inData;}
00034 
00039     mitkPhantom* GetInput() {return m_InData;}
00040 
00045     int GetSize() {return m_Size;}
00046 
00051     void SetSize(int size) {m_Size = size;}
00052 
00062     void SetOoCSupport(char const *diskPath=mitkOoCGlobalSettings::DiskCachePath, unsigned int bufSliceNum = mitkOoCGlobalSettings::BufferedSliceNumber, bool supportOoC = true);
00063 
00068     mitkVolume* GetOutput();
00069 
00070 
00071 
00072 protected:
00073     virtual ~mitkPhantomToVolumeFilter();
00074     virtual bool Execute();
00075 
00076     mitkRCPtr<mitkPhantom> m_InData;
00077     mitkVolume *m_OutData;
00078 
00079     mitkString *m_DiskPath;
00080     unsigned int m_BufferedSliceNum;
00081     bool m_NeedOoC;
00082 
00083     int m_Size;
00084 
00085 private:
00086     mitkPhantomToVolumeFilter(const mitkPhantomToVolumeFilter&);
00087     void operator=(const mitkPhantomToVolumeFilter&);
00088 
00089 
00090 };
00091 
00092 
00093 
00094 //#define DEFINED_mitkPhantomToVolumeFilter
00095 
00096 
00097 
00098 #endif
00099 

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