0012121: Optimization of existing selection classes
[occt.git] / src / OpenGl / OpenGl_telem_pick.hxx
1 #ifndef OPENGL_TELEM_PICK_H
2 #define OPENGL_TELEM_PICK_H
3
4 typedef union
5 {
6   unsigned  int  s[2];
7   Tint   i;
8 } TEL_PACKED_NAME, *tel_packed_name;
9
10 typedef  enum
11 {
12   TTopFirst, TBottomFirst
13 } TPickOrder;
14
15 typedef  struct
16 {
17   Tint    el_num;
18   Tint    pick_id;
19   Tint    struct_id;
20 } TEL_PICK_PATH, *tel_pick_path;
21
22 typedef  struct
23 {
24   Tint          depth;
25   tel_pick_path pick_path;
26 } TEL_PICK_REPORT, *tel_pick_report;
27
28 extern Tint TglVpBeingPicked; /* defined in telem/pick */
29
30 extern TStatus TPick( Tint, Tint, Tint, Tfloat, Tfloat, /*wsid, x, y, apw, aph*/
31                      TPickOrder, Tint, tel_pick_report );/*order, depth, rep*/
32
33 #endif