0022962: Invalid realization of reading and writing material in STEP.
[occt.git] / src / OpenGl / OpenGl_tgl_subrs.hxx
CommitLineData
7fd59977 1/*
2File OpenGl_tgl_subrs.h
3
4Modified 16/06/2000 : ATS,SPK : G005 : Group of functions
5call_subr_parray_xxx
6call_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
16extern void call_subr_set_line_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
17extern void call_subr_polyline(CALL_DEF_LISTPOINTS *); /* alpoints */
18extern void call_subr_polyline_data(CALL_DEF_LISTPOINTS *); /* alpoints */
19extern void call_subr_addnameset(Tint, Tint *); /* num, names */
20extern void call_subr_remnameset(Tint, Tint *); /* num, names */
21
22extern void call_subr_set_int_colr(Tfloat, Tfloat, Tfloat, Tfloat);/* r, g, b, a */
23extern void call_subr_set_back_int_colr(Tfloat, Tfloat, Tfloat, Tfloat);
24extern void call_subr_set_text_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
25extern void call_subr_set_text_colr_subtitle(Tfloat, Tfloat, Tfloat); /* r, g, b */
26extern void call_subr_set_edge_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
27extern void call_subr_set_marker_colr(Tfloat, Tfloat, Tfloat); /* r, g, b */
28extern void call_subr_set_refl_props(CALL_DEF_MATERIAL *, Tint); /* mat, tag */
29extern void call_subr_marker(CALL_DEF_MARKER *); /* amarker */
30extern void call_subr_marker_set(CALL_DEF_LISTMARKERS *); /* almarkers */
31
32extern TStatus call_subr_get_exec_struct(Tint, Tint, Tint *); /* F, S, &ind */
33extern void call_subr_polygon_data(CALL_DEF_FACET *); /* afacet */
34extern void call_subr_polygon(CALL_DEF_FACET *); /* afacet */
35extern void call_subr_polygon_holes(CALL_DEF_LISTFACETS *); /* alfacets */
36extern void call_subr_polygon_holes_data(CALL_DEF_LISTFACETS *); /* alfacets */
37extern void call_subr_polygon_indices(CALL_DEF_LISTPOINTS *, /* alpoints */
38 CALL_DEF_LISTEDGES *, /* aledges */
39 CALL_DEF_LISTINTEGERS *); /* albounds */
40extern void call_subr_polygon_set(CALL_DEF_LISTFACETS *); /* alfacets */
41extern void call_subr_quadrangle(CALL_DEF_QUAD *); /* aquad */
42extern void call_subr_polygon_holes(CALL_DEF_LISTFACETS *); /* alfacets */
43
44extern void call_subr_polygon_holes_data(CALL_DEF_LISTFACETS *); /*alfacets*/
45
46extern void call_subr_triangle(CALL_DEF_TRIKE *); /* atrike */
47extern void call_subr_set_highl_rep(Tint); /* index */
48extern 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 */
58extern Tint call_subr_inquirews(Tint, Tint *);
59extern void call_subr_curve(CALL_DEF_LISTPOINTS *);
60
61/* PARRAY functions */
62
63extern void call_subr_parray( CALL_DEF_PARRAY *parray );
64extern void call_subr_userdraw( CALL_DEF_USERDRAW *anobject );
65
66#endif