/* RCSid: $Id: warp3d.h,v 3.5 2004/03/28 20:33:14 schorsch Exp $ */ /* * Header file for 3D warping routines. */ #ifndef _RAD_WARP3D_H_ #define _RAD_WARP3D_H_ #include "lookup.h" #ifdef __cplusplus extern "C" { #endif /* interpolation flags */ #define W3EXACT 01 /* no interpolation (slow) */ #define W3FAST 02 /* discontinuous approx. (fast) */ /* return flags for warp3d() */ #define W3OK 0 /* normal return status */ #define W3GAMUT 01 /* out of gamut */ #define W3BADMAP 02 /* singular map */ #define W3ERROR 04 /* system error (check errno) */ #define GNBITS 6 /* number of bits per grid size <= 8 */ #define MAXGN (1<