gCAD3D 2.35
ut_DL.h
Go to the documentation of this file.
1 /*
2 2001-05-04 DL_GetTyp,DL_get_dbi,DL_GetTrInd zu.
3 */
4 
5 
6 
7 // #define GR_TAB_SIZ 25000
8 #define GR_ATT_TAB_SIZ 45 // DL_base_PtAtt - DL_base_LnAtt
9 #define GR_DIT_TAB_SIZ 1000
10 
11 
12 // DL_OBJ_IS_ACTMDL ((DL_Att)dla) test if obj belongs to active model
13 // returns 0 if(dla.modInd >= 0) - subModel
14 // returns 1 if(dla.modInd == -1) - active Model
15 // int DL_OBJ_IS_ACTMDL (DL_Att);
16 #define DL_OBJ_IS_ACTMDL(dla)\
17  ((INT_16)dla.modInd != -1)
18 
19 
20 // DL_OBJ_IS_HIDDEN ((DL_Att)dla) test if obj is hidden
21 // returns 0=visible; else 1=hidden
22 // int DL_OBJ_IS_HIDDEN (DL_Att);
23 #define DL_OBJ_IS_HIDDEN(dla)\
24  ((dla.disp == 1)&&(dla.hili == 1))
25  // ((dla->disp == 1)&&(dla->hili == 1))
26 
27 
28 
29 void DL_Init ();
30 void DL_InitAttTab ();
31 int DL_InitAttRec (int ind, int col, int ltyp, int lthick);
32 
33 int DL_SetObj (long *dli, int typ, long dbi, int iAtt);
34 long DL_StoreObj (int Typ, long DBInd, int AttInd);
35 int DL_SetInd (long dli);
36 long DL_SetTmpObj (int typ, long dbi);
37 
38 long DL_get__ (DL_Att **dl);
39 
40 void DL_DumpObjTab ();
41 // int DL_StoreAtt (long Ind, GR_Att* att1);
42 int DL_Redraw ();
43 int DL_ReScale__ ();
44 // int DL_save_DYNAMIC_AREA ();
45 
46 int DL_GetTyp (long dli);
47 long DL_get_dbi (long dli);
48 long DL_GetTrInd (long dli);
49 // int DL_Get_GrAtt (GR_Att* att1, long Ind);
50 // DL_Att DL_GetAtt (long dli);
51 unsigned long DL_get_iatt (long dli);
52 
53 long DL_find_smObj (int typ, long DBind, long DLend, int imod);
54 long DL_find_obj (int typ, long ind, long DLend);
55 // int DL_find_sel (int *typ, long *ind);
56 
57 int DL_hili_on (long);
58 int DL_hili_off (long);
59 
60 int DL_pick_set (long ind, int mode);
61 int DL_grp1_set (long ind, int mode);
62 
63 int DL_hide_chg ();
64 void DL_hide__ (long ind, int mode);
65 
66 void DL_Lay_act_g1 (int layNr, int mode);
67 void DL_Lay_typ_g1 (int typ, int mode);
68 void DL_Lay_col_g1 (int col, int mode);
69 void DL_Lay_ltyp_g1 (int ltyp, int mode);
70 void DL_Lay_thk_g1 (int thk, int mode);
71 int DL_Lay_mod (int layNr, int func, int mode);
72 int DL_Lay_add (int layNr);
73 
74 
75 
76 /*============= EOF ===============*/
77 
int typ
Definition: xa_tra.c:151
long DL_StoreObj(int Typ, long DBInd, int AttInd)
Definition: ut_DL.c:2050
void DL_InitAttTab()
Definition: xa_batch.c:441
int DL_hili_off(long)
Definition: ut_DL.c:1314
int DL_SetObj(long *dli, int typ, long dbi, int iAtt)
Definition: ut_DL.c:2020
DisplayListRecord.
Definition: ut_geo.h:984
int DL_grp1_set(long ind, int mode)
Definition: ut_DL.c:1536
int DL_pick_set(long ind, int mode)
Definition: ut_DL.c:1439
void DL_Lay_col_g1(int col, int mode)
Definition: ut_DL.c:2929
void DL_hide__(long ind, int mode)
Definition: ut_DL.c:992
char mode
Definition: xa_tra.c:152
long DL_get__(DL_Att **dl)
Definition: ut_DL.c:4259
long DL_get_dbi(long dli)
Definition: ut_DL.c:2528
int DL_Lay_add(int layNr)
Definition: ut_DL.c:3070
int DL_hili_on(long)
Definition: ut_DL.c:1229
void DL_DumpObjTab()
Definition: ut_DL.c:2272
int DL_ReScale__()
Definition: ut_DL.c:3163
int DL_GetTyp(long dli)
Definition: ut_DL.c:2506
long DL_GetTrInd(long dli)
Definition: ut_DL.c:2625
long DL_find_smObj(int typ, long DBind, long DLend, int imod)
Definition: ut_DL.c:2346
void DL_Lay_thk_g1(int thk, int mode)
Definition: ut_DL.c:2978
void DL_Lay_act_g1(int layNr, int mode)
Definition: ut_DL.c:2867
long DL_SetTmpObj(int typ, long dbi)
Definition: ut_DL.c:4416
void DL_Lay_ltyp_g1(int ltyp, int mode)
Definition: ut_DL.c:2957
void DL_Lay_typ_g1(int typ, int mode)
Definition: ut_DL.c:2907
long DL_find_obj(int typ, long ind, long DLend)
Definition: ut_DL.c:2321
int DL_hide_chg()
Definition: ut_DL.c:1063
int DL_Lay_mod(int layNr, int func, int mode)
Definition: ut_DL.c:3001
long dli
Definition: xa_tra.c:150
unsigned long DL_get_iatt(long dli)
Definition: ut_DL.c:2723
int DL_SetInd(long dli)
Definition: ut_DL.c:2001
int DL_Redraw()
Definition: xa_batch.c:442
int ind
Definition: xa_tra.c:151
int DL_InitAttRec(int ind, int col, int ltyp, int lthick)
Definition: ut_DL.c:1876
void DL_Init()
Definition: xa_batch.c:439