#include <stdio.h>#include <stdlib.h>#include <X11/Xlib.h>#include <X11/Xutil.h>#include <X11/keysym.h>#include <X11/cursorfont.h>#include <X11/xpm.h>#include <pthread.h>#include <sys/ipc.h>#include <sys/sem.h>#include "general.h"#include <math.h>#include <errno.h>#include <string.h>#include <unistd.h>Go to the source code of this file.
Classes | |
| class | SYWindow |
| struct | SYWindow::YPoint |
| struct | SYWindow::YLine |
| struct | SYWindow::ZInd |
| class | YWindow |
Defines | |
| #define | _DISPLAY_VERSION 1.05 |
| #define | DEPTH 32 |
| #define | DEPTH_REAL 8 |
| #define | RGB RGB32 |
| #define | GETRED RED32 |
| #define | GETGREEN GREEN32 |
| #define | GETBLUE BLUE32 |
| #define | RGB32(R, G, B) ((unsigned)(R)<<16)+((unsigned)(G)<<8)+((unsigned)(B)) |
| #define | RGB16(R, G, B) ((unsigned)((R)&0xF8)<<8)+((unsigned)((G)&0xF8)<<3)+((unsigned)((B)>>3)) |
| #define | RGBany(R, G, B) |
| #define | RED32(C) (((C&0xFF0000)>>16)*1.0/(0x00FF)) |
| #define | GREEN32(C) (((C&0xFF00)>>8)*1.0/(0x00FF)) |
| #define | BLUE32(C) (((C&0x00FF)*1.0/(0x00FF))) |
| #define | RED16(C) (((C&0xF800)>>11)*1.0/(0x001F)) |
| #define | GREEN16(C) (((C&0x07C0)>>6)*1.0/(0x001F)) |
| #define | BLUE16(C) (((C&0x001F)*1.0/(0x001F))) |
| #define | REDany(C) (((C&CCT[0][3])>>CCT[0][4])*1.0/(CCT[0][5])) |
| #define | GREENany(C) (((C&CCT[1][3])>>CCT[1][4])*1.0/(CCT[1][5])) |
| #define | BLUEany(C) (((C&CCT[2][3])>>CCT[2][4])*1.0/(CCT[2][5])) |
Enumerations | |
| enum | { MaxPoints = 40000, MaxLines = 5000, rInterval = 50, DSCLEN = 30 } |
Functions | |
| void | delay (long sec, long usec) |
Variables | |
| unsigned long | colorconvert_16 [3][6] |
| unsigned long | colorconvert_32 [3][6] |
| #define BLUEany | ( | C | ) | (((C&CCT[2][3])>>CCT[2][4])*1.0/(CCT[2][5])) |
Definition at line 106 of file display.h.
Referenced by SYWindow::Draw3DLinetoPS(), and SYWindow::Draw3DPixeltoPS().
| #define GREENany | ( | C | ) | (((C&CCT[1][3])>>CCT[1][4])*1.0/(CCT[1][5])) |
Definition at line 105 of file display.h.
Referenced by SYWindow::Draw3DLinetoPS(), and SYWindow::Draw3DPixeltoPS().
| #define REDany | ( | C | ) | (((C&CCT[0][3])>>CCT[0][4])*1.0/(CCT[0][5])) |
Definition at line 104 of file display.h.
Referenced by SYWindow::Draw3DLinetoPS(), and SYWindow::Draw3DPixeltoPS().
| #define RGB16 | ( | R, | |||
| G, | |||||
| B | ) | ((unsigned)((R)&0xF8)<<8)+((unsigned)((G)&0xF8)<<3)+((unsigned)((B)>>3)) |
| #define RGBany | ( | R, | |||
| G, | |||||
| B | ) |
| anonymous enum |
| void delay | ( | long | sec, | |
| long | usec | |||
| ) | [inline] |
| unsigned long colorconvert_16[3][6] |
Definition at line 20 of file display.cpp.
| unsigned long colorconvert_32[3][6] |
Definition at line 23 of file display.cpp.
1.5.7.1