7fd59977 |
1 | /*********************************************************************** |
2 | |
3 | FONCTION : |
4 | ---------- |
5 | File OpenGl_telem_depthcue.h : |
6 | |
7 | |
8 | REMARQUES: |
9 | ---------- |
10 | |
11 | |
12 | HISTORIQUE DES MODIFICATIONS : |
13 | -------------------------------- |
14 | xx-xx-xx : xxx ; Creation. |
15 | 12-02-97 : FMN ; Suppression de TelGetDepthCueRep |
16 | |
17 | ************************************************************************/ |
18 | |
19 | #ifndef OPENGL_TELEM_DEPTHCUE_H |
20 | #define OPENGL_TELEM_DEPTHCUE_H |
21 | |
22 | #include <OpenGl_telem.hxx> |
23 | |
24 | struct TEL_DEPTHCUE |
25 | { |
26 | TDepthCueType mode; |
27 | Tfloat planes[2]; /* in the range 0.0 & 1.0 */ |
28 | Tfloat scales[2]; /* in the range 0.0 & 1.0. This is fraction |
29 | of object colour to be visible */ |
30 | TEL_COLOUR col; |
31 | IMPLEMENT_MEMORY_OPERATORS |
32 | }; |
33 | typedef TEL_DEPTHCUE* tel_depthcue; |
34 | |
35 | struct TEL_GL_DEPTHCUE |
36 | { |
37 | TEL_DEPTHCUE dcrep; |
38 | Tfloat dist[2]; |
39 | }; |
40 | typedef TEL_GL_DEPTHCUE* tel_gl_depthcue; |
41 | |
42 | /* ws, dcid, dcrep */ |
43 | extern TStatus TelSetDepthCueRep( Tint, Tint, tel_depthcue ); |
44 | /* ws, dcid, dcrep */ |
45 | |
46 | extern void TelPrintDepthCueRep( Tint, Tint ); /* ws, hid */ |
47 | /* ws, viewid, dcid, data */ |
48 | extern TStatus TelGetGLDepthCue( Tint, Tint, Tint, tel_gl_depthcue ); |
49 | extern TStatus TelDeleteDepthCuesForWS( Tint wsid ); |
50 | |
51 | #endif |