/usr/include/dxstereo.h is in libdx4-dev 1:4.4.4-9+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | /***********************************************************************/
/* Open Visualization Data Explorer */
/* (C) Copyright IBM Corp. 1989,1999 */
/* ALL RIGHTS RESERVED */
/* This code licensed under the */
/* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */
/***********************************************************************/
#ifndef _DXSTEREO_H_
#define _DXSTEREO_H_
typedef struct
{
int xOffset, yOffset;
int xSize, ySize;
float aspect;
} WindowInfo;
#if defined(DX_NATIVE_WINDOWS)
typedef int (*InitializeStereoSystemMode)(HDC, HWND);
typedef int (*CreateStereoWindows)(HDC, HWND,
HRGN *, WindowInfo *,
HRGN *, WindowInfo *);
typedef int (*ExitStereo)(HDC, HWND, HRGN *, HRGN *);
typedef int (*MapStereoXY)(void *, HWND, HWND, WindowInfo,
int, int, int*, int*);
#else
typedef int (*InitializeStereoSystemMode)(Display *, Window);
typedef int (*CreateStereoWindows)(Display *, Window,
Window *, WindowInfo *,
Window *, WindowInfo *);
typedef int (*ExitStereo)(Display *, Window, Window, Window);
typedef int (*MapStereoXY)(void *, Window, Window, WindowInfo,
int, int, int*, int*);
#endif /* native windows */
typedef void *(*InitializeStereoCameraMode)(void *, dxObject);
typedef int (*ExitStereoCameraMode)(void *);
typedef int (*CreateStereoCameras)(void *,
int, float, float,
float *, float *, float *, float, float,
float *, float *, float *, float **,
float *, float *, float *, float **);
typedef struct
{
InitializeStereoSystemMode initializeStereoSystemMode;
CreateStereoWindows createStereoWindows;
ExitStereo exitStereo;
} StereoSystemMode;
typedef struct
{
InitializeStereoCameraMode initializeStereoCameraMode;
ExitStereoCameraMode exitStereoCameraMode;
CreateStereoCameras createStereoCameras;
MapStereoXY mapStereoXY;
} StereoCameraMode;
#endif
|