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

py_commands.h File Reference

#include "Python.h"

Go to the source code of this file.

Compounds

struct  _py3_inittab

Defines

#define CAST_HACK

Functions

VMDAppget_vmdapp ()
void set_vmdapp (VMDApp *)
int py_array_from_obj (PyObject *obj, float *arr)
const char * as_constcharptr (PyObject *target)
PyObject * as_pystring (const char *target)
int is_pystring (const PyObject *target)
PyObject * as_pyint (int target)
int as_int (PyObject *target)
int is_pyint (PyObject *target)
int valid_molid (int molid, VMDApp *app)
int py_get_vector (PyObject *matobj, int n, float *vec)
int convert_bool (PyObject *obj, void *boolval)
Timestepparse_timestep (VMDApp *app, int molid, int frame)
AtomSelatomsel_AsAtomSel (PyObject *obj)
void initvmd ()
PyObject * initanimate ()
PyObject * initatomsel ()
PyObject * initselection ()
PyObject * initaxes ()
PyObject * initcolor ()
PyObject * initdisplay ()
PyObject * initgraphics ()
PyObject * initimd ()
PyObject * initlabel ()
PyObject * initmaterial ()
PyObject * initmolecule ()
PyObject * initmolrep ()
PyObject * initmouse ()
PyObject * initrender ()
PyObject * inittrans ()
PyObject * initvmdmenu ()
PyObject * initvmdcallbacks ()
PyObject * initmeasure ()
PyObject * inittopology ()
PyObject * initvmdnumpy ()

Variables

PyTypeObject Atomsel_Type
_py3_inittab py_initializers []


Define Documentation

#define CAST_HACK
 

Definition at line 29 of file py_commands.h.

Referenced by initvmd, and PythonTextInterp::PythonTextInterp.


Function Documentation

const char* as_constcharptr PyObject *    target
 

Definition at line 107 of file py_commands.C.

References _py3_inittab::name.

Referenced by atomsel_get, atomsel_setattro, help_constcharptr, py_color, py_delete, py_set_colormap, and py_set_colors.

int as_int PyObject *    target
 

Definition at line 184 of file py_commands.C.

Referenced by dict2geom, help_int, py_color, py_delete, py_imdkeep, py_imdtransfer, py_label_add, py_mol_read, py_set, setbonds, setframe, and topo_get_bond.

PyObject* as_pyint int    target
 

Definition at line 162 of file py_commands.C.

Referenced by atomsel_get, contacts, geom2dict, getbonds, getframe, getmolid, iter_len, iter_next, py_addrep, py_cone, py_cylinder, py_get_frame, py_get_smoothing, py_get_top, py_hbonds, py_imdkeep, py_imdtransfer, py_line, py_listall, py_mol_exists, py_mol_fromsel, py_mol_get_volumetric, py_mol_listall, py_mol_load, py_mol_new, py_mol_num, py_mol_num_volumetric, py_mol_numatoms, py_mol_read, py_mol_write, py_molrep_num, py_numframes, py_point, py_repindex, py_scale_posterize, py_scale_reverse, py_skip, py_sphere, py_text, py_triangle, py_trinorm, py_vmdupdate, topo_add_angle, topo_add_dihed, topo_add_improp, topo_del_all_angles, topo_del_all_bonds, topo_del_all_dihed, and topo_del_all_impropers.

PyObject* as_pystring const char *    target
 

Definition at line 125 of file py_commands.C.

Referenced by atomsel_get, atomsel_repr, atomsel_str, py_add, py_allmacros, py_categories, py_evaltcl, py_get, py_get_accessions, py_get_color, py_get_colormap, py_get_databases, py_get_filenames, py_get_filetypes, py_get_location, py_get_material, py_get_remarks, py_get_repname, py_get_selection, py_get_style, py_getmacro, py_info, py_list_attrs, py_listall, py_mol_name, py_scale_method, py_scale_methods, py_stereomodes, py_style, PythonTextInterp::PythonTextInterp, topo_angletypes, topo_bondtypes, topo_dihetypes, and topo_imptypes.

AtomSel* atomsel_AsAtomSel PyObject *    obj
 

Definition at line 46 of file py_atomsel.C.

References n.

Referenced by py_mol_fromsel, and py_mol_write.

int convert_bool PyObject *    obj,
void *    boolval
 

Definition at line 380 of file py_commands.C.

