00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __mitkCUDAEndoscopySliceRendering_h
00011 #define __mitkCUDAEndoscopySliceRendering_h
00012
00013 #include "mitkCUDAVolumeRenderingIncludes.h"
00014 #include "mitkVis2Matrix4x4.h"
00015
00016 class mitkCUDAVolumeTexture;
00017 class mitkCUDAVRImage;
00018
00019 class MITK_CUDA_VOLUME_RENDERING_API mitkCUDAEndoscopySliceRendering
00020 {
00021 public:
00022 mitkCUDAEndoscopySliceRendering();
00023 ~mitkCUDAEndoscopySliceRendering();
00024
00025 mitkCUDAVolumeTexture* m_Volume;
00026 mitkCUDAVRImage *m_VRImage;
00027 float m_PixelsToVoxelMatrix[9];
00028 void CalculatePixelToVoxelMatrix(bool Horizontial, float GridSpacing, mitkVis2Matrix4x4 ViewMatrix);
00029
00030 int m_CudaBlockSize;
00031
00032 float m_windowWidth;
00033 float m_windowCenter;
00034
00035 float m_CroppingBounds[6];
00036
00037 void Render();
00038 };
00039
00040 #endif