===================================================== Liste_Funktionen_Beginn: UI_CB_hide UI_GR_autoScal "butRes" ... DL_ReScale__ UI_GR_view UI_GR_Init UI_GR_Redraw Main RedrawFunction UI_GR_WinInit UI_GR_GLInit UI_GR_Draw When widget is exposed UI_GR_Reshape When glarea widget size changes UI_GR_MotionNotify UI_GR_CB_Sel1 CB of Select aus Popup-Men. UI_GR_CB_Sel2 CB of MouseOverPopup-Eintrag UI_GR_Select1 get objs from GL UI_GR_Select2 Popup-Eintrag selektiert UI_GR_Select3 hilite obj .. UI_GR_Sel_Filter UI_GR_ButtonPress Mousebuttons im GrafWin (selection, indicate) UI_GR_ButtonRelease UI_GR_Destroy UI_CursorWait 0=change to wait-cursor, 1=reset cursor UI_ChangeCursor UI_ResetCursor UI_GR_view_set_func unused UI_GR_view_set_Z .. UI_GR_view_set_Z1 UI_GR_setKeyFocus set focus to glarea widget UI_GR_SelVert get vertex nearest to cursor UI_GR_get_actPos_ return the active cursorPosition as string "<x> <y> <z>" UI_GR_GetdlInd get zuletzt selektierte DLIndex# UI_GR_Indicate UI_GR_Select_work1 . UI_GR_Select_work2 AP_UserSelection_reset AP_UserSelection_get UI_GR_FROM UI_GR_RAPID UI_KeyFieldWri unused Liste_Funktionen_Ende: =====================================================
#include "MS_Def1.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gdk/gdkkeysyms.h>
#include "../gtk/ut_gtk.h"
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../ut/ut_os.h"
#include "../gr/ut_gr.h"
#include "../gr/ut_DL.h"
#include "../gr/ut_UI.h"
#include "../gr/ut_GL.h"
#include "../db/ut_DB.h"
#include "../wc/ut_nc.h"
#include "../wc/wc_g.h"
#include "../wc/wc_t.h"
#include "xa.h"
#include "xa_ui.h"
#include "xa_ed.h"
#include "xa_ui_gr.h"
#include "xa_ui_cad.h"
#include "xa_ui_nc.h"
Defines | |
#define | GR_Func_Pan 1 |
#define | GR_Func_Rot 2 |
#define | GR_Func_Scl 3 |
#define | SEL_Posi2P 1 |
#define | SEL_Vert2P 2 |
#define | SEL_Obj2P 3 |
#define | SEL_dump 4 |
Functions | |
int | UI_CB_hide (GtkWidget *parent, void *data) |
int | UI_GR_autoScal () |
int | UI_GR_view (GtkWidget *parent, void *data) |
GtkWidget * | UI_GR_Init (int width, int height) |
void | UI_GR_Redraw (GtkWidget *parent, void *data) |
GtkWidget * | UI_GR_WinInit (int width, int height, int border) |
gint | UI_GR_GLInit (GtkWidget *widget) |
gint | UI_GR_Draw (GtkWidget *widget, GdkEventExpose *event) |
gint | UI_GR_Reshape (GtkWidget *widget, GdkEventConfigure *event) |
gint | UI_GR_MotionNotify (GtkWidget *widget, GdkEventMotion *event) |
gint | UI_GR_CB_Sel1 (GtkWidget *widget, GdkEventCrossing *event, gpointer data) |
gint | UI_GR_CB_Sel2 (GtkWidget *widget, GdkEventAny *event, gpointer data) |
int | UI_GR_Select1 (int mode, long *dlInd) |
int | UI_GR_Select2 (long objInd) |
int | UI_GR_Select3 (long objInd) |
int | UI_GR_Sel_Filter (int mode) |
int | GR_set_constPlnPos () |
gint | UI_GR_ButtonPress (GtkWidget *widget, GdkEventButton *event) |
gint | UI_GR_ButtonRelease (GtkWidget *widget, GdkEventButton *event) |
gint | UI_GR_Destroy (GtkWidget *widget) |
int | UI_CursorWait (int mode) |
int | UI_ChangeCursor (int newCur) |
int | UI_ResetCursor () |
void | UI_GR_view_set_func () |
void | UI_GR_view_set_Z (long objInd) |
void | UI_GR_view_set_Z1 (double zVal) |
int | UI_GR_setKeyFocus () |
int | UI_GR_SelVert (Point *pto) |
int | UI_GR_get_actPosA (Point *curPosAbs) |
int | UI_GR_get_actPos_ (char **p) |
int | UI_GR_Indicate () |
int | UI_GR_Select_work1 (long objInd) |
int | AP_UserSelection_reset () |
int | AP_UserSelection_get (int uFunc()) |
int | UI_GR_Select_work2 (int typ, long ind, char *buf, long dli) |
int | UI_GR_GetdlInd (long *ind) |
int | UI_GR_FROM (char *buf) |
int | UI_GR_RAPID (char *buf) |
int | UI_KeyFieldWri () |
Variables | |
AP_STAT | AP_stat |
progress of Start | |
GtkWidget * | UI_curPos |
int | WC_sur_ind |
Der Index auf die ActiveConstrPlane. | |
Mat_4x3 | WC_sur_mat |
TrMat of ActiveConstrPlane. | |
Mat_4x3 | WC_sur_imat |
inverse TrMat of ActiveConstrPlane | |
int | KeyStatShift |
int | KeyStatCtrl |
int | UI_Focus |
GtkWidget * | ckb_3D |
int | UI_InpMode |
int | UI_InpSM |
int | UI_InpVWZ |
int | UI_EditMode |
int | UI_stat_view |
int | UI_stat_hide |
int | UI_RelAbs |
int | APT_dispPT |
int | APT_dispPL |
int | APT_dispSOL |
DL_Att * | GR_ObjTab |
GtkWidget * | GL_widget |
int(* | UI_UserSelFunc )() |
int | KeyM1 = OFF |
int | KeyM2 = OFF |
int | KeyM3 = OFF |
static Point | GR_CurUk |
int | GR_Func_Act = 0 |
curPos in userCoords on constructionPlane | |
int | GR_Event_Act |
static long | GR_dlInd |
static long | GR_Sel_Filter = 0 |
static int | actCur = GDK_LEFT_PTR |
static char | GR_actPos [60] |
#define GR_Func_Pan 1 |
#define GR_Func_Rot 2 |
#define GR_Func_Scl 3 |
#define SEL_Posi2P 1 |
#define SEL_Vert2P 2 |
#define SEL_Obj2P 3 |
#define SEL_dump 4 |
int UI_CB_hide | ( | GtkWidget * | parent, | |
void * | data | |||
) |
int UI_GR_autoScal | ( | ) |
int UI_GR_view | ( | GtkWidget * | parent, | |
void * | data | |||
) |
GtkWidget* UI_GR_Init | ( | int | width, | |
int | height | |||
) |
void UI_GR_Redraw | ( | GtkWidget * | parent, | |
void * | data | |||
) |
GtkWidget* UI_GR_WinInit | ( | int | width, | |
int | height, | |||
int | border | |||
) |
gint UI_GR_GLInit | ( | GtkWidget * | widget | ) |
gint UI_GR_Draw | ( | GtkWidget * | widget, | |
GdkEventExpose * | event | |||
) |
gint UI_GR_Reshape | ( | GtkWidget * | widget, | |
GdkEventConfigure * | event | |||
) |
gint UI_GR_MotionNotify | ( | GtkWidget * | widget, | |
GdkEventMotion * | event | |||
) |
gint UI_GR_CB_Sel1 | ( | GtkWidget * | widget, | |
GdkEventCrossing * | event, | |||
gpointer | data | |||
) |
gint UI_GR_CB_Sel2 | ( | GtkWidget * | widget, | |
GdkEventAny * | event, | |||
gpointer | data | |||
) |
int UI_GR_Select1 | ( | int | mode, | |
long * | dlInd | |||
) |
int UI_GR_Select2 | ( | long | objInd | ) |
int UI_GR_Select3 | ( | long | objInd | ) |
int UI_GR_Sel_Filter | ( | int | mode | ) |
int GR_set_constPlnPos | ( | ) |
gint UI_GR_ButtonPress | ( | GtkWidget * | widget, | |
GdkEventButton * | event | |||
) |
callback mousebuttonpress and startDrag
gint UI_GR_ButtonRelease | ( | GtkWidget * | widget, | |
GdkEventButton * | event | |||
) |
callback buttonrelease & exit drag
gint UI_GR_Destroy | ( | GtkWidget * | widget | ) |
int UI_CursorWait | ( | int | mode | ) |
int UI_ChangeCursor | ( | int | newCur | ) |
int UI_ResetCursor | ( | ) |
void UI_GR_view_set_func | ( | ) |
void UI_GR_view_set_Z | ( | long | objInd | ) |
void UI_GR_view_set_Z1 | ( | double | zVal | ) |
int UI_GR_setKeyFocus | ( | ) |
int UI_GR_SelVert | ( | Point * | pto | ) |
get vertext nearest to cursor
int UI_GR_get_actPosA | ( | Point * | curPosAbs | ) |
get current curPos in userCoords on constructionPlane
in absolute userCoords
int UI_GR_get_actPos_ | ( | char ** | p | ) |
return (a pointer to) the active cursorPosition as string "P(<x> <y> <z>)"
int UI_GR_Indicate | ( | ) |
int UI_GR_Select_work1 | ( | long | objInd | ) |
int AP_UserSelection_reset | ( | ) |
int AP_UserSelection_get | ( | int | uFunc() | ) |
int UI_GR_Select_work2 | ( | int | typ, | |
long | ind, | |||
char * | buf, | |||
long | dli | |||
) |
int UI_GR_GetdlInd | ( | long * | ind | ) |
int UI_GR_FROM | ( | char * | buf | ) |
int UI_GR_RAPID | ( | char * | buf | ) |
int UI_KeyFieldWri | ( | ) |
GtkWidget* UI_curPos |
int WC_sur_ind |
Der Index auf die ActiveConstrPlane.
TrMat of ActiveConstrPlane.
inverse TrMat of ActiveConstrPlane
int KeyStatShift |
int KeyStatCtrl |
int UI_Focus |
GtkWidget* ckb_3D |
int UI_InpMode |
int UI_InpSM |
int UI_InpVWZ |
int UI_EditMode |
int UI_stat_view |
int UI_stat_hide |
int UI_RelAbs |
int APT_dispPT |
int APT_dispPL |
int APT_dispSOL |
GtkWidget* GL_widget |
int(* UI_UserSelFunc)() |
int KeyM1 = OFF |
int KeyM2 = OFF |
int KeyM3 = OFF |
int GR_Func_Act = 0 |
curPos in userCoords on constructionPlane
int GR_Event_Act |
long GR_dlInd [static] |
long GR_Sel_Filter = 0 [static] |
int actCur = GDK_LEFT_PTR [static] |
char GR_actPos[60] [static] |