00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __mitkRawDataToVolumeFilter_h
00012 #define __mitkRawDataToVolumeFilter_h
00013
00014 #include "mitkFilter.h"
00015 #include "mitkVolume.h"
00016
00017 #include "mitkReconstructionIncludes.h"
00018 #include "mitkOoCGlobalSettings.h"
00019
00031
00032 class MITK_RECONSTRUCTION_API mitkRawDataToVolumeFilter : public mitkFilter
00033 {
00034 public:
00035 MITK_TYPE(mitkRawDataToVolumeFilter, mitkFilter)
00036
00037 virtual void PrintSelf(ostream &os);
00038
00043 virtual mitkVolume* GetOutput()=0;
00044
00053 void SetOoCSupport(char const *diskPath=mitkOoCGlobalSettings::DiskCachePath, unsigned int bufSliceNum = mitkOoCGlobalSettings::BufferedSliceNumber, bool supportOoC = true);
00054
00055 unsigned int GetBufferSliceNum() const {return m_BufferedSliceNum;}
00056
00057 mitkString* GetDiskPath() const {return m_DiskPath;}
00058
00059
00060
00061 protected:
00062 virtual ~mitkRawDataToVolumeFilter();
00063 mitkRawDataToVolumeFilter();
00064
00065 mitkString *m_DiskPath;
00066 unsigned int m_BufferedSliceNum;
00067 bool m_NeedOoC;
00068 mitkVolume *m_OutData;
00069
00070 private:
00071 mitkRawDataToVolumeFilter(const mitkRawDataToVolumeFilter&);
00072 void operator = (const mitkRawDataToVolumeFilter&);
00073
00074 };
00075
00076
00077
00078
00079
00080
00081 #endif
00082