ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/lsys/rad_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     * radiance interface
3     */
4    
5     #ifndef RAD_INT_H
6     #define RAD_INT_H
7    
8     #include "interface.h"
9     #include "attr.h"
10     #include "matrix.h"
11    
12     using namespace std;
13    
14     class rad_int : public gfx_int {
15     ostream &o;
16    
17     string material;
18     double width;
19    
20     double x1, y1, z1, x2, y2, z2;
21    
22     void clip (const vec &v) t_no;
23     void check_attrs (const attribute_set &attr) t_err;
24     public:
25     rad_int (ostream &out) t_no;
26     ~rad_int () t_no;
27    
28     void begin_fig () t_no;
29     void end_fig () t_no;
30    
31     void segment (const point &a, const point &b) t_err;
32     void object (const points &v) t_err;
33     };
34    
35     #endif