Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SelectionBuilder Class Reference

Fl_Group subclass implementing a set of controls for browsing atom data fields, editing atom selection macros, and GUI-based atom selection construction. More...

#include <SelectionBuilder.h>

List of all members.

Public Methods

 SelectionBuilder (int, int, GraphicsFltkMenu *, Fl_Input *, SymbolTable *)
void use_molecule (Molecule *)
void set_selection (const char *)
void update_selection ()
void update_macrobrowser ()
 The macro browser will contain all the valid singleword items, even those that aren't defined as macros, like 'water'. We can determine which singlewords are macros by calling SymbolTable::get_custom_singleword() on the name. For now, it is possible to add macros only from the command line, mainly because we have no way of saving them. At some point it would be desirable to be able to add, modify, and remove macros from this GUI. More...


Detailed Description

Fl_Group subclass implementing a set of controls for browsing atom data fields, editing atom selection macros, and GUI-based atom selection construction.

Definition at line 38 of file SelectionBuilder.h.


Constructor & Destructor Documentation

SelectionBuilder::SelectionBuilder int   ,
int   ,
GraphicsFltkMenu  ,
Fl_Input *   ,
SymbolTable  
 

Definition at line 60 of file SelectionBuilder.C.

References NameList< SymbolTableElement * >::data, SymbolTable::fctns, SymbolTableElement::is_a, SymbolTableElement::KEYWORD, NameList< SymbolTableElement * >::name, NULL, NameList< SymbolTableElement * >::num, VMDMENU_BROWSER_BG, VMDMENU_BROWSER_SEL, and VMDMENU_VALUE_SEL.


Member Function Documentation

void SelectionBuilder::set_selection const char *   
 

Definition at line 353 of file SelectionBuilder.C.

Referenced by GraphicsFltkMenu::update_rep.

void SelectionBuilder::update_macrobrowser  
 

The macro browser will contain all the valid singleword items, even those that aren't defined as macros, like 'water'. We can determine which singlewords are macros by calling SymbolTable::get_custom_singleword() on the name. For now, it is possible to add macros only from the command line, mainly because we have no way of saving them. At some point it would be desirable to be able to add, modify, and remove macros from this GUI.

Definition at line 126 of file SelectionBuilder.C.

References NameList< SymbolTableElement * >::data, SymbolTable::fctns, SymbolTable::get_custom_singleword, SymbolTableElement::is_a, NameList< SymbolTableElement * >::name, NameList< SymbolTableElement * >::num, and SymbolTableElement::SINGLEWORD.

Referenced by GraphicsFltkMenu::act_on_command, and GraphicsFltkMenu::GraphicsFltkMenu.

void SelectionBuilder::update_selection  
 

void SelectionBuilder::use_molecule Molecule  
 

Definition at line 348 of file SelectionBuilder.C.

Referenced by GraphicsFltkMenu::update_molchooser.


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 02:47:21 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002