Next: evaltcl
Up: Controlling VMD from Python
Previous: color
Contents
Index
display
Python operations available from the display module, used to
control the VMD camera as well as screen updates.
- update():
Force a display update, without checking the VMD FLTK menus
- update_ui():
Update the display as well as any other user interfaces.
- update_on():
Tell VMD to regularly update the display and the FLTK menus
- update_off():
Tell VMD not to regularly update the display. The display will be
updated only when display.update() is called.
- stereomodes():
Returns a list of the available stereo modes.
- PROJ_PERSP, PROJ_ORTHO:
String constants defined in the display module for setting
the projection keyword in the set method.
- set(**keywordlist):
- get(key):
set() and get() control various display properties. The following
keywords accept/return floating-point values: eyesep, focallength, height,
distance, nearclip, farclip. The following keywords accept boolean values for
on or off, respectively: antialias, depthcue, culling.
stereo should be one of the values returned by stereomodes().
projection should be one of the PROJ constants defined in this module.
size should be a list of two integers corresponding to the width and
height of the display in pixels.
Next: evaltcl
Up: Controlling VMD from Python
Previous: color
Contents
Index
vmd@ks.uiuc.edu