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

mitkCUDAROIDistanceRayCasterParam.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 __mitkCUDAROIDistanceRayCasterParam_h
00011 #define __mitkCUDAROIDistanceRayCasterParam_h
00012 
00013 #include "mitkCUDAVolumeRenderingIncludes.h"
00014 
00015 struct cudaArray;
00016 class mitkLut1D;
00017 
00018 class MITK_CUDA_VOLUME_RENDERING_API mitkCUDAROIDistanceRayCasterParam
00019 {
00020 public:
00021     mitkCUDAROIDistanceRayCasterParam();
00022     ~mitkCUDAROIDistanceRayCasterParam();
00023 
00024     float m_Isovalue_bg;
00025     
00026     float m_IsoDistance;
00027     float m_SurfaceColor[4];
00028 
00030     int m_dcm_sample_number;
00031     float m_min_dis,m_max_dis;
00032     cudaArray* m_d_dcmArray;
00033 
00034     void SetDistanceColorMap(int sampleNumber, float minV, float maxV, float* rgbColorArray, float alpha);
00035     void SetDistanceColorMap(const mitkLut1D* Lut);
00036 
00037 private:
00038     void _SetDistanceColorMap(int sampleNumber, float minV, float maxV, float* rgbaColorArray);
00039 
00040     
00041 };
00042 
00043 
00044 #endif

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