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

py_display.C File Reference

#include "py_commands.h"
#include "VMDApp.h"
#include "DisplayDevice.h"

Go to the source code of this file.

Functions

PyObject * update (PyObject *self, PyObject *args)
PyObject * update_ui (PyObject *self, PyObject *args)
PyObject * update_on (PyObject *self, PyObject *args)
PyObject * update_off (PyObject *self, PyObject *args)
PyObject * set (PyObject *self, PyObject *args, PyObject *keywds)
PyObject * get (PyObject *self, PyObject *args)
PyObject * stereomodes (PyObject *self, PyObject *args)
void initdisplay ()

Variables

char * kwlist []
const int num_keys = 12
char * get_kwlist []
const int num_get_keys = 12
PyMethodDef DisplayMethods []


Function Documentation

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

Definition at line 149 of file py_display.C.

References DisplayDevice::aa_enabled, DisplayDevice::cueing_enabled, DisplayDevice::culling_enabled, VMDApp::display, VMDApp::display_get_size, DisplayDevice::distance_to_screen, DisplayDevice::eye_dist, DisplayDevice::eyesep, DisplayDevice::far_clip, get_kwlist, DisplayDevice::get_projection, get_vmdapp, DisplayDevice::near_clip, NULL, num_get_keys, DisplayDevice::screen_height, DisplayDevice::stereo_mode, and DisplayDevice::stereo_name.

void initdisplay  
 

Definition at line 212 of file py_display.C.

References DisplayMethods.

PyObject* set PyObject *    self,
PyObject *    args,
PyObject *    keywds
[static]
 

Definition at line 84 of file py_display.C.

References VMDApp::display_set_aa, VMDApp::display_set_culling, VMDApp::display_set_depthcue, VMDApp::display_set_eyesep, VMDApp::display_set_farclip, VMDApp::display_set_focallen, VMDApp::display_set_nearclip, VMDApp::display_set_projection, VMDApp::display_set_screen_distance, VMDApp::display_set_screen_height, VMDApp::display_set_size, VMDApp::display_set_stereo, get_vmdapp, kwlist, NULL, and num_keys.

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

Definition at line 189 of file py_display.C.

References VMDApp::display, get_vmdapp, NULL, num, DisplayDevice::num_stereo_modes, and DisplayDevice::stereo_name.

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

Definition at line 27 of file py_display.C.

References VMDApp::display_update, get_vmdapp, and NULL.

Referenced by Tool::check_event.

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

Definition at line 64 of file py_display.C.

References VMDApp::display_update_on, get_vmdapp, and NULL.

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

Definition at line 52 of file py_display.C.

References VMDApp::display_update_on, get_vmdapp, and NULL.

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

Definition at line 40 of file py_display.C.

References VMDApp::display_update_ui, get_vmdapp, and NULL.


Variable Documentation

PyMethodDef DisplayMethods[] [static]
 

Initial value:

 {
  {(char *)"update", (vmdPyMethod)update, METH_VARARGS },
  {(char *)"update_ui", (vmdPyMethod)update_ui, METH_VARARGS },
  {(char *)"update_on", (vmdPyMethod)update_on, METH_VARARGS },
  {(char *)"update_off", (vmdPyMethod)update_off, METH_VARARGS },
  {(char *)"set", (PyCFunction)set, METH_VARARGS | METH_KEYWORDS},
  {(char *)"get", (vmdPyMethod)get, METH_VARARGS},
  {(char *)"stereomodes", (vmdPyMethod)stereomodes, METH_VARARGS},
  {NULL, NULL}
}

Definition at line 201 of file py_display.C.

Referenced by initdisplay.

char* get_kwlist[] [static]
 

Initial value:

 {
  (char *)"eyesep", (char *)"focallength", (char *)"height", 
  (char *)"distance", (char *)"nearclip", (char *)"farclip",
  (char *)"antialias", (char *)"depthcue",
  (char *)"culling",
  (char *)"stereo", (char *)"projection", (char *)"size"
}

Definition at line 138 of file py_display.C.

Referenced by get.

char* kwlist[] [static]
 

Initial value:

 {
  (char *)"eyesep", (char *)"focallength", (char *)"height", 
  (char *)"distance", (char *)"nearclip", (char *)"farclip",
  (char *)"antialias", (char *)"depthcue", (char *)"culling", 
  (char *)"stereo", (char *)"projection", (char *)"size", 
  NULL }

Definition at line 75 of file py_display.C.

Referenced by set.

const int num_get_keys = 12 [static]
 

Definition at line 146 of file py_display.C.

Referenced by get.

const int num_keys = 12 [static]
 

Definition at line 81 of file py_display.C.

Referenced by set.


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