| 4 |
|
*/ |
| 5 |
|
#ifndef _RAD_GLARE_H_ |
| 6 |
|
#define _RAD_GLARE_H_ |
| 7 |
– |
#ifdef __cplusplus |
| 8 |
– |
extern "C" { |
| 9 |
– |
#endif |
| 7 |
|
|
| 11 |
– |
|
| 8 |
|
#include "standard.h" |
| 9 |
|
#include "view.h" |
| 10 |
|
#include "color.h" |
| 11 |
|
#include "setscan.h" |
| 12 |
|
|
| 13 |
+ |
#ifdef __cplusplus |
| 14 |
+ |
extern "C" { |
| 15 |
+ |
#endif |
| 16 |
+ |
|
| 17 |
|
#define GLAREBR 7.0 /* glare source is this * avg. lum. */ |
| 18 |
|
|
| 19 |
|
#define SAMPDENS 75 /* default samples per unit in image */ |
| 73 |
|
struct source *next; /* next source in list */ |
| 74 |
|
} *donelist; /* finished sources */ |
| 75 |
|
|
| 76 |
– |
extern double getviewpix(int vh, int vv); |
| 77 |
– |
extern double pixsize(int x, int y); |
| 76 |
|
|
| 77 |
|
extern long npixinvw; /* number of samples in view */ |
| 78 |
|
extern long npixmiss; /* number of samples missing */ |
| 79 |
|
|
| 80 |
< |
|
| 80 |
> |
/* defined in findglare.c */ |
| 81 |
> |
extern void memerr(char *s); |
| 82 |
> |
extern int compdir(FVECT vd, int x, int y); |
| 83 |
> |
extern double pixsize(int x, int y); |
| 84 |
> |
/* defined in glaresrc.c */ |
| 85 |
> |
extern void comp_thresh(void); |
| 86 |
> |
extern void analyze(void); |
| 87 |
> |
extern void absorb_specks(void); |
| 88 |
> |
/* defined in glareval.c */ |
| 89 |
> |
extern void open_pict(char *fn); |
| 90 |
> |
extern void fork_rtrace(char *av[]); |
| 91 |
> |
extern void close_pict(void); |
| 92 |
> |
extern void done_rtrace(void); |
| 93 |
> |
extern void getviewspan(int vv, float *vb); |
| 94 |
> |
extern double getviewpix(int vh, int vv); |
| 95 |
|
|
| 96 |
|
#ifdef __cplusplus |
| 97 |
|
} |