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

mitkCUDAGridPartition.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 #ifndef __mitkCUDAGridPartition_h
00011 #define __mitkCUDAGridPartition_h
00012 
00013 #include "mitkCUDAVolumeRenderingIncludes.h"
00014 
00015 class mitkCUDAVolumeTexture;
00016 struct cudaArray;
00017 struct cudaPitchedPtr;
00018 class MITK_CUDA_VOLUME_RENDERING_API mitkCUDAGridPartition
00019 {
00020 public:
00021     int m_bsizeX,m_bsizeY,m_bsizeZ;
00022     int m_bnumX,m_bnumY,m_bnumZ;
00023 
00024     cudaArray *m_d_MinMaxArray; 
00025 
00026     mitkCUDAGridPartition();
00027     ~mitkCUDAGridPartition();
00028     
00029     void Init(mitkCUDAVolumeTexture *volume, int bsizeX, int bsizeY, int bsizeZ);
00030     void Init(mitkCUDAVolumeTexture *volume, float blockLogRate);
00031 
00032 private:
00033     void _calculateMinMax(cudaPitchedPtr d_MinMax,mitkCUDAVolumeTexture *volume);
00034 };
00035 
00036 
00037 #endif

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