#include "Inform.h"#include "MainFltkMenu.h"#include "FL/Fl_Menu_Bar.H"#include "FL/Fl_Menu_Button.H"#include "FL/Fl_Menu_Item.H"#include "MolBrowser.h"#include "frame_selector.h"#include "FL/Fl_Radio_Button.H"#include "FL/Fl_Value_Slider.H"#include "FL/Fl_Int_Input.H"#include "TextEvent.h"#include "FL/fl_file_chooser.H"#include "FL/forms.H"#include "VMDApp.h"#include "VMDMenu.h"#include "CommandQueue.h"#include "CmdMenu.h"#include "CmdAnimate.h"#include "Mouse.h"#include "FPS.h"#include "Stage.h"#include "Axes.h"#include "Scene.h"#include "Animation.h"#include "DisplayDevice.h"#include "PickModeList.h"Go to the source code of this file.
Defines | |
| #define | EXT_MENU_NAME "Extensions" |
| #define | MAINFLTKMENUHEIGHT 190 |
| #define | MAINFLTKMENUWIDTH 470 |
Enumerations | |
| enum | DispMenu { DM_RESETVIEW = 0, DM_STOPROTATION, DM_PERSPECTIVE, DM_ORTHOGRAPHIC, DM_ANTIALIASING, DM_DEPTHCUEING, DM_FPS, DM_LIGHT0, DM_LIGHT1, DM_LIGHT2, DM_LIGHT3, DM_AXES, DM_BACKGROUND, DM_STAGE, DM_STEREO, DM_STEREOEYESWAP, DM_RENDERMODE, DM_DISPSETTINGS, DM_LASTMENUITEM } |
Functions | |
| void | menu_cb (Fl_Widget *w, void *v) |
| void | loadnew_cb (Fl_Widget *w, void *v) |
| void | render_cb (Fl_Widget *w, void *v) |
| void | savestate_cb (Fl_Widget *w, void *) |
| void | logfile_cb (Fl_Widget *w, void *) |
| void | logconsole_cb (Fl_Widget *w, void *) |
| void | logoff_cb (Fl_Widget *w, void *) |
| void | quit_cb (Fl_Widget *w, void *) |
| void | aa_cb (Fl_Widget *w, void *) |
| void | depthcue_cb (Fl_Widget *w, void *) |
| void | fps_cb (Fl_Widget *w, void *) |
| void | light_cb (Fl_Widget *w, void *v) |
| void | stage_cb (Fl_Widget *w, void *v) |
| void | axes_cb (Fl_Widget *w, void *v) |
| void | backgroundmode_cb (Fl_Widget *w, void *v) |
| void | stereo_cb (Fl_Widget *w, void *v) |
| void | stereoswap_cb (Fl_Widget *w, void *v) |
| void | rendermode_cb (Fl_Widget *w, void *v) |
| void | resetview_cb (Fl_Widget *w, void *) |
| void | stoprotation_cb (Fl_Widget *w, void *) |
| void | proj_cb (Fl_Widget *w, void *) |
| void | mouse_cb (Fl_Widget *w, void *v) |
| void | move_light_cb (Fl_Widget *w, void *v) |
| void | help_cb (Fl_Widget *w, void *v) |
| void | mol_top_cb (Fl_Widget *w, void *v) |
| void | mol_active_cb (Fl_Widget *w, void *v) |
| void | mol_displayed_cb (Fl_Widget *w, void *v) |
| void | mol_fixed_cb (Fl_Widget *w, void *v) |
| void | mol_rename_cb (Fl_Widget *w, void *v) |
| void | mol_cancel_cb (Fl_Widget *w, void *v) |
| void | mol_delete_ts_cb (Fl_Widget *w, void *v) |
| void | mol_delete_cb (Fl_Widget *w, void *v) |
| void | loadstate_cb (Fl_Widget *w, void *v) |
| void | cb_cb (Fl_Widget *w, void *v) |
| void | curframe_cb (Fl_Widget *w, void *v) |
| void | start_cb (Fl_Widget *, void *v) |
| void | stop_cb (Fl_Widget *, void *v) |
| void | prev_cb (Fl_Widget *, void *v) |
| void | next_cb (Fl_Widget *, void *v) |
| void | forward_cb (Fl_Widget *w, void *v) |
| void | reverse_cb (Fl_Widget *w, void *v) |
| void | style_cb (Fl_Widget *w, void *v) |
| void | step_cb (Fl_Widget *w, void *v) |
| void | speed_cb (Fl_Widget *w, void *v) |
Variables | |
| const MenuBehavior | file_menu_behavior [] |
| const Fl_Menu_Item | init_file_menuitems [] |
| const MenuBehavior | molecule_menu_behavior [] |
| const Fl_Menu_Item | init_molecule_menuitems [] |
| const MenuBehavior | browserpopup_menu_behavior [] |
| const Fl_Menu_Item | init_browserpopup_menuitems [] |
| const Fl_Menu_Item | graphics_menuitems [] |
| int | cbdata [] |
| const Fl_Menu_Item | init_display_menuitems [] |
| const Fl_Menu_Item | init_mouse_menuitems [] |
| const Fl_Menu_Item | init_help_menuitems [] |
|
|
Definition at line 43 of file MainFltkMenu.C. Referenced by MainFltkMenu::act_on_command, and MainFltkMenu::MainFltkMenu. |
|
|
Definition at line 851 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Definition at line 859 of file MainFltkMenu.C. Referenced by MainFltkMenu::draw, and MainFltkMenu::MainFltkMenu. |
|
|
Definition at line 483 of file MainFltkMenu.C. |
|
||||||||||||
|
Definition at line 138 of file MainFltkMenu.C. References VMDApp::display_set_aa. |
|
||||||||||||
|
Definition at line 177 of file MainFltkMenu.C. References VMDApp::axes_set_location. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 183 of file MainFltkMenu.C. References VMDApp::display_set_background_mode. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 611 of file MainFltkMenu.C. |
|
||||||||||||
|
Definition at line 641 of file MainFltkMenu.C. References VMDApp::animation_set_frame, VMDApp::molecule_numframes, and VMDApp::molecule_top. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 144 of file MainFltkMenu.C. References VMDApp::display_set_depthcue. |
|
||||||||||||
|
Definition at line 671 of file MainFltkMenu.C. References Animation::ANIM_FORWARD, Animation::ANIM_PAUSE, and VMDApp::animation_set_dir. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 158 of file MainFltkMenu.C. References VMDApp::display_set_fps. |
|
||||||||||||
|
Definition at line 250 of file MainFltkMenu.C. References VMDApp::commandQueue, and CommandQueue::runcommand. |
|
||||||||||||
|
Definition at line 164 of file MainFltkMenu.C. References VMDApp::light_on. |
|
||||||||||||
|
Definition at line 68 of file MainFltkMenu.C. References VMDApp::menu_select_mol, and VMDApp::menu_show. |
|
||||||||||||
|
Definition at line 367 of file MainFltkMenu.C. References VMDApp::commandQueue, CommandQueue::runcommand, and VMDApp::vmd_choose_file. |
|
||||||||||||
|
Definition at line 120 of file MainFltkMenu.C. References VMDApp::commandQueue, and CommandQueue::runcommand. |
|
||||||||||||
|
Definition at line 104 of file MainFltkMenu.C. References VMDApp::commandQueue, CommandQueue::runcommand, and VMDApp::vmd_choose_file. |
|
||||||||||||
|
Definition at line 126 of file MainFltkMenu.C. References VMDApp::commandQueue, and CommandQueue::runcommand. |
|
||||||||||||
|
Definition at line 61 of file MainFltkMenu.C. References VMDApp::menu_show. Referenced by MainFltkMenu::act_on_command. |
|
||||||||||||
|
Definition at line 267 of file MainFltkMenu.C. References VMDApp::molecule_activate, VMDApp::molecule_id, and VMDApp::molecule_is_active. |
|
||||||||||||
|
Definition at line 320 of file MainFltkMenu.C. References VMDApp::molecule_cancel_io, and VMDApp::molecule_id. |
|
||||||||||||
|
Definition at line 354 of file MainFltkMenu.C. References ResizeArray::append, VMDApp::molecule_delete, VMDApp::molecule_id, and ResizeArray::num. |
|
||||||||||||
|
Definition at line 331 of file MainFltkMenu.C. References frame_delete_selector, VMDApp::molecule_deleteframes, VMDApp::molecule_id, VMDApp::molecule_name, and VMDApp::molecule_numframes. |
|
||||||||||||
|
Definition at line 278 of file MainFltkMenu.C. References VMDApp::molecule_display, VMDApp::molecule_id, and VMDApp::molecule_is_displayed. |
|
||||||||||||
|
Definition at line 289 of file MainFltkMenu.C. References VMDApp::molecule_fix, VMDApp::molecule_id, and VMDApp::molecule_is_fixed. |
|
||||||||||||
|
Definition at line 301 of file MainFltkMenu.C. References VMDApp::molecule_id, VMDApp::molecule_name, and VMDApp::molecule_rename. |
|
||||||||||||
|
Definition at line 256 of file MainFltkMenu.C. References VMDApp::molecule_id, and VMDApp::molecule_make_top. |
|
||||||||||||
|
Definition at line 240 of file MainFltkMenu.C. References VMDApp::mouse_set_mode. |
|
||||||||||||
|
Definition at line 245 of file MainFltkMenu.C. References Mouse::LIGHT, and VMDApp::mouse_set_mode. |
|
||||||||||||
|
Definition at line 666 of file MainFltkMenu.C. References Animation::ANIM_FORWARD1, and VMDApp::animation_set_dir. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 661 of file MainFltkMenu.C. References Animation::ANIM_REVERSE1, and VMDApp::animation_set_dir. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 234 of file MainFltkMenu.C. References VMDApp::display_set_projection. |
|
||||||||||||
|
Definition at line 132 of file MainFltkMenu.C. References VMDApp::VMDexit. |
|
||||||||||||
|
Definition at line 91 of file MainFltkMenu.C. References VMDApp::menu_show. |
|
||||||||||||
|
Definition at line 217 of file MainFltkMenu.C. References VMDApp::display_set_rendermode. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 223 of file MainFltkMenu.C. References VMDApp::scene_resetview, and VMDApp::scene_stoprotation. |
|
||||||||||||
|
Definition at line 680 of file MainFltkMenu.C. References Animation::ANIM_PAUSE, Animation::ANIM_REVERSE, and VMDApp::animation_set_dir. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 97 of file MainFltkMenu.C. References VMDApp::save_state. |
|
||||||||||||
|
Definition at line 701 of file MainFltkMenu.C. References VMDApp::animation_set_speed. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 171 of file MainFltkMenu.C. References VMDApp::stage_set_location. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 651 of file MainFltkMenu.C. References VMDApp::animation_set_frame. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 695 of file MainFltkMenu.C. References VMDApp::animation_set_stride. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 193 of file MainFltkMenu.C. References VMDApp::display_set_stereo. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 199 of file MainFltkMenu.C. References VMDApp::display_set_stereo_swap. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 656 of file MainFltkMenu.C. References VMDApp::animation_set_frame. Referenced by MainFltkMenu::MainFltkMenu. |
|
||||||||||||
|
Definition at line 229 of file MainFltkMenu.C. References VMDApp::scene_stoprotation. |
|
||||||||||||
|
Definition at line 689 of file MainFltkMenu.C. References VMDApp::animation_set_style. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
MENU_ALWAYS_ON,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_SEL,
MENU_NEED_SEL
}Definition at line 444 of file MainFltkMenu.C. |
|
|
Initial value: {
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22
}Definition at line 478 of file MainFltkMenu.C. |
|
|
Initial value: {
MENU_ALWAYS_ON,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_UNIQUE_SEL,
MENU_ALWAYS_ON,
MENU_ALWAYS_ON,
MENU_ALWAYS_ON,
MENU_ALWAYS_ON,
MENU_ALWAYS_ON,
MENU_ALWAYS_ON,
MENU_ALWAYS_ON
}Definition at line 389 of file MainFltkMenu.C. |
|
|
Initial value: {
{"Representations...", 0, menu_cb, (void *)"graphics"},
{"Colors...", 0, menu_cb, (void *)"color"},
{"Materials...", 0, menu_cb, (void *)"material"},
{"Labels...", 0, menu_cb, (void *)"labels", FL_MENU_DIVIDER},
{"Tools...", 0, menu_cb, (void *)"tool"},
{0}
}Definition at line 469 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
{"New Molecule...", 0, loadnew_cb },
{"Load Data Into Molecule...", 0, NULL },
{"Save Coordinates...", 0, NULL , NULL, FL_MENU_DIVIDER},
{"Rename...", 0, mol_rename_cb },
{"Delete Frames...", 0, mol_delete_ts_cb },
{"Abort File I/O", 0, mol_cancel_cb, },
{"Delete Molecule", 0, mol_delete_cb },
{NULL}
}Definition at line 456 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
{"Reset View", '=', resetview_cb},
{"Stop Rotation", 0, stoprotation_cb, NULL, FL_MENU_DIVIDER},
{"Perspective", 0, proj_cb, NULL, FL_MENU_RADIO },
{"Orthographic", 0, proj_cb, NULL, FL_MENU_RADIO | FL_MENU_DIVIDER},
{"Antialiasing", 0, aa_cb, NULL, FL_MENU_TOGGLE | FL_MENU_INACTIVE},
{"Depth Cueing", 0, depthcue_cb, NULL, FL_MENU_TOGGLE | FL_MENU_INACTIVE},
{"FPS Indicator", 0, fps_cb, NULL, FL_MENU_TOGGLE | FL_MENU_DIVIDER},
{"Light 0", 0, light_cb, cbdata+0, FL_MENU_TOGGLE},
{"Light 1", 0, light_cb, cbdata+1, FL_MENU_TOGGLE},
{"Light 2", 0, light_cb, cbdata+2, FL_MENU_TOGGLE},
{"Light 3", 0, light_cb, cbdata+3, FL_MENU_TOGGLE | FL_MENU_DIVIDER},
{"Axes", 0, NULL, NULL, FL_SUBMENU_POINTER},
{"Background", 0, backgroundmode_cb, NULL, FL_SUBMENU_POINTER},
{"Stage", 0, NULL, NULL, FL_SUBMENU_POINTER | FL_MENU_DIVIDER},
{"Stereo", 0, NULL, NULL, FL_SUBMENU_POINTER},
{"Stereo Eye Swap", 0, NULL, NULL, FL_SUBMENU_POINTER | FL_MENU_DIVIDER},
{"Rendermode", 0, NULL, NULL, FL_SUBMENU_POINTER | FL_MENU_DIVIDER},
{"Display Settings...", 0, menu_cb, (void *)"display"},
{0}
}Definition at line 511 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
{"New Molecule...", 0, loadnew_cb},
{"Load Data Into Molecule...", 0, NULL },
{"Save Coordinates...", 0, NULL , NULL, FL_MENU_DIVIDER},
{"Load Visualization State...", 0, loadstate_cb},
{"Save Visualization State...", 0, savestate_cb, NULL, FL_MENU_DIVIDER},
{"Log Tcl Commands to Console", 0, logconsole_cb, NULL},
{"Log Tcl Commands to File...", 0, logfile_cb, NULL},
{"Turn Off Logging", 0, logoff_cb, NULL, FL_MENU_DIVIDER},
{"Render...", 0, render_cb, NULL, FL_MENU_DIVIDER},
{"Quit", 0, quit_cb},
{NULL}
}Definition at line 404 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
{"Quick Help", 0, help_cb, (void*) "quickhelp"},
{"User's Guide", 0, help_cb, (void*) "userguide"},
{"Tutorial", 0, help_cb, (void*) "tutorial", FL_MENU_DIVIDER},
{"Homepage", 0, help_cb, (void*) "homepage"},
{"FAQ", 0, help_cb, (void*) "faq"},
{"Mailing List", 0, help_cb, (void*) "maillist"},
{"Script Library", 0, help_cb, (void*) "scripts"},
{"Plugin Library", 0, help_cb, (void*) "plugins", FL_MENU_DIVIDER},
{"3D Renderers", 0, 0, 0, FL_SUBMENU},
{"POV-Ray", 0, help_cb, (void*) "povray"},
{"Radiance", 0, help_cb, (void*) "radiance"},
{"Raster3D", 0, help_cb, (void*) "raster3D"},
{"Rayshade", 0, help_cb, (void*) "rayshade"},
{"Tachyon", 0, help_cb, (void*) "tachyon"},
{"VRML", 0, help_cb, (void*) "vrml"},
{0},
{"Auxiliary Programs", 0, 0, 0, FL_SUBMENU},
{"BioCoRE", 0, help_cb, (void*) "biocore"},
{"MSMS", 0, help_cb, (void*) "msms"},
{"NanoShaper", 0, help_cb, (void*) "nanoshaper"},
{"NAMD", 0, help_cb, (void*) "namd"},
{"Tcl/Tk", 0, help_cb, (void*) "tcl"},
{"Python", 0, help_cb, (void*) "python"},
{0},
{0}
}Definition at line 581 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
{"Make Top", 0, mol_top_cb, },
{"Toggle Active", 0, mol_active_cb, },
{"Toggle Displayed", 0, mol_displayed_cb, },
{"Toggle Fixed", 0, mol_fixed_cb, NULL, FL_MENU_DIVIDER},
{"Rename...", 0, mol_rename_cb },
{"Delete Frames...", 0, mol_delete_ts_cb },
{"Abort File I/O", 0, mol_cancel_cb, },
{"Delete Molecule", 0, mol_delete_cb },
{NULL}
}Definition at line 431 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Definition at line 545 of file MainFltkMenu.C. Referenced by MainFltkMenu::MainFltkMenu. |
|
|
Initial value: {
MENU_NEED_UNIQUE_SEL,
MENU_NEED_SEL,
MENU_NEED_SEL,
MENU_NEED_SEL,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_UNIQUE_SEL,
MENU_NEED_SEL,
MENU_NEED_SEL
}Definition at line 418 of file MainFltkMenu.C. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002