0022337: V3d_View::Print crashes in OCCT 6.5.0
[occt.git] / src / OpenGl / OpenGl_tgl_subrvis.hxx
1 /***********************************************************************
2
3 FONCTION :
4 ----------
5 File OpenGl_tgl_subrvis :
6
7
8 REMARQUES:
9 ----------       
10
11 HISTORIQUE DES MODIFICATIONS   :
12 --------------------------------
13 xx-xx-xx : xxx ; Creation.
14 17-07-96 : FMN ; Modification de call_subr_hlhsr et call_util_setvisualization
15 29-01-97 : FMN ; Suppression de call_subr_doublebuffer().
16
17 ************************************************************************/
18
19 #ifndef  OPENGL_TGL_SUBRVIS_H
20 #define  OPENGL_TGL_SUBRVIS_H
21
22 #ifndef RIC120302
23 #define RIC120302 /* GG Add call_subr_displayCB function
24 */
25 #endif
26
27 #include <InterfaceGraphic_Graphic3d.hxx>
28 #include <InterfaceGraphic_Visual3d.hxx>
29
30 #include <OpenGl_telem.hxx>
31
32 #ifdef RIC120302
33 extern  int      call_subr_displayCB(CALL_DEF_VIEW* /*aview*/, int /*reason*/ );
34 #endif
35 extern  int      call_subr_open_ws(CALL_DEF_VIEW *); /* aview */
36 extern  void     call_subr_enable_polygon_offset(); 
37 extern  void     call_subr_disable_polygon_offset(); 
38 extern  void     call_subr_resize(CALL_DEF_VIEW *); /* aview */
39 extern  void     call_subr_antialiasing(CALL_DEF_VIEW *, Tint); /* aview, tag */
40 extern  void     call_subr_hlhsr(CALL_DEF_VIEW *, Tint); /* aview, flag */
41 extern  void     call_subr_depthcueing(CALL_DEF_VIEW *, Tint); /* aview, tag */
42 extern  TStatus  call_subr_get_view_index(Tint, Tint *); /* stid, &vid */
43 extern  void     call_subr_pick(CALL_DEF_PICK *); /* apick */
44 extern  void     call_subr_set_light_src_rep(CALL_DEF_LIGHT *); /* alight */
45 extern  void     call_subr_set_background(Tint, tel_colour); /* ws, rgb */
46 extern  void     call_subr_set_gradient_background(Tint, Tint, tel_colour, tel_colour); /* ws, type, rgb ,rgb */
47 extern  void     call_subr_close_ws(CALL_DEF_VIEW *);
48 extern  void     call_util_setvisualization(CALL_DEF_VIEW *, int, int);
49 extern  void     call_subr_transparency (int , int , int );
50
51 #endif