00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __mitkVRSceneParam_h
00011 #define __mitkVRSceneParam_h
00012
00013 #include "mitkVisualization2Includes.h"
00014 #include "mitkVis2Matrix4x4.h"
00015
00016 class MITK_VISUALIZATION2_API mitkVRSceneParam
00017 {
00018 public:
00019 mitkVis2Matrix4x4 m_PixelsToModelMatrix;
00020 mitkVis2Matrix4x4 m_ModelToVolumeMatrix;
00021
00022 float m_CroppingBounds[6];
00023
00024 mitkVRSceneParam();
00025 ~mitkVRSceneParam();
00026
00027 void CalculateVRSceneParamAndImageRegion(const int viewportSize[2], const int volDims[3],
00028 const float volSpacings[3], const mitkVis2Matrix4x4& ViewMatrix, const mitkVis2Matrix4x4& ProjectionMatrix,
00029 int imageOrigin[2], int imageSize[2]);
00030
00031 };
00032
00033 #endif