0022819: Redesign of OpenGl driver
[occt.git] / src / OpenGl / OpenGl_tgl_subrs.hxx
1 /*
2 File OpenGl_tgl_subrs.h
3
4 Modified 16/06/2000 : ATS,SPK : G005 : Group of functions 
5 call_subr_parray_xxx
6 call_subr_darray_xxx
7 */
8
9 #ifndef  OPENGL_TGL_SUBRS_H
10 #define  OPENGL_TGL_SUBRS_H
11
12 #include <InterfaceGraphic_Graphic3d.hxx>
13
14 #include <OpenGl_telem.hxx>
15
16 extern  void  call_subr_set_line_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
17 extern  void  call_subr_polyline(CALL_DEF_LISTPOINTS *); /* alpoints */
18 extern  void  call_subr_polyline_data(CALL_DEF_LISTPOINTS *); /* alpoints */
19 extern  void  call_subr_addnameset(Tint, Tint *); /* num, names */
20 extern  void  call_subr_remnameset(Tint, Tint *); /* num, names */
21
22 extern  void  call_subr_set_int_colr(Tfloat, Tfloat, Tfloat, Tfloat);/* r, g, b, a */
23 extern  void  call_subr_set_back_int_colr(Tfloat, Tfloat, Tfloat, Tfloat);
24 extern  void  call_subr_set_text_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
25 extern  void  call_subr_set_text_colr_subtitle(Tfloat, Tfloat, Tfloat); /* r, g, b */
26 extern  void  call_subr_set_edge_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
27 extern  void  call_subr_set_marker_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
28 extern  void  call_subr_set_refl_props(CALL_DEF_MATERIAL *, Tint); /* mat, tag */
29 extern  void  call_subr_marker(CALL_DEF_MARKER *); /* amarker */
30 extern  void  call_subr_marker_set(CALL_DEF_LISTMARKERS *); /* almarkers */
31
32 extern  TStatus  call_subr_get_exec_struct(Tint, Tint, Tint *); /* F, S, &ind */
33 extern  void  call_subr_polygon_data(CALL_DEF_FACET *); /* afacet */
34 extern  void  call_subr_polygon(CALL_DEF_FACET *); /* afacet */
35 extern  void  call_subr_polygon_holes(CALL_DEF_LISTFACETS *); /* alfacets */
36 extern  void  call_subr_polygon_holes_data(CALL_DEF_LISTFACETS *); /* alfacets */
37 extern  void  call_subr_polygon_indices(CALL_DEF_LISTPOINTS *,    /* alpoints */
38                                         CALL_DEF_LISTEDGES *,     /* aledges */
39                                         CALL_DEF_LISTINTEGERS *); /* albounds */
40 extern  void  call_subr_polygon_set(CALL_DEF_LISTFACETS *); /* alfacets */
41 extern  void  call_subr_quadrangle(CALL_DEF_QUAD *); /* aquad */
42 extern  void  call_subr_polygon_holes(CALL_DEF_LISTFACETS *); /* alfacets */
43
44 extern  void  call_subr_polygon_holes_data(CALL_DEF_LISTFACETS *); /*alfacets*/
45
46 extern  void  call_subr_triangle(CALL_DEF_TRIKE *); /* atrike */
47 extern  void  call_subr_set_highl_rep(Tint); /* index */
48 extern  void  call_subr_structure_exploration(Tint,              /*Id*/
49                                               Tint,              /*LabelBegin*/
50                                               Tint,              /*LabelEnd*/
51                                               Tint,              /*elem_num*/
52                                               Tint*,             /*elem_type*/
53                                               CALL_DEF_POINT *,  /*pt*/
54                                               CALL_DEF_NORMAL *, /*npt*/
55                                               CALL_DEF_COLOR *,  /*cpt*/
56                                               CALL_DEF_NORMAL *  /*nfa*/); 
57 /* struct_id, ws_ids */
58 extern  Tint  call_subr_inquirews(Tint, Tint *);
59 extern  void  call_subr_curve(CALL_DEF_LISTPOINTS *);
60
61 /*  PARRAY functions */
62
63 extern void call_subr_parray( CALL_DEF_PARRAY *parray );
64 extern void call_subr_userdraw( CALL_DEF_USERDRAW *anobject );
65
66 #endif