2 File OpenGl_tgl_subrs.h
4 Modified 16/06/2000 : ATS,SPK : G005 : Group of functions
9 #ifndef OPENGL_TGL_SUBRS_H
10 #define OPENGL_TGL_SUBRS_H
12 #include <InterfaceGraphic_Graphic3d.hxx>
14 #include <OpenGl_telem.hxx>
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 */
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 */
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 */
44 extern void call_subr_polygon_holes_data(CALL_DEF_LISTFACETS *); /*alfacets*/
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*/
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 *);
61 /* PARRAY functions */
63 extern void call_subr_parray( CALL_DEF_PARRAY *parray );
64 extern void call_subr_userdraw( CALL_DEF_USERDRAW *anobject );