gCAD3D 2.40
xa_edmpt.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_txfil.h"
#include "../ut/ut_txTab.h"
#include "../ut/ut_memTab.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_os.h"
#include "../gui/gui__.h"
#include "../db/ut_DB.h"
#include "../ut/func_types.h"
#include "../gr/ut_GL.h"
#include "../xa/xa_ed_mem.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_ui.h"
#include "../xa/xa_msg.h"
#include "../xa/xa_sele.h"
#include "../xa/xa_ato.h"

Macros

#define TRUE   1
 
#define FALSE   0
 
#define EDMPT_SYM_COL   ATT_COL_RED
 
#define EDMPT_SYM_ID   SYM_TRI_B
 
#define DLI_TMP_POS   -2L
 
#define DLI_TMP_CUR   -3L
 
#define DLI_TMP_CV   -4L
 
#define pTabSiz   16
 

Functions

 typedef_MemTab (ObjDB)
 
static MemTab (ObjDB)
 
int EDMPT_key_CB (int iKey)
 
int EDMPT_sel_CB (int src, long dl_ind)
 
int EDMPT_obj_get ()
 
int EDMPT_msg_mode ()
 
int EDMPT_curSym_set (Point *pc)
 
int EDMPT_mousemove_CB (int dx, int dy)
 
int EDMPT_upd_stop ()
 
Point EDMPT_newPos__ ()
 
int EDMPT_points (int mode, int ii)
 
int EDMPT_src_get_src (char **txso)
 
int EDMPT_src_get__ (char **txso, int *bufSiz)
 
int EDMPT_src_save (int mode)
 
int EDMPT_linked__ ()
 
MemObj EDMPT_win__ (MemObj *parent, void *data)
 
int EDMPT_CB1 (MemObj *mo, void **data)
 
int EDMPT_off_CB (MemObj *mo, void **data)
 
int EDMPT_len_CB (MemObj *mo, void **data)
 
int EDMPT_ptab_get ()
 
int EDMPT_dump_atab ()
 
int EDMPT_dump_ptab ()
 
int EDMPT_wri_src (char *cBuf)
 
int EDMPT_rea_src (char *cBuf, int bufSiz)
 
int EDMPT_exit_1 ()
 
int EDMPT_save__ ()
 
int EDMPT_src_mod (char *cBuf, int siz)
 
int EDMPT_src_del (char *cBuf)
 
int EDMPT_src_ins (char *cBuf, int bufSiz)
 
int EDMPT_get_tabInd (int ipt)
 
int EDMPT_restart_lnk ()
 
int EDMPT_exit_2 ()
 
int EDMPT_mem_free ()
 
int EDMPT_dep_sav (MemTab(ObjSRC)*depTab)
 
int EDMPT_mod_dep_draw__ ()
 
int EDMPT_get_offObj ()
 
int EDMPT_del__ ()
 
int EDMPT_ins_pt ()
 
int EDMPT_lock ()
 
int EDMPT_unlock ()
 
int EDMPT_fixed_0 ()
 
int EDMPT_test__ ()
 

Variables

int WC_sur_ind
 Der Index auf die ActiveConstrPlane. More...
 
Plane WC_sur_act
 the active construction-plane More...
 
Mat_4x3 WC_sur_mat
 
Mat_4x3 WC_sur_imat
 inverse TrMat of ActiveConstrPlane More...
 
MemObj UIw_Box_TB
 
int KeyStatAlt
 
int KeyStatShift
 
char * APT_defTxt
 
static MemObj PEDtb =GUI_OBJ_NEW
 
static int actTyp
 
static int basTyp
 
static long actDbi
 
static long actDli
 
static long actlNr
 
static void * actObj
 
static ObjAto actAto = _ATO_NUL
 
static ObjTXTSRCactTxo =NULL
 
static PointactPta =NULL
 
static int * pMod =NULL
 
static int actPtn
 
static long actPti
 
static PointactPtp
 
static int actInd
 
static unsigned int actAtt
 
static long dynPti
 

Macro Definition Documentation

#define TRUE   1
#define FALSE   0
#define EDMPT_SYM_COL   ATT_COL_RED
#define EDMPT_SYM_ID   SYM_TRI_B
#define DLI_TMP_POS   -2L
#define DLI_TMP_CUR   -3L
#define DLI_TMP_CV   -4L
#define pTabSiz   16

Function Documentation

typedef_MemTab ( ObjDB  )
static MemTab ( ObjDB  )
static
int EDMPT_key_CB ( int  iKey)
int EDMPT_sel_CB ( int  src,
long  dl_ind 
)
int EDMPT_obj_get ( )
int EDMPT_msg_mode ( )
int EDMPT_curSym_set ( Point pc)
int EDMPT_mousemove_CB ( int  dx,
int  dy 
)
int EDMPT_upd_stop ( )
Point EDMPT_newPos__ ( )
int EDMPT_points ( int  mode,
int  ii 
)
int EDMPT_src_get_src ( char **  txso)
int EDMPT_src_get__ ( char **  txso,
int *  bufSiz 
)
int EDMPT_src_save ( int  mode)
int EDMPT_linked__ ( )
MemObj EDMPT_win__ ( MemObj parent,
void *  data 
)
int EDMPT_CB1 ( MemObj mo,
void **  data 
)
int EDMPT_off_CB ( MemObj mo,
void **  data 
)
int EDMPT_len_CB ( MemObj mo,
void **  data 
)
int EDMPT_ptab_get ( )
int EDMPT_dump_atab ( )
int EDMPT_dump_ptab ( )
int EDMPT_wri_src ( char *  cBuf)
int EDMPT_rea_src ( char *  cBuf,
int  bufSiz 
)
int EDMPT_exit_1 ( )
int EDMPT_save__ ( )
int EDMPT_src_mod ( char *  cBuf,
int  siz 
)
int EDMPT_src_del ( char *  cBuf)
int EDMPT_src_ins ( char *  cBuf,
int  bufSiz 
)
int EDMPT_get_tabInd ( int  ipt)
int EDMPT_restart_lnk ( )
int EDMPT_exit_2 ( )
int EDMPT_mem_free ( )
int EDMPT_dep_sav ( MemTab(ObjSRC)*  depTab)
int EDMPT_mod_dep_draw__ ( )
int EDMPT_get_offObj ( )
int EDMPT_del__ ( )
int EDMPT_ins_pt ( )
int EDMPT_lock ( )
int EDMPT_unlock ( )
int EDMPT_fixed_0 ( )
int EDMPT_test__ ( )

Variable Documentation

int WC_sur_ind

Der Index auf die ActiveConstrPlane.

Plane WC_sur_act

the active construction-plane

Mat_4x3 WC_sur_mat

TrMat of ActiveConstrPlane only if (WC_sur_ind > 0)

Mat_4x3 WC_sur_imat

inverse TrMat of ActiveConstrPlane

MemObj UIw_Box_TB
int KeyStatAlt
int KeyStatShift
char* APT_defTxt
MemObj PEDtb =GUI_OBJ_NEW
static
int actTyp
static
int basTyp
static
long actDbi
static
long actDli
static
long actlNr
static
void* actObj
static
ObjAto actAto = _ATO_NUL
static
ObjTXTSRC* actTxo =NULL
static
Point* actPta =NULL
static
int* pMod =NULL
static
int actPtn
static
long actPti
static
Point* actPtp
static
int actInd
static
unsigned int actAtt
static
long dynPti
static