Go to the source code of this file.
Defines | |
| #define | VECCOPY(a, b) { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
| #define | INVERT(a) { a[0] = -a[0]; a[1] = -a[1]; a[2] = -a[2]; } |
| #define | VECSUB(a, b, c) { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
| #define | VECSUM(a, b, c) { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
| #define | VECSCALE(a, b, c) { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
| #define | DOT(a, b) ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
| #define | CROSS(v1, v2, r) |
| #define | TOL 0.1 |
Functions | |
| unsigned char * | LoadMAP (char *name, int *x, int *y) |
| BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
| double | hitpoint (vector n, vector x, vector y, vector pb, vector pf, double *a, double *b) |
| long | MapFrom (vector p, vector Mp, vector Mdx, vector Mdy, vector Mn, fullscreenbuffer *S, long Xmax, long Ymax, double *red, double *green, double *blue) |
| fullscreenbuffer * | ScaleImageMap (unsigned char *ImagePixels, int x, int y, long X, long Y) |
| long | _RenderImageProcess (char *PrmList, XIMAGE *lpXimage) |
| long | _RenderGLexternal (char *PrmList, XIMAGE *lpXimage) |
| BOOL CALLBACK | DlgProc (HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) |
| char * | _SetExternalParameters (char *Op, HWND hWnd, long ruler, char *name, X__MEMORY_MANAGER *lpEVI) |
Variables | |
| int | colourmap_size |
| int | x_size |
| int | y_size |
| int | gif_iLace |
| #define VECCOPY | ( | a, | |||
| b | ) | { b[0] = a[0]; b[1] = a[1]; b[2] = a[2]; } |
| #define INVERT | ( | a | ) | { a[0] = -a[0]; a[1] = -a[1]; a[2] = -a[2]; } |
| #define VECSUB | ( | a, | |||
| b, | |||||
| c | ) | { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
| #define VECSUM | ( | a, | |||
| b, | |||||
| c | ) | { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
| #define VECSCALE | ( | a, | |||
| b, | |||||
| c | ) | { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
| #define DOT | ( | a, | |||
| b | ) | ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
| #define CROSS | ( | v1, | |||
| v2, | |||||
| r | ) |
| BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
| DWORD | dwReason, | |||
| LPVOID | lpReserved | |||
| ) |
Definition at line 53 of file STEREO2.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, and TRUE.
| long MapFrom | ( | vector | p, | |
| vector | Mp, | |||
| vector | Mdx, | |||
| vector | Mdy, | |||
| vector | Mn, | |||
| fullscreenbuffer * | S, | |||
| long | Xmax, | |||
| long | Ymax, | |||
| double * | red, | |||
| double * | green, | |||
| double * | blue | |||
| ) |
Definition at line 124 of file STEREO2.C.
References B, double, G, hitpoint(), and R.
Referenced by ScaleImageMap().
| fullscreenbuffer* ScaleImageMap | ( | unsigned char * | ImagePixels, | |
| int | x, | |||
| int | y, | |||
| long | X, | |||
| long | Y | |||
| ) |
| long _RenderImageProcess | ( | char * | PrmList, | |
| XIMAGE * | lpXimage | |||
| ) |
Definition at line 254 of file STEREO2.C.
References Renderer_XIMAGE_tag::first_frame, LoadMAP(), ScaleImageMap(), Renderer_XIMAGE_tag::Screen, Renderer_XIMAGE_tag::this_frame, type, version, X__Free, Renderer_XIMAGE_tag::Xmax, and Renderer_XIMAGE_tag::Ymax.
| long _RenderGLexternal | ( | char * | PrmList, | |
| XIMAGE * | lpXimage | |||
| ) |
| BOOL CALLBACK DlgProc | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | wparam, | |||
| LPARAM | lparam | |||
| ) |
| char* _SetExternalParameters | ( | char * | Op, | |
| HWND | hWnd, | |||
| long | ruler, | |||
| char * | name, | |||
| X__MEMORY_MANAGER * | lpEVI | |||
| ) |
| int colourmap_size |
| int x_size |
Definition at line 389 of file STEREO2.C.
Referenced by _GetExternalImage(), _GetExternalImageSize(), _HeightField(), jpg_display_line(), MakeImageFromFile(), out_line(), png_display_line(), read_gif_image(), and tif_display_line().
| int y_size |
Definition at line 389 of file STEREO2.C.
Referenced by _GetExternalImage(), _GetExternalImageSize(), _HeightField(), jpg_display_line(), MakeImageFromFile(), out_line(), png_display_line(), read_gif_image(), and tif_display_line().
| int gif_iLace |
1.5.6