Eigene Dateien/FlowVis/src/VImage.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #ifndef __v_image_h
00004 #define __v_image_h
00005 
00006 #include <string>
00007 
00011 class VImage
00012 {
00013 public:
00014 
00018         VImage() : m_ImageHandle(0)
00019         {
00020 
00021         }
00022 
00026         ~VImage()
00027         {
00028                 deleteImage();
00029         }
00030 
00036         bool loadImage(std::string filename);
00037 
00042         unsigned int getImageHandle()
00043         {
00044                 return m_ImageHandle;
00045         }
00046 
00050         void renderToLowerRightQuad();
00051 
00056         static void renderToLowerRightQuad(unsigned int m_ImageHandle);
00057 
00062         static void renderOuterScreen(unsigned int m_ImageHandle);
00063 
00064 private:
00065 
00069         void deleteImage();
00070 
00071         unsigned int m_ImageHandle;                     
00072 };
00073 
00074 #endif //__v_image_h

Generated on Mon Jan 21 01:15:16 2008 for FlowVis by  doxygen 1.5.4