#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "tcl.h"
#include "MoleculeList.h"
#include "TclCommands.h"
#include "SymbolTable.h"
#include "VMDApp.h"
#include "config.h"
#include "Inform.h"
#include "MolFilePlugin.h"
#include "CommandQueue.h"
#include "Measure.h"
Go to the source code of this file.
Defines | |
#define | ATOMSEL_SET_BAD_DATA(x) |
#define | ATOMSEL_SET_BADDATA2(x) |
#define | CHECK_MATCH(string, val) if(!strcmp(argv[1],string)){option=val;break;} |
Functions | |
Molecule * | find_molecule (Tcl_Interp *interp, MoleculeList *mlist, const char *text) |
int | access_tcl_atomsel (ClientData my_data, Tcl_Interp *interp, int argc, const char *argv[]) |
int | access_tcl_atomsel_obj (ClientData my_data, Tcl_Interp *interp, int argc, Tcl_Obj *const argv[]) |
void | remove_tcl_atomsel (ClientData my_data) |
int | split_tcl_atomsel_info (Tcl_Interp *interp, SymbolTable *parser, const char *opts, int *num, int **mapping) |
int | make_tcl_atomsel (ClientData cd, Tcl_Interp *interp, int argc, const char *argv[]) |
AtomSel * | tcl_commands_get_sel (Tcl_Interp *interp, const char *str) |
int | atomselect_move (Tcl_Interp *interp, AtomSel *sel, const char *mattext) |
int | atomselect_moveby (Tcl_Interp *interp, AtomSel *sel, const char *vectxt) |
int | atomsel_set (ClientData my_data, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
void | Atomsel_Delete (ClientData cd, Tcl_Interp *) |
int | Atomsel_Init (Tcl_Interp *interp) |
|
Value: do { \ char buf[80]; \ sprintf(buf, "atomsel: set: bad data in %dth element", x); \ Tcl_AppendResult(interp, buf, NULL); \ delete [] data; \ delete [] atomon; \ delete [] elems; \ } while (0) Definition at line 403 of file TclCommands.C. Referenced by atomsel_set. |
|
Value: do { \ char buf[80]; \ sprintf(buf, "atomsel: set: bad data in %dth element", x);\ Tcl_AppendResult(interp, buf, NULL); \ delete [] data; \ delete [] atomon; \ delete [] elems; \ } while (0) Definition at line 413 of file TclCommands.C. Referenced by atomsel_set. |
|
Definition at line 722 of file TclCommands.C. Referenced by access_tcl_atomsel. |
|
|
Definition at line 724 of file TclCommands.C. References access_tcl_atomsel, atomsel_set, and NULL. Referenced by make_tcl_atomsel. |
|
Definition at line 1397 of file TclCommands.C. Referenced by Atomsel_Init. |
|
Definition at line 1401 of file TclCommands.C. References Atomsel_Delete, make_tcl_atomsel, NULL, and num. |
|
|
Definition at line 305 of file TclCommands.C. References AtomSel::coordinates, DrawMolecule::force_recalc, Matrix4::mat, mat, measure_error, measure_move, MEASURE_NOERR, MoleculeList::mol_from_id, DrawMolItem::MOL_REGEN, VMDApp::moleculeList, AtomSel::molid, NULL, and tcl_get_matrix. Referenced by access_tcl_atomsel. |
|
Definition at line 346 of file TclCommands.C. References AtomSel::coordinates, AtomSel::firstsel, DrawMolecule::force_recalc, AtomSel::lastsel, MoleculeList::mol_from_id, DrawMolItem::MOL_REGEN, VMDApp::moleculeList, AtomSel::molid, NULL, AtomSel::on, and vec_add. Referenced by access_tcl_atomsel. |
|
Definition at line 47 of file TclCommands.C. References BaseMolecule::id, mol_from_id, NULL, and MoleculeList::top. Referenced by make_tcl_atomsel. |
|
|
Definition at line 1392 of file TclCommands.C. Referenced by make_tcl_atomsel. |
|
Definition at line 82 of file TclCommands.C. References NameList< SymbolTableElement * >::data, SymbolTable::fctns, SymbolTable::find_attribute, SymbolTableElement::is_a, SymbolTableElement::KEYWORD, NULL, num, and SymbolTableElement::SINGLEWORD. Referenced by access_tcl_atomsel. |
|
Definition at line 294 of file TclCommands.C. References NULL. |