#include <tcl.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "TclCommands.h"
#include "Matrix4.h"
#include "utilities.h"
Go to the source code of this file.
Functions | |
int | obj_vecadd (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_vecsub (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_vecscale (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | tcl_get_matrix (const char *fctn, Tcl_Interp *interp, Tcl_Obj *s, float *mat) |
Given a string with a matrix in it, return the matrix. More... | |
int | tcl_get_vector (const char *s, float *val, Tcl_Interp *interp) |
int | tcl_get_vecarray (const char *s, int &num, float *&val, Tcl_Interp *interp) |
int | tcl_get_array (const char *s, int &num, float *&val, Tcl_Interp *interp) |
int | tcl_get_intarray (const char *s, int &num, int *&val, Tcl_Interp *interp) |
void | tcl_append_matrix (Tcl_Interp *interp, const float *mat) |
int | obj_vectrans (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_transmult (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_transvec (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_transvecinv (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_transabout (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_veclength (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
double * | obj_getdoublearray (Tcl_Interp *interp, Tcl_Obj *const objv[], int *len) |
int | obj_vecsum (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_vecmean (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | obj_vecstddev (ClientData, Tcl_Interp *interp, int argc, Tcl_Obj *const objv[]) |
int | Vec_Init (Tcl_Interp *interp) |
|
Definition at line 606 of file TclVec.C. References data, NULL, and num. Referenced by obj_vecmean, obj_vecstddev, and obj_vecsum. |
|
Definition at line 517 of file TclVec.C. References data, DEGTORAD, Matrix4::mat, mat, NULL, num, Matrix4::rotate_axis, tcl_append_matrix, VMD_PI, and z. Referenced by Vec_Init. |
|
Definition at line 420 of file TclVec.C. References tcl_append_matrix, and tcl_get_matrix. Referenced by Vec_Init. |
|
Definition at line 456 of file TclVec.C. References data, Matrix4::mat, mat, NULL, num, tcl_append_matrix, Matrix4::transvec, and z. Referenced by Vec_Init. |
|
Definition at line 484 of file TclVec.C. References data, Matrix4::mat, mat, NULL, num, tcl_append_matrix, Matrix4::transvecinv, and z. Referenced by Vec_Init. |
|
Definition at line 39 of file TclVec.C. References data, NULL, and num. Referenced by Vec_Init. |
|
Definition at line 576 of file TclVec.C. References data, length, and num. Referenced by Vec_Init. |
|
Definition at line 656 of file TclVec.C. References NULL, num, and obj_getdoublearray. Referenced by Vec_Init. |
|
Definition at line 134 of file TclVec.C. Referenced by Vec_Init. |
|
Definition at line 680 of file TclVec.C. References NULL, num, and obj_getdoublearray. Referenced by Vec_Init. |
|
Definition at line 95 of file TclVec.C. References NULL. Referenced by Vec_Init. |
|
Definition at line 633 of file TclVec.C. References NULL, num, and obj_getdoublearray. Referenced by Vec_Init. |
|
Definition at line 358 of file TclVec.C. References mat, NULL, and tcl_get_matrix. Referenced by Vec_Init. |
|
Definition at line 343 of file TclVec.C. Referenced by obj_transabout, obj_transmult, obj_transvec, obj_transvecinv, vmd_measure_fit, and vmd_measure_inverse. |
|
Definition at line 292 of file TclVec.C. Referenced by tcl_graphics_spheretube. |
|
Definition at line 317 of file TclVec.C. Referenced by tcl_graphics_spheretube. |
|
Given a string with a matrix in it, return the matrix.
Definition at line 192 of file TclVec.C. Referenced by atomselect_move, density_move, obj_transmult, obj_vectrans, text_cmd_mol, vmd_measure_inverse, vmd_measure_pbc_neighbors, vmd_measure_trans_overlap, and vmd_volmap_ils. |
|
Definition at line 267 of file TclVec.C. References NULL, num, and tcl_get_vector. Referenced by tcl_graphics_spheretube. |
|
Definition at line 240 of file TclVec.C. References num. Referenced by tcl_get_vecarray, tcl_graphics_cone, tcl_graphics_cylinder, tcl_graphics_line, tcl_graphics_pickpoint, tcl_graphics_point, tcl_graphics_sphere, tcl_graphics_text, tcl_graphics_triangle, tcl_graphics_tricolor, tcl_graphics_trinorm, text_cmd_color, text_cmd_display, text_cmd_light, text_cmd_mol, text_cmd_point_light, and vmd_measure_symmetry. |
|
Definition at line 712 of file TclVec.C. References NULL, obj_transabout, obj_transmult, obj_transvec, obj_transvecinv, obj_vecadd, obj_veclength, obj_vecmean, obj_vecscale, obj_vecstddev, obj_vecsub, obj_vecsum, and obj_vectrans. |