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

py_vmd.C File Reference

#include "py_commands.h"
#include "vmd.h"
#include "DisplayDevice.h"
#include "UIText.h"
#include <tcl.h>

Go to the source code of this file.

Defines

#define CAST_HACK

Functions

void initvmd ()
PyObject * py_vmdupdate (PyObject *self, PyObject *args)
PyObject * py_vmdexit (PyObject *self, PyObject *args)
PyObject * py_evaltcl (PyObject *self, PyObject *args)
int vmd_input_hook ()

Variables

PyMethodDef VMDAppMethods []
VMDAppthe_app = NULL
PyThreadState * event_tstate = NULL


Define Documentation

#define CAST_HACK
 


Function Documentation

void initvmd  
 

Definition at line 75 of file py_vmd.C.

References event_tstate, get_vmdapp, initanimate, initatomsel, initaxes, initcolor, initdisplay, initgraphics, initimd, initlabel, initmaterial, initmolecule, initmolrep, initmouse, initrender, inittrans, initvmdmenu, initvmdnumpy, set_vmdapp, vmd_input_hook, VMDAppMethods, VMDgetDisplayFrame, VMDApp::VMDinit, VMDinitialize, VMDreadInit, and VMDreadStartup.

Referenced by PythonTextInterp::PythonTextInterp.

PyObject* py_evaltcl PyObject *    self,
PyObject *    args
[static]
 

Definition at line 37 of file py_vmd.C.

References UIText::get_tcl_interp, get_vmdapp, NULL, and VMDApp::uiText.

PyObject* py_vmdexit PyObject *    self,
PyObject *    args
[static]
 

Definition at line 23 of file py_vmd.C.

References get_vmdapp, NULL, and VMDApp::VMDexit.

PyObject* py_vmdupdate PyObject *    self,
PyObject *    args
[static]
 

Definition at line 13 of file py_vmd.C.

References get_vmdapp, and VMDApp::VMDupdate.

int vmd_input_hook   [static]
 

Definition at line 59 of file py_vmd.C.

References event_tstate, and VMDApp::VMDupdate.

Referenced by initvmd.


Variable Documentation

PyThreadState* event_tstate = NULL [static]
 

Definition at line 57 of file py_vmd.C.

Referenced by initvmd, and vmd_input_hook.

VMDApp* the_app = NULL [static]
 

Definition at line 56 of file py_vmd.C.

PyMethodDef VMDAppMethods[] [static]
 

Initial value:

 {
    { (char *)"VMDupdate", py_vmdupdate, METH_VARARGS },
    { (char *)"VMDexit", py_vmdexit, METH_VARARGS },
    { (char *)"VMDevaltcl", py_evaltcl, METH_VARARGS },
    { NULL, NULL }
}

Definition at line 49 of file py_vmd.C.

Referenced by initvmd.


Generated on Sun May 27 01:59:29 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002