OCC22391 Polylines arrays not drawn for mesh with VBO flag enabled
[occt.git] / src / OpenGl / OpenGl_telem_depthcue.hxx
CommitLineData
7fd59977 1/***********************************************************************
2
3FONCTION :
4----------
5File OpenGl_telem_depthcue.h :
6
7
8REMARQUES:
9----------
10
11
12HISTORIQUE DES MODIFICATIONS :
13--------------------------------
14xx-xx-xx : xxx ; Creation.
1512-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
24struct 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};
33typedef TEL_DEPTHCUE* tel_depthcue;
34
35struct TEL_GL_DEPTHCUE
36{
37 TEL_DEPTHCUE dcrep;
38 Tfloat dist[2];
39};
40typedef TEL_GL_DEPTHCUE* tel_gl_depthcue;
41
42/* ws, dcid, dcrep */
43extern TStatus TelSetDepthCueRep( Tint, Tint, tel_depthcue );
44/* ws, dcid, dcrep */
45
46extern void TelPrintDepthCueRep( Tint, Tint ); /* ws, hid */
47/* ws, viewid, dcid, data */
48extern TStatus TelGetGLDepthCue( Tint, Tint, Tint, tel_gl_depthcue );
49extern TStatus TelDeleteDepthCuesForWS( Tint wsid );
50
51#endif