00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00025 #ifndef _PIXEL_BUFFER_H_
00026 #define _PIXEL_BUFFER_H_
00027
00028 #include <GL/glew.h>
00029 #include <boost/shared_ptr.hpp>
00030
00031 namespace CUDARayCasting
00032 {
00033
00034 class PixelBuffer
00035 {
00036 public:
00037 PixelBuffer(int width, int height, int size, int componentsCount);
00038
00039 ~PixelBuffer(void);
00040
00041 GLuint GetId(void) const;
00042
00043 private:
00044 GLuint m_id;
00045 };
00046
00047 typedef boost::shared_ptr<PixelBuffer> PixelBufferPtr;
00048
00049 }
00050 #endif