#include <GraphicsFltkMenu.h>
Inheritance diagram for GraphicsFltkMenu:

Public Methods | |
| GraphicsFltkMenu (VMDApp *) | |
| ~GraphicsFltkMenu () | |
| int | selectmol (int molno) |
| This will make the "molno"-th molecule be the selected one in the VMDMenu. The VMDMenu will return TRUE if it has processed this event, and FALSE if it ignores it. The first molecule starts at 0. More... | |
| void | update_molchooser () |
| void | update_repbrowser (bool remember_position=false) |
| void | update_rep () |
| void | update_repindex () |
| void | update_pbc () |
| void | set_pbc (int, int) |
| void | reset_rep () |
| void | update_selection (const char *txt) |
| put the given text into the selection input and perform the callback. If txt is NULL, then restore the last known good selection text. More... | |
| const char * | selectiontext () const |
| int | auto_update () const |
| Returns true if changes to reps should be applied immediately. More... | |
| void | set_autoupdate (int) |
| sets selection autoupdate for the currently highlighted rep. More... | |
| void | set_colorupdate (int) |
| sets color autoupdate for the currently highlighted rep. More... | |
| void | use_colorscale_minmax () |
| Cause the current rep to use the current color scale data range values. More... | |
| void | use_colorscale_auto () |
| Cause the current rep to autoscale its color scale data range. More... | |
| char * | create_repcmd () |
| char * | create_colorcmd () |
| char * | create_selcmd () |
| char * | create_matcmd () |
| char * | create_multiframecmd () |
| void | colindex_visible () |
| void | volindex_visible () |
| void | volindex_update () |
| void | show_repcontrols () |
| void | init_colorchooser () |
| void | init_materialchooser () |
| void | init_stylechooser () |
Public Attributes | |
| VMDApp * | app |
| pointer to parent instance of VMD. More... | |
| int | molindex |
| int | repindex |
| SelectionBuilder * | selbuilder |
| NameList< GraphicsFltkRep * > | repcontrols |
Protected Methods | |
| int | act_on_command (int, Command *) |
| update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F). More... | |
Definition at line 43 of file GraphicsFltkMenu.h.
|
|
|
Definition at line 573 of file GraphicsFltkMenu.C. |
|
||||||||||||
|
|
Returns true if changes to reps should be applied immediately.
Definition at line 577 of file GraphicsFltkMenu.C. |
|
|
Definition at line 1017 of file GraphicsFltkMenu.C. References AtomColor::COLORID. Referenced by update_rep. |
|
|
Definition at line 982 of file GraphicsFltkMenu.C. References AtomColor::COLORID, find_name_string_from_menuname, AtomColor::TOTAL, and AtomColor::VOLUME. |
|
|
Definition at line 1009 of file GraphicsFltkMenu.C. |
|
|
Definition at line 1013 of file GraphicsFltkMenu.C. |
|
|
Definition at line 976 of file GraphicsFltkMenu.C. References NameList< GraphicsFltkRep * >::data, GraphicsFltkRep::repcmd, repcontrols, and NameList< GraphicsFltkRep * >::typecode. |
|
|
Definition at line 1005 of file GraphicsFltkMenu.C. |
|
|
Definition at line 581 of file GraphicsFltkMenu.C. References AtomColor::NAME, set_chooser_from_string, and AtomColor::TOTAL. Referenced by GraphicsFltkMenu. |
|
|
Definition at line 597 of file GraphicsFltkMenu.C. References app, MaterialList::material_name, VMDApp::materialList, and MaterialList::num. Referenced by GraphicsFltkMenu. |
|
|
Definition at line 604 of file GraphicsFltkMenu.C. References show_repcontrols, and AtomRep::TOTAL. Referenced by GraphicsFltkMenu. |
|
|
Definition at line 781 of file GraphicsFltkMenu.C. References NameList< GraphicsFltkRep * >::data, repcontrols, GraphicsFltkRep::reset, and NameList< GraphicsFltkRep * >::typecode. |
|
|
Definition at line 777 of file GraphicsFltkMenu.C. |
|
|
This will make the "molno"-th molecule be the selected one in the VMDMenu. The VMDMenu will return TRUE if it has processed this event, and FALSE if it ignores it. The first molecule starts at 0.
Reimplemented from VMDMenu. Definition at line 1146 of file GraphicsFltkMenu.C. References molindex, and update_molchooser. |
|
|
sets selection autoupdate for the currently highlighted rep.
Definition at line 913 of file GraphicsFltkMenu.C. References app, VMDApp::molecule_id, molindex, VMDApp::molrep_set_selupdate, and repindex. |
|
|
sets color autoupdate for the currently highlighted rep.
Definition at line 920 of file GraphicsFltkMenu.C. References app, VMDApp::molecule_id, molindex, VMDApp::molrep_set_colorupdate, and repindex. |
|
||||||||||||
|
Definition at line 904 of file GraphicsFltkMenu.C. References app, BaseMolecule::id, MoleculeList::molecule, VMDApp::moleculeList, molindex, VMDApp::molrep_set_pbc, VMDApp::molrep_set_pbc_images, and repindex. |
|
|
Definition at line 966 of file GraphicsFltkMenu.C. References NameList< GraphicsFltkRep * >::data, NameList< GraphicsFltkRep * >::num, repcontrols, and NameList< GraphicsFltkRep * >::typecode. Referenced by init_stylechooser, and update_rep. |
|
|
|
Definition at line 893 of file GraphicsFltkMenu.C. References app, DrawMolecule::component, DrawMolItem::get_pbc, DrawMolItem::get_pbc_images, MoleculeList::molecule, VMDApp::moleculeList, molindex, repindex, and PBCControls::update. Referenced by act_on_command, and update_rep. |
|
|
|
Definition at line 816 of file GraphicsFltkMenu.C. References add_rep_to_browser, app, DrawMolecule::component, DrawMolecule::components, MoleculeList::molecule, VMDApp::moleculeList, molindex, repindex, and update_rep. Referenced by act_on_command, and update_molchooser. |
|
|
Definition at line 927 of file GraphicsFltkMenu.C. References app, ResizeArray< int >::append, DrawMolecule::components, MoleculeList::molecule, VMDApp::moleculeList, molindex, ResizeArray< int >::num, and repindex. Referenced by act_on_command, and update_molchooser. |
|
|
put the given text into the selection input and perform the callback. If txt is NULL, then restore the last known good selection text.
Definition at line 762 of file GraphicsFltkMenu.C. References app, VMDApp::molecule_id, molindex, VMDApp::molrep_get_selection, and repindex. |
|
|
Cause the current rep to autoscale its color scale data range.
Definition at line 745 of file GraphicsFltkMenu.C. References app, VMDApp::molecule_id, molindex, VMDApp::molrep_get_scaleminmax, VMDApp::molrep_reset_scaleminmax, and repindex. Referenced by colorscale_auto_cb. |
|
|
Cause the current rep to use the current color scale data range values.
Definition at line 733 of file GraphicsFltkMenu.C. References app, VMDApp::molecule_id, molindex, VMDApp::molrep_set_scaleminmax, and repindex. Referenced by colorscale_minmax_cb. |
|
|
Definition at line 1039 of file GraphicsFltkMenu.C. References app, data, BaseMolecule::get_volume_data, MoleculeList::molecule, VMDApp::moleculeList, molindex, VolumetricData::name, and BaseMolecule::num_volume_data. Referenced by update_molchooser. |
|
|
Definition at line 1028 of file GraphicsFltkMenu.C. References AtomColor::VOLUME. Referenced by update_rep. |
|
|
pointer to parent instance of VMD.
Reimplemented from UIObject. Definition at line 51 of file GraphicsFltkMenu.h. Referenced by act_on_command, GraphicsFltkMenu, init_materialchooser, set_autoupdate, set_colorupdate, set_pbc, update_molchooser, update_pbc, update_rep, update_repbrowser, update_repindex, update_selection, use_colorscale_auto, use_colorscale_minmax, and volindex_update. |
|
|
Definition at line 52 of file GraphicsFltkMenu.h. Referenced by act_on_command, GraphicsFltkMenu, myBrowser::handle, selectmol, set_autoupdate, set_colorupdate, set_pbc, update_molchooser, update_pbc, update_rep, update_repbrowser, update_repindex, update_selection, use_colorscale_auto, use_colorscale_minmax, and volindex_update. |
|
|
Definition at line 119 of file GraphicsFltkMenu.h. Referenced by create_repcmd, GraphicsFltkMenu, reset_rep, show_repcontrols, update_molchooser, and update_rep. |
|
|
Definition at line 53 of file GraphicsFltkMenu.h. Referenced by act_on_command, GraphicsFltkMenu, set_autoupdate, set_colorupdate, set_pbc, update_pbc, update_rep, update_repbrowser, update_repindex, update_selection, use_colorscale_auto, and use_colorscale_minmax. |
|
|
Definition at line 100 of file GraphicsFltkMenu.h. Referenced by act_on_command, GraphicsFltkMenu, update_molchooser, and update_rep. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002