xa_tra.c File Reference


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 !)

#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 "../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 ind)
int UI_WinTra_CB (GtkWidget *parent, GdkEventAny *event)
int UI_WinTra__ (void *parent, void *data)

Variables

struct {
   GtkWidget *   wa0 [5]
   GtkWidget *   wa1 [4]
   GtkWidget *   wa2 [7]
   GtkWidget *   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 []


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  ind 
)

int UI_WinTra_CB ( GtkWidget *  parent,
GdkEventAny *  event 
)

click or key into inputField

int UI_WinTra__ ( void *  parent,
void *  data 
)

das Search/Delete-Window


Variable Documentation

GtkWidget* wa0[5]

GtkWidget* wa1[4]

GtkWidget* wa2[7]

GtkWidget* 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_PT, Typ_PT, Typ_PT }
    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_PT, Typ_PT, Typ_PT, Typ_PT }

int otra_typ2[] [static]

Initial value:

{
   Typ_PT, Typ_PT, Typ_PT, Typ_PT, Typ_PT, Typ_PT, Typ_PT }


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