00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __mitkGLSLVolumeTexture_h
00011 #define __mitkGLSLVolumeTexture_h
00012
00013 #include "mitkVisualization2Includes.h"
00014
00015 class mitkICVolume;
00016 class MITK_VISUALIZATION2_API mitkGLSLVolumeTexture
00017 {
00018 public:
00019 unsigned m_VolTexture;
00020 unsigned m_ActiveTextureID;
00021
00022 int m_Dims[3];
00023 float m_Spacings[3];
00024 float m_grey_scale;
00025 float m_grey_shift;
00026
00027 mitkGLSLVolumeTexture();
00028 ~mitkGLSLVolumeTexture();
00029 void CopyToTexture(mitkICVolume* vol,unsigned activeTextureID);
00030 };
00031
00032
00033 #endif