VMDApp* get_vmdapp  
 

Definition at line 224 of file py_commands.C.

PyObject* initanimate  
 

Definition at line 339 of file py_animate.C.

PyObject* initatomsel  
 

Definition at line 2335 of file py_atomsel.C.

PyObject* initaxes  
 

Definition at line 90 of file py_axes.C.

PyObject* initcolor  
 

Definition at line 571 of file py_color.C.

PyObject* initdisplay  
 

Definition at line 402 of file py_display.C.

PyObject* initgraphics  
 

Definition at line 656 of file py_graphics.C.

PyObject* initimd  
 

Definition at line 275 of file py_imd.C.

PyObject* initlabel  
 

Definition at line 551 of file py_label.C.

PyObject* initmaterial  
 

Definition at line 366 of file py_material.C.

PyObject* initmeasure  
 

Definition at line 287 of file py_measure.C.

PyObject* initmolecule  
 

Definition at line 1618 of file py_molecule.C.

PyObject* initmolrep  
 

Definition at line 771 of file py_molrep.C.

PyObject* initmouse  
 

Definition at line 78 of file py_mouse.C.

PyObject* initrender  
 

Definition at line 110 of file py_render.C.

PyObject* initselection  
 

Definition at line 213 of file py_selection.C.

PyObject* inittopology  
 

Definition at line 1228 of file py_topo.C.

PyObject* inittrans  
 

Definition at line 660 of file py_trans.C.

void initvmd  
 

Definition at line 133 of file py_vmd.C.

PyObject* initvmdcallbacks  
 

Definition at line 139 of file PythonTextInterp.C.

PyObject* initvmdmenu  
 

Definition at line 196 of file py_menu.C.

PyObject* initvmdnumpy  
 

Definition at line 200 of file py_numeric.C.

int is_pyint PyObject *    target
 

Definition at line 202 of file py_commands.C.

Referenced by as_int, py_color, py_delete, and topo_get_bond.

int is_pystring const PyObject *    target
 

Definition at line 152 of file py_commands.C.

Referenced by build_set_values, py_color, py_delete, and py_set.

Timestep* parse_timestep VMDApp   app,
int    molid,
int    frame
 

Definition at line 302 of file py_commands.C.

Referenced by py_get_periodic, py_get_physical_time, py_set_periodic, py_set_physical_time, py_timestep, and py_velocities.

int py_array_from_obj PyObject *    obj,
float *    arr
 

Definition at line 274 of file py_commands.C.

Referenced by py_cone, py_cylinder, py_line, py_point, py_sphere, py_text, py_triangle, and py_trinorm.

int py_get_vector PyObject *    matobj,
int    n,
float *    vec
 

Definition at line 344 of file py_commands.C.

Referenced by py_move.

void set_vmdapp VMDApp  
 

Definition at line 260 of file py_commands.C.

Referenced by initvmd, and PythonTextInterp::PythonTextInterp.

int valid_molid int    molid,
VMDApp   app
 

Definition at line 334 of file py_commands.C.

Referenced by atomsel_new, py_addrep, py_atomselect, py_delframe, py_delrep, py_dupframe, py_get_accessions, py_get_autoupdate, py_get_color, py_get_colorupdate, py_get_databases, py_get_filenames, py_get_filetypes, py_get_frame, py_get_material, py_get_periodic, py_get_physical_time, py_get_remarks, py_get_repname, py_get_scaleminmax, py_get_selection, py_get_smoothing, py_get_style, py_get_visible, py_modrep, py_mol_add_volumetric, py_mol_cancel, py_mol_del_volumetric, py_mol_delete, py_mol_get_volumetric, py_mol_name, py_mol_num_volumetric, py_mol_numatoms, py_mol_rename, py_mol_ssrecalc, py_mol_write, py_molrep_num, py_numframes, py_repindex, py_reset_scaleminmax, py_set_autoupdate, py_set_colorupdate, py_set_frame, py_set_periodic, py_set_physical_time, py_set_scaleminmax, py_set_smoothing, py_set_top, py_set_visible, py_timestep, and py_velocities.


Variable Documentation

PyTypeObject Atomsel_Type
 

Definition at line 71 of file py_commands.h.

_py3_inittab py_initializers[]
 

Definition at line 111 of file py_commands.h.


Generated on Tue Apr 23 04:24:40 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002