ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/lsys/ray_int.h
Revision: 1.1
Committed: Thu Nov 6 14:31:24 2008 UTC (15 years, 6 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 /*
2     * rayshade interface
3     */
4    
5     #ifndef RAY_INT_H
6     #define RAY_INT_H
7    
8     #include "interface.h"
9     #include "attr.h"
10     #include "matrix.h"
11    
12     using namespace std;
13    
14     class ray_int : public gfx_int {
15     ostream &o;
16    
17     vec diffuse;
18     vec color;
19     double width;
20    
21     double x1, y1, z1, x2, y2, z2;
22    
23     void clip (const vec &v) t_no;
24     void check_attrs (const attribute_set &attr) t_err;
25     public:
26     ray_int (ostream &out) t_no;
27     ~ray_int () t_no;
28    
29     void begin_fig () t_no;
30     void end_fig () t_no;
31    
32     void segment (const point &a, const point &b) t_err;
33     void object (const points &v) t_err;
34     };
35    
36     #endif