00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef TCLCOMMANDS_H
00022 #define TCLCOMMANDS_H
00023
00024 class AtomSel;
00025 class VMDApp;
00026
00027
00028 int Vmd_Init(Tcl_Interp *);
00029
00030
00031 int molecule_tcl(ClientData, Tcl_Interp *interp, int argc, const char *argv[]);
00032
00033
00034 int Vec_Init(Tcl_Interp *);
00035
00036
00037 int Atomsel_Init(Tcl_Interp *);
00038
00039
00040
00041 AtomSel *tcl_commands_get_sel(Tcl_Interp *, const char *str);
00042
00043
00044 int graphics_tcl(ClientData, Tcl_Interp *interp, int argc, const char *argv[]);
00045
00046
00047 int tcl_colorinfo(ClientData, Tcl_Interp *interp, int argc, const char *argv[]);
00048
00049
00050 int obj_measure(ClientData, Tcl_Interp *, int, Tcl_Obj *const []);
00051
00052
00053 int obj_volmap(ClientData, Tcl_Interp *, int, Tcl_Obj *const []);
00054
00055
00056
00057
00058
00059
00060 int tcl_get_matrix(const char *fctn, Tcl_Interp *interp,
00061 Tcl_Obj *s, float *mat);
00062
00065 int tcl_get_weights(Tcl_Interp *interp, VMDApp *app, AtomSel *sel,
00066 Tcl_Obj *weight_obj, float *data);
00067
00068
00069 int tcl_get_vector(const char *s, float *val, Tcl_Interp *interp);
00070
00071
00072 void tcl_append_matrix(Tcl_Interp *interp, const float *mat);
00073
00074 #if defined(VMDTKCON)
00075
00076 int tcl_vmdcon(ClientData nodata, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[]);
00077 #endif
00078
00079 #endif
00080