Next: graphics
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.
- DETAIL_NONE, DETAIL_POINTS, DETAIL_WIRE, DETAIL_FLAT,
DETAIL_FULL:
String constants defined in the display module for setting
the detail and altdetail methods 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, depthsort, culling.
detail and altdetail should be one of the DETAIL constants defined
in this module. stereo should be one of the values returned by
stereomodes(). projection should be one of the PROJ constants
defined in this module.
Next: graphics
Up: Controlling VMD from Python
Previous: color
  Contents
  Index
vmd@ks.uiuc.edu