#include "py_commands.h"
#include "VMDApp.h"
#include "DisplayDevice.h"
Go to the source code of this file.
Functions | |
PyObject * | py_update (PyObject *self, PyObject *args) |
PyObject * | py_update_ui (PyObject *self, PyObject *args) |
PyObject * | py_update_on (PyObject *self, PyObject *args) |
PyObject * | py_update_off (PyObject *self, PyObject *args) |
PyObject * | py_set (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_get (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_stereomodes (PyObject *self, PyObject *args) |
PyObject * | initdisplay () |
Variables | |
const char | update_doc [] |
const char | update_ui_doc [] |
const char | update_on_doc [] |
const char | update_off_doc [] |
const char | set_doc [] |
char | get_doc [] |
const char | stereomodes_doc [] |
PyMethodDef | DisplayMethods [] |
const char | disp_moddoc [] |
|
Definition at line 402 of file py_display.C. References disp_moddoc, and DisplayMethods. |
|
|
|
Definition at line 345 of file py_display.C. References as_pystring, VMDApp::display, get_vmdapp, NULL, num, DisplayDevice::num_stereo_modes, and DisplayDevice::stereo_name. |
|
Definition at line 27 of file py_display.C. References VMDApp::display_update, get_vmdapp, and NULL. |
|
Definition at line 69 of file py_display.C. References VMDApp::display_update_on, get_vmdapp, and NULL. |
|
Definition at line 55 of file py_display.C. References VMDApp::display_update_on, get_vmdapp, and NULL. |
|
Definition at line 41 of file py_display.C. References VMDApp::display_update_ui, get_vmdapp, and NULL. |
|
Initial value: "Contains methods to set various parameters in the graphical display, as " "well as controlling how the UI and render window are updated" Definition at line 386 of file py_display.C. Referenced by initdisplay. |
|
Initial value: { {"update", (PyCFunction)py_update, METH_NOARGS, update_doc}, {"update_ui", (PyCFunction)py_update_ui, METH_NOARGS, update_ui_doc}, {"update_on", (PyCFunction)py_update_on, METH_NOARGS, update_on_doc}, {"update_off", (PyCFunction)py_update_off, METH_NOARGS, update_off_doc}, {"set", (PyCFunction)py_set, METH_VARARGS | METH_KEYWORDS, set_doc}, {"get", (PyCFunction)py_get, METH_VARARGS | METH_KEYWORDS, get_doc}, {"stereomodes", (PyCFunction)py_stereomodes, METH_NOARGS, stereomodes_doc}, {NULL, NULL} } Definition at line 374 of file py_display.C. Referenced by initdisplay. |
|
Initial value: "Query display properties\n\n" "Args:\n" " query (str): Property to query. See keywords for `display.set()` for a\n" " comprehensive list of properties.\n" "Returns:\n" " (either float, bool, list of 2 ints, or str): Value of queried parameter\n" " with datatype depending on the parameter type. See `display.set()`\n" " for a list of all parameters and types." Definition at line 227 of file py_display.C. |
|
Initial value: "Sets display properties. One or more properties may be set at a time.\n\n" "Args:\n" " eyesep (float): Eye separation\n" " focallength (float): Focal length\n" " height (float): Screen height relative to the camera\n" " distance (float): Screen distance relative to the camera\n" " nearclip (float): Near clipping plane distance\n" " farclip (float): Far clipping plane distance\n" " antialias (bool): If antialiasing is on\n" " depthcueue (bool): If depth cueuing is used\n" " culling (bool): If backface culling is used. Can reduce performance\n" " stereo (bool): If stereo mode is on\n" " projection (str): Projection mode, in [Perspective, Orthographic]\n" " size (list of 2 ints): Display window size, in px\n" " ambientocclusion (bool): If ambient occlusion is used\n" " aoambient (float): Amount of ambient light\n" " aodirect (float): Amount of direct light\n" " shadows (bool): If shadows should be rendered\n" " dof (bool): If depth of field effects should be rendered\n" " dof_fnumber (float): F-number for depth of field effects\n" " dof_focaldist (float): Focal distance for depth of field effects" Definition at line 81 of file py_display.C. |
|
Initial value: "Get available stereo modes\n\n" "Returns:\n" " (list of str): Available modes" Definition at line 341 of file py_display.C. |
|
Initial value: "Force a render window update, without updating FLTK menus" Definition at line 25 of file py_display.C. |
|
Initial value: "Stop updating the display. Updates will only occur when `update()` is called" Definition at line 67 of file py_display.C. |
|
Initial value: "Tell VMD to regularly update display and GUI menus" Definition at line 53 of file py_display.C. |
|
Initial value: "Update the render window and all user interfaces" Definition at line 39 of file py_display.C. |