changeset 76 | 9cbf4c7e7986 |
child 78 | a55bf2fa3f74 |
75:327eef3fe747 | 76:9cbf4c7e7986 |
---|---|
1 class FloatPlane; |
|
2 |
|
3 class Image |
|
4 { |
|
5 unsigned int components; |
|
6 bool ready; |
|
7 |
|
8 bool sameDimensions(); |
|
9 |
|
10 public: |
|
11 FloatPlane *plane; |
|
12 |
|
13 Image(); |
|
14 Image(FloatPlane _plane[], const unsigned int _components); |
|
15 |
|
16 void free(); |
|
17 void setComponents(unsigned int n); |
|
18 void writePPM(const char *filename); |
|
19 unsigned int getComponents(); |
|
20 }; |