| 19 |
|
#define VT_PAR 'l' /* parallel */ |
| 20 |
|
#define VT_ANG 'a' /* angular fisheye */ |
| 21 |
|
#define VT_HEM 'h' /* hemispherical fisheye */ |
| 22 |
+ |
#define VT_PLS 's' /* planispheric fisheye */ |
| 23 |
|
#define VT_CYL 'c' /* cylindrical panorama */ |
| 24 |
|
|
| 25 |
|
typedef struct { |
| 55 |
|
extern char *setview(VIEW *v); |
| 56 |
|
extern void normaspect(double va, double *ap, int *xp, int *yp); |
| 57 |
|
extern double viewray(FVECT orig, FVECT direc, VIEW *v, double x, double y); |
| 58 |
< |
extern void viewloc(FVECT ip, VIEW *v, FVECT p); |
| 58 |
> |
extern int viewloc(FVECT ip, VIEW *v, FVECT p); |
| 59 |
|
extern void pix2loc(RREAL loc[2], RESOLU *rp, int px, int py); |
| 60 |
|
extern void loc2pix(int pp[2], RESOLU *rp, double lx, double ly); |
| 61 |
|
extern int getviewopt(VIEW *v, int ac, char *av[]); |