Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Image.h

Go to the documentation of this file.
00001 #ifndef _SLICERIMAGE_H_
00002 #define _SLICERIMAGE_H_
00003 
00004 #include "vuSimpleTypes.h"
00005 #include "vuColourRGBa.h"
00006 
00007 namespace ns_vu1112116 {
00008 
00016 class Image  
00017 {
00018 public:
00020         Image();
00022         virtual ~Image();
00024         bool init(int sizx, int sizy);
00026         void get_extents(int & sizx, int & sizy);
00028         bool set_xy(int x, int y, const vuColourRGBa& col);
00031         bool get_xy(int x, int y, vuColourRGBa & col);
00033         const byte* get_rgb() const;
00034 private:
00036         byte *spix;
00038         int maxx,maxy;
00039 };
00040 
00041 };
00042 
00043 #endif

Generated on Wed Dec 15 21:20:29 2004 for vuVolume by  doxygen 1.3.9.1