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

mitkGLSLVRSceneParam.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 __mitkGLSLVRSceneParam_h
00011 #define __mitkGLSLVRSceneParam_h
00012 
00013 #include "mitkVisualization2Includes.h"
00014 #include "mitkVis2Matrix4x4.h"
00015 
00016 class MITK_VISUALIZATION2_API mitkGLSLVRSceneParam
00017 {
00018 public:
00019     mitkVis2Matrix4x4 m_PixelsToModelMatrix;
00020     mitkVis2Matrix4x4 m_ModelToTextureMatrix;
00021 
00022     mitkVis2Matrix4x4 m_PixelsToViewMatrix;
00023 
00024     int m_ImageInUseSize[2];
00025     int m_ImageOrigin[2];
00026 
00027     mitkGLSLVRSceneParam();
00028     ~mitkGLSLVRSceneParam();
00029 
00030     void CalculateVRSceneParamAndImageRegion(const int viewportSize[2], const int volDims[3],
00031     const float volSpacings[3], const mitkVis2Matrix4x4& ViewMatrix, const mitkVis2Matrix4x4& ProjectionMatrix);
00032 
00033 };
00034 
00035 #endif

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