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

py_trans.C File Reference

#include "py_commands.h"
#include "VMDApp.h"
#include "CommandQueue.h"
#include "MoleculeList.h"
#include "Molecule.h"

Go to the source code of this file.

Functions

PyObject * rotate (PyObject *self, PyObject *args)
PyObject * translate (PyObject *self, PyObject *args)
PyObject * scale (PyObject *self, PyObject *args)
PyObject * get_center (PyObject *self, PyObject *args)
PyObject * get_scale (PyObject *self, PyObject *args)
PyObject * get_trans (PyObject *self, PyObject *args)
PyObject * get_rotation (PyObject *self, PyObject *args)
PyObject * set_center (PyObject *self, PyObject *args)
PyObject * set_scale (PyObject *self, PyObject *args)
PyObject * set_trans (PyObject *self, PyObject *args)
PyObject * set_rotation (PyObject *self, PyObject *args)
PyObject * resetview (PyObject *self, PyObject *args)
PyObject * is_fixed (PyObject *self, PyObject *args)
PyObject * fix (PyObject *self, PyObject *args)
PyObject * is_shown (PyObject *self, PyObject *args)
PyObject * show (PyObject *self, PyObject *args)
void inittrans ()

Variables

PyMethodDef TransMethods []


Function Documentation

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

Definition at line 296 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::molecule_fix, VMDApp::moleculeList, and NULL.

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

Definition at line 73 of file py_trans.C.

References Displayable::centt, get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, and NULL.

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

Definition at line 126 of file py_trans.C.

References get_vmdapp, Matrix4::mat, mat, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, and Displayable::rotm.

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

Definition at line 92 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, and Displayable::scale.

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

Definition at line 107 of file py_trans.C.

References get_vmdapp, Displayable::globt, MoleculeList::mol_from_id, VMDApp::moleculeList, and NULL.

void inittrans  
 

Definition at line 371 of file py_trans.C.

References TransMethods.

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

Definition at line 281 of file py_trans.C.

References Displayable::fixed, get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, and NULL.

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

Definition at line 315 of file py_trans.C.

References Displayable::displayed, get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, and NULL.

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

Definition at line 259 of file py_trans.C.

References get_vmdapp, MoleculeList::make_top, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, VMDApp::scene_resetview, and MoleculeList::top.

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

Definition at line 28 of file py_trans.C.

References get_vmdapp, NULL, and VMDApp::scene_rotate_by.

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

Definition at line 61 of file py_trans.C.

References get_vmdapp, NULL, and VMDApp::scene_scale_by.

Referenced by set_scale.

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

Definition at line 146 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, and Displayable::set_cent_trans.

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

Definition at line 225 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, and Displayable::set_rot.

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

Definition at line 176 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, scale, and Displayable::set_scale.

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

Definition at line 195 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::moleculeList, NULL, and Displayable::set_glob_trans.

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

Definition at line 330 of file py_trans.C.

References get_vmdapp, MoleculeList::mol_from_id, VMDApp::molecule_display, VMDApp::moleculeList, and NULL.

Referenced by FrameSelector::do_dialog, and VMDFltkMenu::do_on.

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

Definition at line 47 of file py_trans.C.

References get_vmdapp, NULL, and VMDApp::scene_translate_by.


Variable Documentation

PyMethodDef TransMethods[] [static]
 

Initial value:

 {
  {(char *)"rotate", (vmdPyMethod)rotate, METH_VARARGS },
  {(char *)"translate", (vmdPyMethod)translate, METH_VARARGS},
  {(char *)"scale", (vmdPyMethod)scale, METH_VARARGS},
  {(char *)"resetview", (vmdPyMethod)resetview, METH_VARARGS},
  {(char *)"get_center", (vmdPyMethod)get_center, METH_VARARGS},
  {(char *)"get_scale", (vmdPyMethod)get_scale, METH_VARARGS},
  {(char *)"get_trans", (vmdPyMethod)get_trans, METH_VARARGS},
  {(char *)"get_rotation", (vmdPyMethod)get_rotation, METH_VARARGS},
  {(char *)"set_center", (vmdPyMethod)set_center, METH_VARARGS},
  {(char *)"set_scale", (vmdPyMethod)set_scale, METH_VARARGS},
  {(char *)"set_trans", (vmdPyMethod)set_trans, METH_VARARGS},
  {(char *)"set_rotation", (vmdPyMethod)set_rotation, METH_VARARGS},
  {(char *)"is_fixed", (vmdPyMethod)is_fixed, METH_VARARGS},
  {(char *)"fix", (vmdPyMethod)fix, METH_VARARGS},
  {(char *)"is_shown", (vmdPyMethod)is_shown, METH_VARARGS},
  {(char *)"show", (vmdPyMethod)show, METH_VARARGS},
  
  {NULL, NULL}
}

Definition at line 348 of file py_trans.C.

Referenced by inittrans.


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