#include <Image.h>
Public Member Functions | |
| Image (const std::string &name) | |
| Image (int xres, int yres) | |
| ~Image () | |
| void | set (int x, int y, const Color &c) |
| void | write (const std::string &filename) const |
| double | aspect_ratio () const |
| int | getXresolution () |
| int | getYresolution () |
| Color | interpolate (float x, float y) const |
Protected Member Functions | |
| Image (const Image &) | |
| Image & | operator= (const Image &) |
Protected Attributes | |
| Pixel ** | data |
| int | xres |
| int | yres |
Definition at line 15 of file Image.h.
|
|
|
|
||||||||||||
|
Definition at line 60 of file Image.cc. References data. |
|
|
Definition at line 69 of file Image.cc. References data. |
|
|
|
|
|
|
|
|
Definition at line 31 of file Image.h. Referenced by Scene::render(). |
|
|
Definition at line 34 of file Image.h. Referenced by Scene::render(). |
|
||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 20 of file Image.h. References Color::b(), Pixel::b, data, Color::g(), Pixel::g, Color::r(), and Pixel::r. Referenced by Scene::render(). |
|
|
|
|
|
Definition at line 58 of file Image.h. Referenced by Image(), interpolate(), set(), write(), and ~Image(). |
|
|
|
|
|
|
1.4.6