ut_DL.h File Reference


Detailed Description

Go to the source code of this file.

Defines

#define GR_ATT_TAB_SIZ   50
#define GR_DIT_TAB_SIZ   1000

Functions

void DL_Init ()
 ============================================================
void DL_InitAttTab ()
 ============================================================
void DL_InitAttRec (int ind, int col, int ltyp, int lthick)
 ============================================================
long DL_StoreObj (int Typ, long DBInd, int AttInd)
 ============================================================
void DL_DumpObjTab ()
 ================================================================
int DL_StoreAtt (long Ind, GR_Att *att1)
 ============================================================
int DL_Redraw ()
 ==============================================================
void DL_ReScale__ ()
 ====================================================================
void DL_ReScalePoint (Point *pt1)
 ====================================================================
int DL_GetTyp (long objInd)
 ============================================================
long DL_GetInd (long objInd)
 ============================================================
int DL_GetTrInd (long objInd)
int DL_Get_GrAtt (GR_Att *att1, long Ind)
 ===============================================================
DL_Att DL_GetAtt (long objInd)
 =============================================================
long DL_find_obj (int typ, long ind, long DLend)
 =============================================================
int DL_find_sel (int *typ, long *ind)
 ================================================================
int DL_pick_set (long ind, int mode)
 ===============================================================
int DL_grp1_set (long ind, int mode)
 ===============================================================
int DL_disp_chg ()
 ===============================================================
void DL_disp_set (long ind, int mode)
 ===============================================================
void DL_Lay_act_g1 (int layNr, int mode)
 ***********************************************************************
void DL_Lay_typ_g1 (int typ, int mode)
 ***********************************************************************
void DL_Lay_col_g1 (int col, int mode)
 ***********************************************************************
void DL_Lay_ltyp_g1 (int ltyp, int mode)
 ***********************************************************************
void DL_Lay_thk_g1 (int thk, int mode)
 ***********************************************************************
int DL_Lay_mod (int layNr, int func, int mode)
 ***********************************************************************
int DL_Lay_add (int layNr)
 ***********************************************************************


Define Documentation

#define GR_ATT_TAB_SIZ   50

#define GR_DIT_TAB_SIZ   1000


Function Documentation

void DL_Init (  ) 

============================================================

============================================================

void DL_InitAttTab (  ) 

============================================================

============================================================ read ltyp.rc --> GR_AttTab

void DL_InitAttRec ( int  ind,
int  col,
int  ltyp,
int  lthick 
)

============================================================

============================================================

long DL_StoreObj ( int  Typ,
long  DBInd,
int  AttInd 
)

============================================================

============================================================ Den naechsten freien DispList-Platz belegen mit Typ, DBInd, att .... In der (hier lokalen) Displayliste, DBInd und Att speichern. Wird benutzt von GL zum Redraw, beim Select.

Dynam. Objekte, die ueberhaupt nicht in der APT-DB gespeichert werden, erhalten als DBInd den negativen DispList-Index. Das temp-bit .temp wird auf 1 gesetzt.

DBInd 0: definiert temp. Obj 8 DBInd -1: temp. Obj m ind. -GR_TAB_IND

dlInd = DL_StoreObj (Typ_LN, objInd, attInd); IN: Objectindex objInd und ObjTyp Typ_xx OUT: DispListIndex dlInd

void DL_DumpObjTab (  ) 

================================================================

================================================================

int DL_StoreAtt ( long  Ind,
GR_Att att1 
)

============================================================

============================================================

int DL_Redraw (  ) 

==============================================================

==============================================================

void DL_ReScale__ (  ) 

====================================================================

====================================================================

void DL_ReScalePoint ( Point pt1  ) 

====================================================================

====================================================================

int DL_GetTyp ( long  objInd  ) 

============================================================

============================================================ liefert den Typ eines DB-Obj (als return-Code)

long DL_GetInd ( long  objInd  ) 

============================================================

============================================================ liefert den DB-index eines DB-Obj (als return-Code)

Input: objInd; alle andern Out.

int DL_GetTrInd ( long  objInd  ) 

int DL_Get_GrAtt ( GR_Att att1,
long  Ind 
)

===============================================================

=============================================================== get graf.Att (GR_AttTab[Ind])

DL_Att DL_GetAtt ( long  objInd  ) 

=============================================================

=============================================================

long DL_find_obj ( int  typ,
long  ind,
long  DLend 
)

=============================================================

============================================================= Objekt typ=typ APTind=ind in der DL suchen. liefert DisplayListIndex des letzen definierten Objekts see AP_typ_2_bastyp AP_cmp_typ Hidden objects haben -1 !! Input: typ objTyp (Typ_PT ..) DBind dataBaseIndex of obj to search DLend last DL-Index to check; -1L = search in complete DL retCode = DispListIndex

int DL_find_sel ( int *  typ,
long *  ind 
)

================================================================

================================================================ find selected objectID wird genauso verwendet in GL_Redraw

int DL_pick_set ( long  ind,
int  mode 
)

===============================================================

=============================================================== Selektierbarkeit; ON od OFF. Default == pickable == 1; not pickable==0.

int DL_grp1_set ( long  ind,
int  mode 
)

===============================================================

=============================================================== Zugehoerigkeit zu Group 1; ON od OFF. Default == nicht_zugehoerig == OFF == 1; zugehoerig == ON == 0.

int DL_disp_chg (  ) 

===============================================================

=============================================================== change VIEW-Bit of complete DL

void DL_disp_set ( long  ind,
int  mode 
)

===============================================================

=============================================================== mode = ON(0) oder OFF(1,hide) setzt nur das DispListFeld.

void DL_Lay_act_g1 ( int  layNr,
int  mode 
)

***********************************************************************

void DL_Lay_typ_g1 ( int  typ,
int  mode 
)

***********************************************************************

void DL_Lay_col_g1 ( int  col,
int  mode 
)

***********************************************************************

void DL_Lay_ltyp_g1 ( int  ltyp,
int  mode 
)

***********************************************************************

void DL_Lay_thk_g1 ( int  thk,
int  mode 
)

***********************************************************************

int DL_Lay_mod ( int  layNr,
int  func,
int  mode 
)

***********************************************************************

int DL_Lay_add ( int  layNr  ) 

***********************************************************************

***********************************************************************


Generated on Sat May 30 09:31:54 2009 for gCAD3D by  doxygen 1.5.6