OCC22354 Bug in Overlay Text rendering
[occt.git] / src / OpenGl / OpenGl_triedron.hxx
1 /***********************************************************************
2
3 FONCTION :
4 ----------
5 File OpenGl_triedron.h : gestion du triedre non zoomable.
6
7
8 REMARQUES:
9 ---------- 
10
11
12 HISTORIQUE DES MODIFICATIONS   :
13 --------------------------------
14 24-10-98 : BGN ; Creation.
15
16 ************************************************************************/
17
18 /*----------------------------------------------------------------------*/
19
20 #ifndef __OPENGL_TRIEDRON_H_
21 #define __OPENGL_TRIEDRON_H_
22
23 /*----------------------------------------------------------------------*/
24 /*
25 * Includes
26 */
27
28 #include <GL/gl.h>
29
30 #include <OpenGl_tgl_all.hxx>
31 #include <OpenGl_telem.hxx>
32 #include <OpenGl_tsm.hxx>
33
34
35 /*----------------------------------------------------------------------*/
36 /*
37 * Constantes
38 */
39
40
41 /*----------------------------------------------------------------------*/
42 /*
43 * Types definis
44 */
45
46
47 /*----------------------------------------------------------------------*/
48 /*
49 * variables statiques
50 */ 
51
52
53 /*----------------------------------------------------------------------*/
54 /*
55 * Prototypes
56 */
57 /*
58 * initialisation of zbuffer trihedron
59 */
60 extern TStatus  call_ztriedron_setup (
61                                       float* xcolor,
62                                       float* ycolor,
63                                       float* zcolor,
64                                       float  sizeratio,
65                                       float  axisdiameter,
66                                       int    nbfacettes          
67                                       );
68
69 /*
70 * initialisation d'un triedre non zoomable dans la Wks
71 */
72 extern TStatus  call_triedron_init (
73                                     CALL_DEF_VIEW * aview, 
74                                     int aPosition, 
75                                     float r,
76                                     float g,
77                                     float b, 
78                                     float aScale,
79                                     int asWireframe);
80
81
82 /*
83 * affichage d'un triedre non zoomable dans la vue aview.
84 */
85
86 extern TStatus call_triedron_redraw_from_view (CALL_DEF_VIEW * aview);
87
88
89 /*
90 * affichage d'un triedre non zoomable dans la workstation awsid
91 */
92
93 extern TStatus call_triedron_redraw_from_wsid (Tint awsid);
94
95
96 /*
97 * destruction  du triedre non zoomable d' une vue.
98 */
99
100 extern TStatus call_triedron_erase (CALL_DEF_VIEW * aview);
101
102 /*
103 * gestion d'un echo de designation du triedre non zoomable d' une vue.
104 */
105 extern TStatus call_triedron_echo (
106                                    CALL_DEF_VIEW * aview,
107                                    int aType);
108
109
110 /*----------------------------------------------------------------------*/
111
112 #endif /* __OPENGL_TRIEDRON_H_ */
113
114 /*----------------------------------------------------------------------*/
115