#include <view.h>
Inheritance diagram for Surf3d:

Public Member Functions | |
| Surf3d () | |
| Surf3d (Scan *sc, int ChNo) | |
| virtual | ~Surf3d () |
| virtual void | hide () |
| virtual int | draw (int zoomoverride=FALSE) |
| virtual int | update (int y1, int y2) |
| virtual void | ZoomIn () |
| virtual void | ZoomOut () |
| virtual void | setup_data_transformation () |
| gboolean | GLdrawscene (int y_to_update=-1, int refresh_all=FALSE) |
| gboolean | reshape (GtkWidget *widget, GdkEventConfigure *event) |
| void | Rotate (int n, double dphi) |
| void | RotateAbs (int n, double phi) |
| double | RotateX (double dphi) |
| double | RotateY (double dphi) |
| double | RotateZ (double dphi) |
| void | Translate (int n, double delta) |
| double | Zoom (double x) |
| double | HeightSkl (double x) |
| void | ColorSrc () |
| void | GLModes (int n, int m) |
| void | preferences () |
| Surf3d () | |
| Surf3d (Scan *sc, int ChNo) | |
| virtual | ~Surf3d () |
| virtual void | hide () |
| virtual int | draw (int zoomoverride=FALSE) |
| virtual int | update (int y1, int y2) |
| virtual void | ZoomIn () |
| virtual void | ZoomOut () |
| virtual void | setup_data_transformation () |
| gboolean | GLdrawscene (int y_to_update=-1, int refresh_all=FALSE) |
| gboolean | reshape (GtkWidget *widget, GdkEventConfigure *event) |
| void | Rotate (int n, double dphi) |
| void | RotateAbs (int n, double phi) |
| double | RotateX (double dphi) |
| double | RotateY (double dphi) |
| double | RotateZ (double dphi) |
| void | Translate (int n, double delta) |
| double | Zoom (double x) |
| double | HeightSkl (double x) |
| void | ColorSrc () |
| void | GLModes (int n, int m) |
| void | preferences () |
Static Public Member Functions | |
| static void | GLupdate (void *data) |
| static void | GLupdate (void *data) |
Public Attributes | |
| int | GL_realized |
| Surf3d_GLview_data | GLv_data |
Private Member Functions | |
| void | PutPointMode (int k, int j) |
| void | ReadPalette (char *name) |
| void | GLvarinit () |
| int | GetSmem () |
| int | DelSmem () |
| void | GLdrawsurface (int y_to_update=-1, int refresh_all=FALSE) |
| void | GLdrawGimmicks () |
| void | printstring (void *font, char *string) |
| void | calccolor (GLfloat height, GLfloat c[3]) |
| void | PutPointMode (int k, int j) |
| void | ReadPalette (char *name) |
| void | GLvarinit () |
| int | GetSmem () |
| int | DelSmem () |
| void | GLdrawsurface (int y_to_update=-1, int refresh_all=FALSE) |
| void | GLdrawGimmicks () |
| void | printstring (void *font, char *string) |
| void | calccolor (GLfloat height, GLfloat c[3]) |
Private Attributes | |
| int | XPM_x |
| int | XPM_y |
| Mem2d * | mem2d_x |
| GnomeResPreferences * | v3dControl_pref_dlg |
| GnomeResEntryInfoType * | v3dControl_pref_def |
| GLfloat * | surface |
| GLfloat ** | surfacecolor |
| GLubyte * | surfacepic |
| GLuint | glZeroFrameList |
| GLuint | glSurfaceList |
| GLuint | glSurfaceListRange |
| GLfloat | ColorLookup [1024][3] |
| int | valid |
| unsigned long | size |
| int | scrwidth |
| int | scrheight |
| V3dControl * | v3dcontrol |
| Mem2d * | mem2d_x |
| GnomeResPreferences * | v3dControl_pref_dlg |
| GnomeResEntryInfoType * | v3dControl_pref_def |
| GLfloat * | surface |
| GLfloat ** | surfacecolor |
| GLubyte * | surfacepic |
| V3dControl * | v3dcontrol |
Definition at line 259 of file view.h.
|
|
Definition at line 187 of file vsurf3d.C. References GLvarinit(), and v3dcontrol. |
|
||||||||||||
|
Definition at line 181 of file vsurf3d.C. References DBG_L2, GLvarinit(), v3dcontrol, and XSM_DEBUG. |
|
|
Definition at line 192 of file vsurf3d.C. References DBG_L2, DelSmem(), gnome_res_destroy(), hide(), v3dControl_pref_def, v3dControl_pref_dlg, and XSM_DEBUG. |
|
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 545 of file vsurf3d.C. Referenced by PutPointMode(). |
|
|
|
|
|
Definition at line 475 of file vsurf3d.C. References Surf3d_GLview_data::ColorSrc, draw(), ERR_NO2SRC, ERR_SORRY, Surface::FindChan(), gapp, GLv_data, HINT_MAKESRC2, ID_CH_M_X, Scan::mem2d, mem2d_x, Surface::scan, App::xsm, and XSM_SHOW_ALERT. Referenced by GLupdate(). |
|
|
|
|
|
Definition at line 366 of file vsurf3d.C. References size, surface, surfacecolor, and valid. |
|
|
Reimplemented from View. |
|
|
Reimplemented from View. Definition at line 1245 of file vsurf3d.C. References View::ChanNo, configure_event(), DBG_L2, DBG_L5, expose_event(), V3dControl::GetGlarea(), GL_realized, View::mem2d, realize(), View::scan, v3dcontrol, and XSM_DEBUG. Referenced by ColorSrc(), and HeightSkl(). |
|
|
|
|
|
Definition at line 319 of file vsurf3d.C. References View::ChanNo, View::data, DelSmem(), ERR_NOMEM, Mem2d::GetEname(), Mem2d::GetNx(), Mem2d::GetNy(), GLv_data, View::mem2d, Scan_UserInfo::name, Surf3d_GLview_data::preV, View::QuenchFac, scrwidth, V3dControl::SetTitle(), size, surface, surfacecolor, SCAN_DATA::ui, v3dcontrol, XPM_x, XPM_y, and XSM_SHOW_MESSAGES. Referenced by reshape(). |
|
|
|
|
|
Definition at line 626 of file vsurf3d.C. References buf, Mem2d::data, DrawOneLine, Mem2d::GetDataVMode(), Mem2d::GetNx(), Mem2d::GetNy(), ZData::GetXLookup(), ZData::GetYLookup(), View::mem2d, printstring(), XPM_x, and XPM_y. |
|
||||||||||||
|
|
|
||||||||||||
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 724 of file vsurf3d.C. References Surf3d_GLview_data::box_mat_ambient, Surf3d_GLview_data::box_mat_color, Surf3d_GLview_data::box_mat_diffuse, Surf3d_GLview_data::box_mat_shininess, Surf3d_GLview_data::box_mat_specular, DBG_L4, GLv_data, glZeroFrameList, surface, XPM_x, XPM_y, XSM_DEBUG, and Surf3d_GLview_data::ZeroPlane. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 496 of file vsurf3d.C. References Surf3d_GLview_data::Cull, V3dControl::GetGlarea(), GLv_data, ID_GL_Cull, ID_GL_Mesh, ID_GL_nZP, ID_GL_Smooth, ID_GL_Ticks, Surf3d_GLview_data::Mesh, Surf3d_GLview_data::Smooth, Surf3d_GLview_data::Ticks, v3dcontrol, and Surf3d_GLview_data::ZeroPlane. |
|
|
|
|
|
Definition at line 310 of file vsurf3d.C. References ColorSrc(), V3dControl::GetGlarea(), reshape(), and v3dcontrol. Referenced by GLvarinit(). |
|
|
|
|
|
Definition at line 263 of file vsurf3d.C. References FALSE, GL_realized, glSurfaceList, glSurfaceListRange, GLupdate(), GLv_data, glZeroFrameList, GNOME_RES_LAST, mem2d_x, scrwidth, size, surface, surfacecolor, GnomeResEntryInfoType::type, v3dControl_pref_def, v3dControl_pref_def_const, valid, GnomeResEntryInfoType::var, XPM_x, XPM_y, and View::ZoomFac. Referenced by Surf3d(). |
|
|
|
|
|
Definition at line 469 of file vsurf3d.C. References draw(), GLv_data, and Surf3d_GLview_data::hskl. Referenced by V3dControl::view_GL_Wh_Zskl_callback(). |
|
|
Reimplemented from View. |
|
|
Reimplemented from View. Definition at line 201 of file vsurf3d.C. References DBG_L2, v3dcontrol, and XSM_DEBUG. Referenced by ~Surf3d(). |
|
|
|
|
|
Definition at line 1269 of file vsurf3d.C. References gnome_res_run_change_user_config(), and v3dControl_pref_dlg. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 416 of file vsurf3d.C. Referenced by GLdrawGimmicks(). |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 208 of file vsurf3d.C. References calccolor(), Surf3d_GLview_data::ColorContrast, ColorLookup, Surf3d_GLview_data::ColorMode, Surf3d_GLview_data::ColorOffset, Surf3d_GLview_data::ColorSat, Surf3d_GLview_data::ColorSrc, Mem2d::GetDataRange(), Mem2d::GetDataVMode(), Mem2d::GetNx(), Mem2d::GetNy(), GLv_data, Surf3d_GLview_data::hskl, View::mem2d, mem2d_x, View::QuenchFac, size, Surf3d_GLview_data::surf_mat_color, surface, surfacecolor, XPM_x, and ZRANGE_MAPPED. Referenced by update(). |
|
|
|
|
|
Definition at line 514 of file vsurf3d.C. References ColorLookup. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 385 of file vsurf3d.C. References DBG_L2, FALSE, Surf3d_GLview_data::fov, GetSmem(), GLv_data, scrheight, scrwidth, TRUE, XPM_x, XSM_DEBUG, Surf3d_GLview_data::Zfar, and Surf3d_GLview_data::Znear. Referenced by GLupdate(). |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 430 of file vsurf3d.C. References GLv_data, and Surf3d_GLview_data::rot. |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 424 of file vsurf3d.C. References V3dControl::GetGlarea(), GLv_data, Surf3d_GLview_data::rot, and v3dcontrol. |
|
|
|
|
|
Definition at line 439 of file vsurf3d.C. References V3dControl::GetGlarea(), GLv_data, Surf3d_GLview_data::rot, and v3dcontrol. Referenced by V3dControl::view_GL_Wh_rotX_callback(). |
|
|
|
|
|
Definition at line 446 of file vsurf3d.C. References V3dControl::GetGlarea(), GLv_data, Surf3d_GLview_data::rot, and v3dcontrol. Referenced by V3dControl::view_GL_Wh_rotY_callback(). |
|
|
|
|
|
Definition at line 453 of file vsurf3d.C. References V3dControl::GetGlarea(), GLv_data, Surf3d_GLview_data::rot, and v3dcontrol. Referenced by V3dControl::view_GL_Wh_rotZ_callback(). |
|
|
Reimplemented from View. |
|
|
Reimplemented from View. Definition at line 588 of file vsurf3d.C. References View::data, SCAN_DATA::display, View::mem2d, Mem2d::SetDataPktMode(), Mem2d::SetDataRange(), Display_Param::ViewFlg, and ZRANGE_MAPPED. Referenced by update(). |
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 460 of file vsurf3d.C. References GLv_data, and Surf3d_GLview_data::trans. |
|
||||||||||||
|
Reimplemented from View. |
|
||||||||||||
|
Reimplemented from View. Definition at line 593 of file vsurf3d.C. References V3dControl::GetGlarea(), Mem2d::GetNx(), View::mem2d, PutPointMode(), View::QuenchFac, setup_data_transformation(), v3dcontrol, and valid. |
|
|
|
|
|
Definition at line 462 of file vsurf3d.C. References Surf3d_GLview_data::dist, V3dControl::GetGlarea(), GLv_data, and v3dcontrol. Referenced by V3dControl::V3dControl(), and V3dControl::view_GL_Wh_zoom_callback(). |
|
|
Reimplemented from View. |
|
|
Reimplemented from View. |
|
|
Reimplemented from View. |
|
|
Reimplemented from View. |
|
|
Definition at line 313 of file view.h. Referenced by PutPointMode(), and ReadPalette(). |
|
|
Definition at line 322 of file view.h. Referenced by draw(), and GLvarinit(). |
|
|
Definition at line 312 of file view.h. Referenced by GLvarinit(). |
|
|
Definition at line 312 of file view.h. Referenced by GLvarinit(). |
|
|
Definition at line 323 of file view.h. Referenced by ColorSrc(), GetSmem(), GLdrawscene(), GLdrawsurface(), GLModes(), GLvarinit(), HeightSkl(), PutPointMode(), reshape(), Rotate(), RotateAbs(), RotateX(), RotateY(), RotateZ(), Translate(), and Zoom(). |
|
|
Definition at line 312 of file view.h. Referenced by GLdrawsurface(), and GLvarinit(). |
|
|
|
|
|
Definition at line 296 of file view.h. Referenced by ColorSrc(), GLvarinit(), and PutPointMode(). |
|
|
Definition at line 319 of file view.h. Referenced by reshape(). |
|
|
Definition at line 318 of file view.h. Referenced by GetSmem(), GLvarinit(), and reshape(). |
|
|
Definition at line 316 of file view.h. Referenced by DelSmem(), GetSmem(), GLvarinit(), and PutPointMode(). |
|
|
|
|
|
Definition at line 309 of file view.h. Referenced by DelSmem(), GetSmem(), GLdrawsurface(), GLvarinit(), and PutPointMode(). |
|
|
|
|
|
Definition at line 310 of file view.h. Referenced by DelSmem(), GetSmem(), GLvarinit(), and PutPointMode(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 326 of file view.h. Referenced by draw(), GetSmem(), GLdrawscene(), GLModes(), GLupdate(), hide(), RotateAbs(), RotateX(), RotateY(), RotateZ(), Surf3d(), update(), and Zoom(). |
|
|
|
|
|
Definition at line 299 of file view.h. Referenced by GLvarinit(), and ~Surf3d(). |
|
|
|
|
|
Definition at line 298 of file view.h. Referenced by preferences(), and ~Surf3d(). |
|
|
Definition at line 315 of file view.h. Referenced by DelSmem(), GLdrawscene(), GLvarinit(), and update(). |
|
|
Definition at line 295 of file view.h. Referenced by GetSmem(), GLdrawGimmicks(), GLdrawscene(), GLdrawsurface(), GLvarinit(), PutPointMode(), and reshape(). |
|
|
Definition at line 295 of file view.h. Referenced by GetSmem(), GLdrawGimmicks(), GLdrawsurface(), and GLvarinit(). |
1.4.6