binary scanner configuration for .cproject
[MicroTrace.git] / Image.hxx
1 #ifndef IMAGE_HXX
2 #define IMAGE_HXX
3
4 #include <string>
5
6 #include "Vec3f.hxx"
7
8 class Image
9 {
10 public:
11 Image(int resX,int resY);
12 ~Image();
13
14 //! pixel access operator read/write
15 Vec3f& operator()(int x, int y);
16
17 void WritePPM(const std::string& fileName);/*in Image.cxx*/
18
19 private:
20 Image();
21 Image(const Image& );
22 Image& operator=(const Image& );
23
24 int m_resX, m_resY;
25 Vec3f* m_pixel;
26 };
27
28 #endif
This page took 0.044505 seconds and 5 git commands to generate.