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

mitkVRImage.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 __mitkVRImage_h
00011 #define __mitkVRImage_h
00012 
00013 #include "mitkVisualization2Includes.h"
00014 
00015 class mitkVR_PBO;
00016 class MITK_VISUALIZATION2_API mitkVRImage
00017 {
00018 public:
00019     mitkVRImage();
00020     ~mitkVRImage();
00021 
00022     int m_Size[2];
00023     int m_Origin[2];
00024     float *m_Data;
00025 
00027 
00028     void Allocate();
00029     void Render() const;
00030 
00032 
00033     void AllocateByPBO();
00034     void PrepareDataPtr();
00035     void CleanDataPtr();
00036     void RenderByPBO() const;
00037 
00038 private:
00039     mitkVR_PBO* m_pbo;
00040 };
00041 
00042 #endif 

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