gCAD3D 2.40
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 int 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
DisplayListRecord.
Definition: ut_geo.h:990
void DL_GetTyp()
Definition: xa_batch.c:444
long DL_get__(DL_Att **dl)
Definition: ut_DL.c:4452
void DL_hide__()
Definition: xa_batch.c:463
int DL_InitAttRec(int ind, int col, int typ, int thick)
Definition: ut_DL.c:1935
void DL_Redraw()
Definition: xa_batch.c:442
int DL_grp1_set(long ind, int mode)
Definition: ut_DL.c:1543
char mode
Definition: xa_tra.c:152
void DL_get_dbi()
Definition: xa_batch.c:445
void DL_hili_off()
Definition: xa_batch.c:502
int DL_ReScale__()
Definition: ut_DL.c:3266
void DL_InitAttTab()
Definition: xa_batch.c:441
long DL_find_smObj(int typ, long DBind, long DLend, int imod)
Definition: ut_DL.c:2428
void DL_hili_on()
Definition: xa_batch.c:512
void DL_Lay_col_g1()
Definition: xa_batch.c:452
void DL_Init()
Definition: xa_batch.c:439
void DL_DumpObjTab()
Definition: ut_DL.c:2353
void DL_SetInd()
Definition: xa_batch.c:449
void DL_GetTrInd()
Definition: xa_batch.c:446
void DL_StoreObj()
Definition: xa_batch.c:457
void DL_find_obj()
Definition: xa_batch.c:443
long DL_SetTmpObj(int typ, long dbi)
Definition: ut_DL.c:4609
long dli
Definition: xa_tra.c:150
int DL_hide_chg()
Definition: ut_DL.c:1070
int DL_SetObj(long *dli, int typ, long dbi, int iAtt)
Definition: ut_DL.c:2082
void DL_Lay_typ_g1()
Definition: xa_batch.c:455
void DL_pick_set()
Definition: xa_batch.c:461
unsigned int DL_get_iatt(long dli)
Definition: ut_DL.c:2805
void DL_Lay_thk_g1()
Definition: xa_batch.c:454
int ind
Definition: xa_tra.c:151
void DL_Lay_act_g1()
Definition: xa_batch.c:451
void DL_Lay_add()
Definition: xa_batch.c:456
void DL_Lay_ltyp_g1()
Definition: xa_batch.c:453
void DL_Lay_mod()
Definition: xa_batch.c:450