summaryrefslogtreecommitdiff
path: root/inc/OpenGl_telem_pick.hxx
blob: 4a6318f1124e2e677a8f912fd3c17ebeec3cec24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef OPENGL_TELEM_PICK_H
#define OPENGL_TELEM_PICK_H

typedef union
{
  unsigned  int  s[2];
  Tint   i;
} TEL_PACKED_NAME, *tel_packed_name;

typedef  enum
{
  TTopFirst, TBottomFirst
} TPickOrder;

typedef  struct
{
  Tint    el_num;
  Tint    pick_id;
  Tint    struct_id;
} TEL_PICK_PATH, *tel_pick_path;

typedef  struct
{
  Tint          depth;
  tel_pick_path pick_path;
} TEL_PICK_REPORT, *tel_pick_report;

extern Tint TglVpBeingPicked; /* defined in telem/pick */

extern TStatus TPick( Tint, Tint, Tint, Tfloat, Tfloat, /*wsid, x, y, apw, aph*/
                     TPickOrder, Tint, tel_pick_report );/*order, depth, rep*/

#endif