Subversion Repositories gelsvn

Rev

Rev 346 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
349 awk 1
#ifndef __PATHTRACER_TRACER__HPP__
2
#define __PATHTRACER_TRACER__HPP__
3
 
4
#include "scene.hpp"
5
 
6
class tracer
7
{
8
public:
9
    tracer(int w, int h);
10
    virtual ~tracer(void) = 0;
11
 
12
    void set_scene(scene*);
13
 
14
    virtual CGLA::Vec3f compute_pixel(int w, int h) = 0;
15
 
16
protected:
17
 
18
    //resolution
19
    int width_;
20
    int height_;
21
 
22
    //the scene
23
    scene* scene_;
24
 
25
};
26
 
27
#endif
28
 
29
//02566 framework, Anders Wang Kristensen, awk@imm.dtu.dk, 2007