xa_tra.c File Reference

userInterface Modify_Modelposition UI_Tra_ More...

#include "MS_Def0.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gdk/gdkkeysyms.h>
#include "../gtk/ut_gtk.h"
#include "../ut/ut_geo.h"
#include "../ut/ut_cast.h"
#include "../ut/types_gui.h"
#include "../db/ut_DB.h"
#include "../gr/ut_UI.h"
#include "../xa/xa_uid.h"
#include "../xa/xa_mem.h"

Functions

int UI_Tra_Mod ()
int UI_Tra_nb_cb (int pgNr)
int UI_Tra__ (long dli, int typ, long dbi)
int UI_WinTra_CB (void *parent, void *event)
int UI_WinTra__ (void *parent, void *data)

Variables

struct {
   void *   wa0 [5]
   void *   wa1 [4]
   void *   wa2 [7]
   void *   lb_m
   ModelRef   mr0
   ModelRef   mr1
   long   dli
   int   typ
   int   ind
   int   lNr
   char   fnc
   char   inr
   char   stat
   char   mode
   char   modi
otra
static int otra_typ0 []
static int otra_typ1 []
static int otra_typ2 []

Detailed Description

userInterface Modify_Modelposition UI_Tra_

=====================================================
Liste_Funktionen_Beginn:

UI_WinTra__       main-Window
UI_Tra_nb_cb      callback of switch-notebook-page
UI_Tra__          main-callback (selection)
UI_WinTra_CB      click or key into inputField
UI_Tra_Mod        .

Liste_Funktionen_Ende:
=====================================================



----------ProgramFlow--------:
UI_menCB |ModPos|
  UI_GR_Sel_Filter(16);
UI_GR_Select_work1
  UI_Tra__



===========================================================================
Translation   Point to Point; in plane oder along axis oder distance
              along axis oder innerhalb einer Ebene
              zu einem Zentrierungspunkt
                (aus 2 Punkten, aus 3 Punkten, aus Kreis ..)

Rotation      around axis - Richtung  od 2 Punkte
              Angle  (Keyin od Slider)

Surface-Surface         origin-kante pt


Snaps         Surface to Surface  (+ Reverse)
              bei varicad sehr umfangreich  Endpoint Midpoint Circle ..



 cuts all dependencies !
 die neue Posi wird direkt in die aktive Memory-Zeile eingetragen
 (der alte Code wird ersetzt !)

Function Documentation

int UI_Tra_Mod (  ) 

mode 0=Init; 1=Preview; 2=Reset; 3=save; 4=Exit

int UI_Tra_nb_cb ( int  pgNr  ) 

callback of switch-notebook-page

int UI_Tra__ ( long  dli,
int  typ,
long  dbi 
)
int UI_WinTra_CB ( void *  parent,
void *  event 
)

click or key into inputField

int UI_WinTra__ ( void *  parent,
void *  data 
)

Variable Documentation

void* wa0[5]
void* wa1[4]
void* wa2[7]
void* lb_m
long dli
int typ
int ind
int lNr
char fnc
char inr
char stat
char mode
char modi
struct { ... } otra [static]
int otra_typ0[] [static]
Initial value:
{
   Typ_PT, Typ_PT, Typ_LN, Typ_Val, Typ_Val }
    wa0     EntryFelder TRANSL
    wa1     EntryFelder ROT
    wa2     EntryFelder Surf
    fnc     active function; 0=Transl, 1=Rot, 2=Surf
    mode    0=Init; 1=Preview; 2=Reset; 3=save; 4=Exit
    stat    1=panelLeer;
    modi    0=unmodified; 1=modfied
    inr     active inputField
int otra_typ1[] [static]
Initial value:
{
   Typ_LN, Typ_PT, Typ_Val, Typ_Val }
int otra_typ2[] [static]
Initial value:
{
   Typ_PT, Typ_PT, Typ_PT, Typ_PT, Typ_PT, Typ_PT, Typ_PT }
Generated on Fri Apr 6 09:40:11 2012 for gCAD3D by  doxygen 1.6.3