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