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

mitkCBFDKReconCFGPU.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 __mitkCBFDKReconCFGPU_h
00012 #define __mitkCBFDKReconCFGPU_h
00013 
00014 
00015 #include "mitkConeBeamReconFromHelix.h"
00016 #include "mitkConeBeamPD.h"
00017 #include "mitkVolume.h"
00018 #include "mitkICVolume.h"
00019 #include "mitkOoCVolume.h"
00020 //#include "mitkOpenGLExam.h"
00021 #include "mitkReconstructionCGIncludes.h"
00022 #include "mitkSIMD.h"
00023 #include <math.h>
00024 
00025 #ifdef USE_SIMD
00026 #pragma pack(push,16)    /* Must ensure class & union 16-B aligned */
00027 #endif
00028 
00029 //BP////////////////////////////////////////////////////////////////////////////
00030 /*
00031 #include <GL/glew.h>
00032 #include <GL/glut.h>
00033 #include <Cg/cgGL.h>
00034 #include <math.h>
00035 #include <vector>
00036 
00037 #define TEXTURECHANNEL 8
00038 #define COLORATTACHMENTNUM 2
00039 #define WINDOWSIZE 8
00040 
00041 
00042 
00043 
00044 
00045 
00046 */
00047 
00049 
00053 // using GPU for acceleration, and NVIDIA card is required,  and 8800series or up is better.
00054 // ************************************************************************************************
00055 // This implementation is not our fasted version, if you want to get the fasted one, please mail to
00056 // tian@ieee.org
00057 
00058 
00059 
00060 
00061 class MITK_RECONSTRUCTION_CG_API mitkCBFDKReconCFGPU : public mitkConeBeamReconFromHelix
00062 {
00063 public:
00064     template<class Ty> friend int t_ExecuteCBFDKReconCFGPU(mitkConeBeamPD *input,mitkVolume *outdata,mitkCBFDKReconCFGPU *self, Ty *a);
00065 
00066     MITK_TYPE(mitkCBFDKReconCFGPU , mitkConeBeamReconFromHelix)
00067 
00068     virtual void PrintSelf(ostream& os);
00069     
00070     mitkCBFDKReconCFGPU();
00071     
00072     void SetVolumeBlockNum(int m) { volumeBlockNum = m;}
00073 
00074     int GetVolumeBlockNum(){return volumeBlockNum;}
00075 
00076 
00077 protected:
00078 
00079     virtual ~mitkCBFDKReconCFGPU();
00080     int volumeBlockNum;
00081     int volumeBlockSizeAdd;
00082 
00083     virtual bool Execute();
00084 
00085     mitkCBFDKReconCFGPU(const mitkCBFDKReconCFGPU &);
00086     void operator = (const mitkCBFDKReconCFGPU&);
00087 
00088 };
00089 
00090 //#define DEFINED_mitkCBFDKReconCFGPU
00091 
00092 #endif 
00093 

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