Subversion Repositories gelsvn

Rev

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

Rev Author Line No. Line
353 awk 1
#ifndef __PATHTRACER_TRACER__H__
2
#define __PATHTRACER_TRACER__H__
349 awk 3
 
353 awk 4
#include "scene.h"
349 awk 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