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

VMDApp * get_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)
Timestep * parse_timestep (VMDApp *app, int molid, int frame)
AtomSel * atomsel_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 )

int as_int ( PyObject * target )

PyObject* as_pyint ( int target )

PyObject* as_pystring ( const char * target )

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 2424 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 336 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
)

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
)

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 Nov 18 02:48:40 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /